Рет қаралды 17,555
As part of a bigger project I need one-way comms between two Arduinos, as if they were connected together via the RX and TX pins. If required, it also supports two-way, wireless comms.
JLCPCB Only $2 for PCB Prototype and Assembly any colour jlcpcb.com/
Here I show you the basics of doing that but more importantly I go through Martyn Currey's instructions on how to pair two Bluetooth devices (eg an HC05 and HC06 or just two HC05s) so that they will only connect to each other (automatically) upon power up.
Note that you can't use two HC06s because an HC06 cannot act as an initiator, only a responder.
A complete list of the commands you need for both Initiator and Responder are included in my GitHub to save you the bother of finding each command. You also can find the sketches and anything else that I found pertinent to this topic.
github.com/Ral...
INFORMATION
Martyn Currey's website
www.martyncurre...
Guide to all AT commands
www.itead.cc/w...
Full list of AT commands and ERROR CODES
www.martyncurre...
HARDWARE COMPONENTS
Single HC-05 Wireless Bluetooth Serial Transceiver Module (UK, USA and China warehouses)
www.banggood.c...
3Pcs HC-05 Wireless Bluetooth Serial Transceiver Module (China, USA and UK warehouses)
www.banggood.c...
List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
bit.ly/KZfaqV...
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
/ ralphbacon
ralphbacon.blog
github.com/Ral...
------------------------------------------------------------------