![]() 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). Realtor lockbox and wait for it to communicate with the Supra eKEY app. 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). After renters input the serial code, they will receive a one-time lockbox code. ![]() 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |