eChook GPT Documentation
Ask or search…
K

Setting up the Bluetooth

This is a step that should only need doing once to each bluetooth module. It comes programmed from the factory called ‘HC05’ and set to a baud rate of 9600. Before use, we need to set the baud rate to 115200, and change the name - potentially to that of the car it will be fitted to.
As of eChook Arduino code version 2.0, you can set the name by going to configure.echook.uk in either Chrome or Edge browsers and connecting your echook. For more information see the Calibrating the eChook section.
Alternatively, the old method still works. When the eChook Arduino code is open in the Arduino IDE there will be a tab called ‘Calibration.h’. The first parameters in this file are the bluetooth settings.
//Bluetooth Settings
const String CAL_BT_NAME = "your-car-name-here";
Save and upload the new code to the Arduino.
Now you have saved the new name to the Arduino. The next step is to transfer that name from the Arduino to the HC_05 Bluetooth module. If this isn't successful the bluetooth device name as seen on your phone won't change.
Now the Arduino needs to send these settings to the bluetooth module. To transfer these settings from the Arduino to the HC-05 bluetooth module follow these steps:
  1. 1.
    Insert the Arduino into the eChook board and unplug the HC-05 Bluetooth module.
  2. 2.
    Power the eChook board from a source other than the USB on the Arduino. Ensure that the USB is unplugged for this procedure. A 12v or 24v battery connected to the main power input is ideal, but anything from 7 to 30v on the +24v in pin will work.
  3. 3.
    Press the small button next to the ‘EN’ pin on the bluetooth module and hold this down while plugging it into the eChook nano board. Release once plugged in.
  4. 4.
    The bluetooth module LED should now be blinking slowly. Two seconds on, two seconds off. If this is not the case repeat step 3.
  5. 5.
    Press the reset button on the Arduino. The ‘L’ LED on the arduino should blink quickly 3 times and the LED on the Bluetooth module should resume to flashing quickly, signifying it is waiting for a connection. The module will now appear on a phone under the name specified.
  6. 6.
    If the bluetooth module LED will keeps blinking slowly the configuration has failed. Go back to step 3 and repeat the process.
The board is now ready to be paired with a phone!
Note: Apple devices will not be able to discover the eChook board as Apple does not implement the serial over bluetooth protocol that it uses. Android/Windows/Linux etc will be able to discover it.