Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
NataliaaaaaaaaAbraham Contreras
Published

RN4871 BLE Module Remote Mode

BLE modules communicate with each other without a host MCU, accessing GPIOs remotely.

BeginnerProtip2 hours974

Things used in this project

Hardware components

JLCPCB Customized PCB
JLCPCB Customized PCB
×2
RN4871 BLE modules
×2
USB to Serial converter 3.3V
×1
LED (generic)
LED (generic)
×1
Resistor 220 ohm
Resistor 220 ohm
×1

Story

Read more

Schematics

Connections

Code

ASCII commands

AsciiDoc
$$$  //No line ending
+   //Enables or disables echo
D  //Dumps information: address, connection, authentication, etc
SP, 123456 //Set pin on both devices 6 digit
F //to scan BLE, check the address of the RN4871
C,0, address //Connect to device, from either module
1,! //From local device to access the remote device
|O,10,10 //From local device, this will set P1_3 on remote device
|O,10,00 //From local device, this will clear P1_3 on remote device

Credits

Nataliaaaaaaaa
32 projects • 47 followers
i like cute electronic projects.
Contact
Abraham Contreras
22 projects • 26 followers
Applications engineer and model scale maker
Contact

Comments

Please log in or sign up to comment.