Загрузка страницы

#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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
31 июля 2020 г. 14:00:15
00:28:33
Яндекс.Метрика