
Disconnect and reconnect the 5V power connection to the HC-05.ī. If the LED blinks rapidly, try the following:Ī. The LED on the HC-05 should blink at 2-second intervals.
Reconnect the 5V power connection to the HC-05.
Connect the Arduino to the PC with a USB cable. Disconnect the 5V power connection to the HC-05. Perform the following procedure to rename the HC-05: SoftwareSerial BTSerial(10, 11) // RX | TX void setup() Upload the following program into the Arduino.įor more information on how to upload a program to the Arduino, visit /* AUTHOR: Hazim Bitar (techbitar) DATE: LICENSE: Public domain (use at your own risk) CONTACT: techbitar at gmail dot com () */ #include In this case, connect a jumper cable to the KEY pin (inside the plastic sleeve) on the IC. Some HC-05 do not have the KEY pin on the breakout board. It is not advisable to leave the HC-05 connected to the 5V Arduino pins for a long time. This circuit doesn’t use voltage dividers to drop 5V to 3.3V for this short procedure. If the KEY pin is not available, see If Key Pin Is Not Present below. Arduino UNO (with Arduino IDE installed on a PC)įollow the labels on the HC-05. You will need the following components:. This is time consuming and a distraction to the learning process.įortunately, we can change the default settings of the HC-05 using the AT command set. Once paired, she powers off her HC-05 and then it’s the next student’s turn. One workaround is to have everyone power off their HC-05, and then one student at a time power on her HC-05 and pair it to her mobile phone or PC. The solution is to change Bluetooth name of the HC-05 to a unique name using the AT command set.Ĭonducting a class with multiple Arduino and HC-05 results in confusion because students cannot determine which Bluetooth name to select to pair.
However, the conditions in a classroom environment with multiple HC-05 result in students having difficulty in identifying which HC-05 to pair to their mobile phones or computers. The default settings in the HC-05 is standardised as follows: This white paper describes the procedure to change the device name of the HC-05 Bluetooth module (HC-05) using the AT command set.