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.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||Similar threads||Forum||Replies||Date|
|J||Sending analog data wirelessly (3 axial Accelerometer)||General Electronics Chat||15|
|Sending sensor data to nosql database||Microcontrollers||2|
|Xbee s2 reading digital sensor data and sending the data remotely||Sensor Design & Implementation||2|
|S||Sending sensor data from Arduino Uno to Arduino Mega via Bluetooth||Sensor Design & Implementation||0|
|Vibration sensor, RF-sending/receiving||Sensor Design & Implementation||2|
by Rushi Patel
by Wes Brodsky
by Mark Hughes
by Jake Hertz