This branch is for the EPICS Sumo-Bot Competition.
- Pair the Bluetooth modules.
- Upload
SumoBot_BT_CAR_Codeto the Arduino on your car. - Upload
SumoBot_BT_Remote_Codeto the Arduino in your remote control. - Connect the Slave HC-05 module to the Car Arduino.
- Connect the Master HC-05 module to the Remote Arduino.
- Grab both HC-05 Bluetooth modules.
- Label them as either M (Master) or S (Slave).
- Alternative labels: T = Transmitter, R = Receiver
- Connect the module to an Arduino running an empty sketch.
- While connecting, hold down the small button on the bottom right of the HC-05.
- After a few seconds, the module's LED should blink slowly — this indicates Command Mode.
- Command Mode allows you to check/set configuration. You only need it for setup — not future use.
- Open the Serial Monitor in the Arduino IDE.
- Set baud rate to
38400 - Set line ending to Both NL & CR
- Set baud rate to
- Type
ATand press Enter. You should receiveOK, confirming it's working properly. - Type
AT+ROLE?to check the module's role:0= Slave1= Master
- If both modules have the same role, change one typing
AT+ROLE=#: Replace#with1(Master) or0(Slave). - Once roles are set, connect the Slave module again and type:
AT+ADDR?, Copy the returned address - Connect the Master module and bind it to the Slave using:
AT+BIND={Slave_Address}, Replace {Slave_Address} with the address you copied.
- Replace
{Slave_Address}with the address you copied. - IMPORTANT: Replace all colons (
:) with commas (,).- Example:
AB:CD:EF1234→AB,CD,EF1234
- Example:
- If the above steps are completed correctly, your modules are now paired!
- From now on, they will automatically try to connect when powered on.
- Connect a module to an Arduino running an empty sketch.
- While connecting, hold down the small button until the LED blinks slowly — this is Command Mode.
- Open the Serial Monitor.
- Set baud rate to
38400 - Set line ending to Both NL & CR
- Type
ATand confirm you receiveOK. - Type
AT+ROLE?to verify the module's role. - Label each module appropriately:
M= MasterS= Slave- (or use
T= Transmitter,R= Receiver)

