Wireless comms using two, cheap Bluetooth modules is easy and stable
See video in my YouTube channel https://www.youtube.com/ralphbacon
Direct link to video: https://youtu.be/U8ogrhu3qWo
JLCPCB Only $2 for PCB Prototype and Assembly any colour https://jlcpcb.com/
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.
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.
Martyn Currey's website
http://www.martyncurrey.com/connecting-2-arduinos-by-bluetooth-using-a-hc-05-and-a-hc-06-pair-bind-and-link/
Guide to all AT commands
https://www.itead.cc/wiki/Serial_Port_Bluetooth_Module_(Master/Slave)_:_HC-05
Full list of AT commands and ERROR CODES
http://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-at-mode/
Single HC-05 Wireless Bluetooth Serial Transceiver Module (UK, USA and China warehouses)
https://www.banggood.com/HC-05-Wireless-Bluetooth-Serial-Transceiver-Module-Slave-And-Master-p-908621.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
3Pcs HC-05 Wireless Bluetooth Serial Transceiver Module (China, USA and UK warehouses)
https://www.banggood.com/3Pcs-HC-05-Wireless-bluetooth-Serial-Transceiver-Module-p-1011725.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
CP2102 USB To TTL/Serial Module (This has 3V and 5V) $2.99 + shipping (same as mine)
https://www.banggood.com/CP2102-USB-To-TTLSerial-Module-Downloader-p-970993.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
3Pcs FT232RL FTDI USB To TTL Serial Converter Adapter Module (from China, USA and UK)
https://www.banggood.com/3Pcs-FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-p-959210.html?p=FQ040729393382015118&utm_campaign=25129675&utm_content=3897
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
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