
Step
Step
Step
Step 1.
1.
1.
1. Achieve
Achieve
Achieve
Achieve Manually
Manually
Manually
Manually AT
AT
AT
AT Command
Command
Command
Command Control
Control
Control
Control
1.Open the Arduino IDE 1.0.X, and copy the code from Elecfreaks wiki to it.
2.Import library of SoftwareSerial, because library of NewSoftSerial is just
suitable of edition before ArduinoIDE 1.0, such as IDE0022, IDE0023.
3.Delete the library of NewSoftSerial and modify the NewSoftSerial into
SoftwareSerial.
4.Download TimerOne from
http://code.google.com/p/arduino-timerone/downloads/list
5.Compiling sketch until Done compiling appears
6.Upload code until Done uploading appears
7.Open sscom32 and set BaudRate as 38400
8.Manually input AT and it would respond OK
9. Input AT+ROLE? And it would rROLE=0, therefore, We default the
Bluetooth Modem as SLAVE Mode
10.Input AT+ROLE=1, we can set it as Master Mode
11.Input AT+ROLE=0, we can set it back as SLAVE Mode