Go Down

Topic: Wireless Sensor data transfer between 2- Arduino uno using two HC-05 (Read 267 times) previous topic - next topic

sunnysinghb

Hello everyone, I have two- Arduino uno kits and Two HC-05 Bluetooth modules. I want to send sensor data (e.g. GY-521 MPU6050, or simple potentiometer) from one Arduino uno to another Arduino uno using two HC-05 bluetooth modules. The second Arduino uno will be interfaced with MATLAB for processing. At present I am sending potentiometer data from A0 pin and want to control brightness of LED connected at pin 9 of another Arduino uno. But when I am  sending 255 from one arduino, I am getting random data like 10, 40 on the other end also its not varying in accordance with potentiometer value. Kindly help me and provide complete code for it.
Regards
Sunny

lesept

Read this tutorial to learn how to use a serial link to transfer data from one arduino to another one.
A force d'essayer on finit par réussir... Donc, plus ça rate, plus on a de chances que ça marche (proverbe Sharduinok).

jackthom41

First of all, get your hands on Serial commands. User serial monitor and test sending & receiving data. After that simply connect pins of HC-05 with both arduino.

Btw use Software Serial, you will get uploading issues, if you connected HC-05 with hardware serial of Arduino.
My collection of Arduino Projects ====> https://www.theengineeringprojects.com/2015/03/arduino-projects.html

Go Up