AMB23 board emulates an HID mouse connected using BLE.

Similar projects worth following
BLE connections use a server client model. The server contains the data of interest, while the client connects to the server to read the data. Commonly, a Bluetooth peripheral device acts as a server, while a Bluetooth central device acts as a client. Servers can contain many services, with each service containing a some set of data. Clients can send requests to read or write some data and can also subscribe to notifications so that the server can send data updates to a client.

Ameba is a low-power dual-band WLAN and Bluetooth Low Energy SoC by Realtek. The AMB23 (RTL8722DM_MINI) also include memory for Wi-Fi protocol functions and application making it simple for anyone to develop various kind of IoT applications. At the same time it has a wide range of peripheral interfaces. With all these interfaces, it can connect to most of the electronics components like LEDs, temperature and humidity sensors, and so on.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

Ameba Official Website: 

Ameba Facebook Group: 

Ameba Forum:

  • 1 × AMB23
  • 1 × BLE capable host device

  • 1
    Set Up

    Open the example, “Files” -> “Examples” -> “AmebaBLE” -> “BLEHIDMouse”.


  • 2

    Upload the code and press the reset button once the upload is finished.
    Immediately after reset, the board will begin BLE advertising as “AMEBA_BLE_HID”. On your host device, go to the Bluetooth settings menu, scan, and connect to the board.
    You should ensure that the connection process is completed before proceeding.
    On Windows, ensure that any driver installation is finished, and the board shows up in the Bluetooth menu under the “Mouse, keyboard & pen” category.

    2On Android, ensure that “Input device” is enabled for the board.


  • 3
    Final Result

    After the Bluetooth connection process is completed, the board is ready to send mouse input to the host device. Connect digital pin 8 to 3.3V to start sending input, and connect to GND to stop.
    You should see the mouse cursor move around four points in a square, performing right and left clicks, and scrolling up and down.

View all 3 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates