RN4870 Bluetooth Low Energy Module

Beginner project with RN4870U BLE Module

Similar projects worth following
This BLE beginner project will revolve around the RN4870 module from Microchip.

Some topics to explore:
Designing a proper antenna, sending data to my phone or vice versa, connecting the module to other devices, running it stand-alone via scripts, getting a better idea what BLE actually is, etc...

After I've gotten a better grasp of how it all works, a next step would be to conceive a more comprehensive project, i.e. application (if it's worthwhile).


First tries with the RN4870U variant. Soldering can be tricky. So either using some sort of adaptor (I am not aware about existing adaptors for the RN4870 actually), or soldering very carefully with fine wire and a fine soldering tip.

Here soldered/connected:

  • Pin 1 - GND (from MCU)
  • Pin 2 - VBAT (3.3V) (from MCU)
  • Pin 20 - UART_TX (to UART_RX MCU)
  • Pin 21 - UART_RX (to UART_TX MCU)
  • Pin 28 - P0_2/LED (to 100+240 Ohm resistors and red LED)
  • Pin 30 - makeshift antenna

Baud rate e.g. 115200 (default); UART settings documented in the User's Guide, chapter 1.4.

BLE Scanner App

After the hardware has been set up the device and the peculiar BLE hierarchy should appear in the BLE Scanner App.

Screenshot on the right shows an already implemented private service UUID, beside the Transparent UART Service UUID.

Software implementation

It is basic ASCII command communication with a device capable of communicating on the serial port (e.g. Raspberry Pi), so I won't bother writing much about it.

E.g. in command mode (instigated with string "$$$") I can send "GNR\r" (or "GNR\r\n", doesn't matter) to the module, i.e. getting the name of the connected peer device. "V\r" would fetch the firmware version. 

For my first tries I've been using an LCD to see responses that the BLE module sends back, and whether the data is plausible to begin with. 

Adobe Portable Document Format - 1.70 MB - 01/20/2023 at 06:00


Adobe Portable Document Format - 2.32 MB - 01/20/2023 at 06:00


View all 2 project logs

Enjoy this project?



Similar Projects

Does this project spark your interest?

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