#196 Two-Way Bluetooth Serial Comms for Arduino and other µControllers
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 https://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.
https://github.com/RalphBacon/196-Bluetooth-Serial-Comms-for-Arduino
### INFORMATION
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/
### HARDWARE COMPONENTS
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
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
### List of all my videos
(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
My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------
Видео #196 Two-Way Bluetooth Serial Comms for Arduino and other µControllers канала Ralph S Bacon
JLCPCB Only $2 for PCB Prototype and Assembly any colour https://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.
https://github.com/RalphBacon/196-Bluetooth-Serial-Comms-for-Arduino
### INFORMATION
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/
### HARDWARE COMPONENTS
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
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
### List of all my videos
(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
My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------
Видео #196 Two-Way Bluetooth Serial Comms for Arduino and other µControllers канала Ralph S Bacon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![#148 TCA9548A I2C MULTIPLEXER (& Voltage Shifter)](https://i.ytimg.com/vi/LowMKYcBxNg/default.jpg)
![#36 Control your Arduino from your phone - HC06 Bluetooth module](https://i.ytimg.com/vi/7XdSGU_W4ho/default.jpg)
![#151 - ESP32 Passing Values 💾 Between Tasks - Deep Dive (2 Easy Ways)](https://i.ytimg.com/vi/ywbq1qR-fY0/default.jpg)
![#207 ESP32 Revisited! ESP32 Rev 1 and ESP32-WROVER - problem solved? ❓](https://i.ytimg.com/vi/3ihWQGeflmM/default.jpg)
![#BB4 MOSFETs - From an Arduino Perspective](https://i.ytimg.com/vi/5FHLWGZ_FUQ/default.jpg)
![#220 PICO and PIO: First Look - far easier than you might 💭 think](https://i.ytimg.com/vi/sakegmgk9tw/default.jpg)
![#168 Upgrade to an Arduino Uno 'Plus' with MiniCore and an ATMega328PB](https://i.ytimg.com/vi/S_k_2sqmSxw/default.jpg)
![#204 TFT Touch Screen ILI9341 SPI for ESP32 (Internet Radio Research)](https://i.ytimg.com/vi/wMJFkhmp2UE/default.jpg)
![#6 Tutorial: From Breadboard to Prototype (Arduino)](https://i.ytimg.com/vi/pMgxpK2CClY/default.jpg)
![#186 Measure Current with an Arduino - Digital or Analog? Easy!](https://i.ytimg.com/vi/tEOLI08wqTU/default.jpg)
![Arduino Two Way Communication Via Bluetooth (HC-05) | Arduino](https://i.ytimg.com/vi/I2qFXSe0W3w/default.jpg)
![#136 MOSFET vs BJT NPN (TO92 package) 🤷](https://i.ytimg.com/vi/j5urQ9fZug4/default.jpg)
![#139 No Real Time Clock (RTC) Required (Wemos ESP8266 Mini)](https://i.ytimg.com/vi/RCDBPsi01_c/default.jpg)
![How To Configure and Pair Two HC-05 Bluetooth Module as Master and Slave | AT Commands](https://i.ytimg.com/vi/hyME1osgr7s/default.jpg)
![#149 ESP32 Dual Core Programming + Speed 💨Test vs Arduino UNO (fast!)](https://i.ytimg.com/vi/jpVcCmh8sig/default.jpg)
![#159 PIR Deep Sleep ATMega328P Project (for Benny 😺)](https://i.ytimg.com/vi/7ChTq7ZHVTI/default.jpg)
![#131 Mechanical relay overload and snubber (with sparks)](https://i.ytimg.com/vi/OAmXypXwkeg/default.jpg)
![#152 STM32 Blue Pill - Is this a modern NANO replacement (✅)](https://i.ytimg.com/vi/vzDsSdtKQXA/default.jpg)
![#205 ESP32 Internet Radio with VS1053 MP3 decoder and ILI9341 TFT](https://i.ytimg.com/vi/xrR8EZh2bMI/default.jpg)
![Arduino Bluetooth HC 06 + AT Command Set: A Comprehensive Guide: 4th Edition](https://i.ytimg.com/vi/is3EaCSnJyo/default.jpg)