villagevast.blogg.se

Coolterm link bluetooth
Coolterm link bluetooth














When you type on the left terminal, it will show up on the right one and vice versa. Open up a terminal of each of the Arduino boards, I use CoolTerm. This will be indicated by unison repeated blinking every 1 second.Ĭonnect the pair of Arduino/HC-05 to two different computers if possible, you can also connect them to the same computer. After a few seconds, the two devices should pair up. Let go of the button and type in AT+RESET this will reboot the device. Hold on to the button while sending these commands > AT+ORGL OK > AT+UART=38400,0,0 OK > AT+RMAAD OK > AT+ROLE=1 OK > AT+CMODE=0 OK > AT+BIND="98D3,41,F5CC0B" OK Once all your setting are correct, the Connect and Disconnect buttons will open and. At this point, the device should be blinking rapidly CoolTerm is useful no matter which operating system youre using. Hold on to the button while sending these commands > AT+ORGL OK > AT+UART=38400,0,0 OK > AT+RMAAD OK > AT+ROLE=0 OK > AT+CMODE=0 OK Use the AT+ADDR? command to find the address of each module 1st Device: Primary > AT+ADDR? +ADDR:14:1:141194 OK 2nd Device: Secondary > AT+ADDR? +ADDR:98D3:41:F5CC0B OK One device will be the primary and the other will be the secondary device. Make sure that each command has a termination of \r\n

  • Connect the GND pin back to the Arduino.
  • Press and hold the button near the state pin.
  • coolterm link bluetooth

    In the event you encounter an error when sending an AT command, refer to this link:Īfter connecting up the module to the Arduino and loading the program, the module should be blinking rapidly. A link to all the AT commands are linked below: Only a handful of AT commands are needed to configure the module as either a p rimary or a secondary.

    coolterm link bluetooth

    The Arduino code needed to talk to the HC-05 module is shown below: #include #define bt_tx_pin 7 // connect to hc-05 rx pin #define bt_rx_pin 8 // connect to hc-05 tx pin #define bt_en_pin 9 // connect to hc-05 en pin #define bt_state_pin 10 // connect to hc-05 state pin SoftwareSerial bt_serial(bt_rx_pin, bt_tx_pin) void setup() For the versions with the button, the state pin doesn’t need to be connected. Usually, the state pin allows the control of the AT mode. For the FTDI board, make sure the jumper is set to 3.3V














    Coolterm link bluetooth