Configure Bluetooth modules - demianbadin/Ghettostation GitHub Wiki

Configuration

  1. Get Arduino IDE (http://arduino.cc/en/Main/Software#toc2)
  2. You will need a RS232 to TTL converter like this: (https://www.banggood.com/es/USB-to-RS232-TTL-Serial-FTDI-Chipset-FT232-Computer-Converter-Cable-p-80871.html)

Configure MASTER Bluetooth module

  1. Connect RS232 to TTL converter to the Bluetooth module: Tx->Rx / Rx<-Tx / Vcc / Gnd
  2. Open Arduino IDE -> Serial monitor; 9600 bauds
  3. Test an "AT" command. You will see a "OK" as response.
  4. Send the following commands:
  • AT+NAME=tracker
  • AT+UART=57600,0,0
  • AT+PSWD=000000
  • AT+ROLE=1
  • AT+CMODE=1

Configure SLAVE Bluetooth module

  1. Connect RS232 to TTL converter to the Bluetooth module: Tx->Rx / Rx<-Tx / Vcc / Gnd
  2. Open Arduino IDE -> Serial monitor; 9600 bauds
  3. Test an "AT" command. You will see a "OK" as response.
  4. Send the following commands:
  • AT+NAME=radio
  • AT+UART=57600,0,0
  • AT+PSWD=000000
  • AT+ROLE=0

NOTE: You can change Master Slave role between tracker and radio. NOTE2: In some firmwares the AT commands can vary. For example:

  • AT+NAMEradio
  • AT+BAUD7
  • AT+PIN000000
  • AT+ROLE0