sending sensor data from arduino Uno to arduino mega using bluetooth

Thread Starter

saiteja12

Joined Jan 4, 2017
17
i want to send ultrasonic sensor sr04 values from arduino uno to arduino mega using hc -05 master/slave modules. can someone give me ideas in doing this
 

MrSoftware

Joined Oct 29, 2013
2,015
Don't try to trigger and wait for echo over wireless, the latency will be too much and your readings will be inaccurate. Take the reading on the uno, then send the numerical data to the mega.

Google "hc-05 arduino" and you'll get tons of examples with code.
 

Thread Starter

saiteja12

Joined Jan 4, 2017
17
Don't try to trigger and wait for echo over wireless, the latency will be too much and your readings will be inaccurate. Take the reading on the uno, then send the numerical data to the mega.

Google "hc-05 arduino" and you'll get tons of examples with code.
sir I got the code for reading values from hc sr 04 ultrasonic senor. now i want to send these values via bluetooth. so is there any way to get example sketch for sending data via bluetooth. i have two hc 05 modules;one is configured mastered and other one as slave.
 
Top