How To Make Two ARDUINO Boards Bluetooth Communicate With Each Other
Ғылым және технология
This tutorial will show you how to use a HC-05 And A HC-06 with your ARDUINO boards to send data between them via Bluetooth connection.
Website: thezhut.com/?page_id=703
Check us out on Facebook: / zarduino
Пікірлер: 22
I just made an Nunchuck Joystick remote to control a Self Balancing robot via a paired set of HC-05 BT modules. Yes, there are a few pitfalls to this approach, but overall, it is a screaming success!!
your intro blew out my ear drums
After seeing this video, I order the HC05 HC06 thanks for this info, I gonna do this. No libraries, I was suprised, so I can start the sketches with 2 wires RX TX cross , and than later install the LVC + BT.
I'm very interested by your ebay story. I've done over 350 nice deals. I had only little problem with extremely cheap screwdrivers that can detect voltage. One lost by post and the other did not work. The last one is a perfect birthday gift for somebody you don't like :-)
Thank you so much for the tutorial! :D
Very cool. How about several bluetooths talking to one? Like several motion sensors to trigger a master light?
Thank you for the information, I had a small doubt can i transmit and receive the signal in slave Bluetooth, or i just can transmit the signal and cannot receive the signal.
what might be the best usable distance for the blue tooth? I need communication between nanos of about 40 feet thrue a few walls
Hi, I need to put a transmitter on the collar of my dog, so when he barks it would trigger a device in the house. I also need to keep track of the barks on an app on my phone that I will later make. What technology do you recommend? How? Thank you so much.
how did they get connected? Aren't there any codes for the bluetooth? #NewbieHere
Well i know how they speak with eachother i want to know how they connect! That is the same script you can do with a wire...
What reliable range have you achieved in open space ?
@z-hut1663
7 жыл бұрын
around 50-60 ft. bluetooth is not for long range. adding a external antenna might help in the range...
Is there a specific library to be downloaded in order for the Arduino to distinguish the data? Because I uploaded the codes just as they are and it won’t work.
@z-hut1663
5 жыл бұрын
check your connections... usuly the problem.. wrong pin or bad connection.. also make sure your bt boards have connected, and that one is master and the other is set to slave.... the boards will not connect auto if you did not set them up to do so.....
Hi, i have a doubt in Bluetooth module. I want to reset or ON OFF the Bluetooth module when android device disconnected. Is it possible??????
I need to know how to send a program from one aurduino to the other wirelessly . I want to put an aurduino on the roof of the building and program it from the ground.
@sharpe227
4 жыл бұрын
You have to look up esp32 ota(over the air )programming.
Will it not work at all if the 3.3v to 5v logic converter is missing?
@z-hut1663
5 жыл бұрын
snap crackle pop goes the bluetooth modual
For slave, can we use this code:- char t; void setup() { pinMode(13,OUTPUT); //left motors forward pinMode(12,OUTPUT); //left motors reverse pinMode(11,OUTPUT); //right motors forward pinMode(10,OUTPUT); //right motors reverse pinMode(9,OUTPUT); //Led Serial.begin(9600); } void loop() { if(Serial.available()){ t = Serial.read(); Serial.println(t); } if(t == 'F'){ //move forward(all motors rotate in forward direction) digitalWrite(13,HIGH); digitalWrite(11,HIGH); } else if(t == 'B'){ //move reverse (all motors rotate in reverse direction) digitalWrite(12,HIGH); digitalWrite(10,HIGH); } else if(t == 'L'){ //turn right (left side motors rotate in forward direction, right side motors doesn't rotate) digitalWrite(11,HIGH); } else if(t == 'R'){ //turn left (right side motors rotate in forward direction, left side motors doesn't rotate) digitalWrite(13,HIGH); } else if(t == 'W'){ //turn led on or off) digitalWrite(9,HIGH); } else if(t == 'w'){ digitalWrite(9,LOW); } else if(t == 'S'){ //STOP (all motors stop) digitalWrite(13,LOW); digitalWrite(12,LOW); digitalWrite(11,LOW); digitalWrite(10,LOW); } delay(100); }