#define LTOFFbutton 12 // OFF button for light from RF keyfob Remote-DĭebugSerial.println("Waiting for connections. #define LTONbutton 10 // ON button for light from RF keyfob Remote-B #define DWbutton 11 // DOWN button for lowering from RF keyfob Remote-C #define UPbutton 9 // UP button for raising from RF keyfob Remote-A #define DWlimitsw 2 // BOTTOM limit switch SoftwareSerial DebugSerial(0, 1) // RX, TX Stepper motor driver used: 2X 4A TB6600 & Bluetooth (Blynk App with HC-05 module) I know in the code it’s software serial being used but I tried other things as well… // Table control using AdaFruit RF keyfob remote Smartphone OS (Android) + version: Galaxy S7, v8.0.0.tried to pair one time but didn’t work (password 1234) Sometimes I see the BT module on my phone bluetooth devices list, some other times not… red LED on HC-05 is blinking rapidly. I’ve read I should use the 3.3V or having resistances if using the 5V on Vcc but some other places says 5V is fine, especially since the BT board says 3.6 to 6V but Arduino board might use different voltage on pin 0-1… ?.Baud rate on pin 0,1 is 9600, 115200 or something else ? BluetoothSerial ESP32 library, in order to send data to a emulated Serial connection, operating over Bluetooth classic.Otherwise it will create interference of some sort. ![]() Can’t have the USB plugged while having pin 0,1 connected to the BT module.The HC-05 module has six pins: VIN: Module power supply (3. It acts as a slave and communicates with your Arduino through a serial port. ![]() if I understand correctly it need to be in AT command mode to work ? How to work with a Bluetooth Serial Module How to Program Arduino with Bluetooth HC-05 Bluetooth Module We use the HC-05 module to have Bluetooth communication.I can’t use the software serial standard code used normally in all examples….I wish to be able to use the App and a RF remote keyfob to activate the stuffs. ![]() The Blynk project on the App consist of 4 button (Up, Down, LightsON. I wish to use the pin 0,1 (Rx, Tx) of the Arduino UNO because I don’t have anymore spare digital pins for communication with the Bluetooth HC-05 module. New here and pretty noob in Arduino projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |