![]() Thois code will quickly tell you if the module is working properly and what baudrate it uses. When the communication baudrate is set correctly, the Bluetooth module should answer OK. #include SoftwareSerial hc06 ( 2, 3 ) void setup ( ) The following code allows you to modify the parameters using the serial monitor. ![]() To allow configuration, the module HC-06 should be powered but not paired (la LED is blinking). you need about the different pins of the Arduino Arduino Uno Pinout Guide. Module HC-06 configurationĬonfiguring the module HC-06 can be interesting to verify that it is working, hooked up correctly and to modify its parameters such as its name (useful when your are using several modules), PIN code and communication speed (baudrate). Add a wire to F for GM LAN (+)- Youll run this wires to the OBD port 6. Especially, Arduino Mega, Micro and Leonardo. Depending on the microcontroller, some pins may not support SoftwareSerial communication. ![]() WARNING : We use pin 2 and 3 of Arduino Uno.
0 Comments
Leave a Reply. |