Complete specs:
http://www.cutedigi.com/pub/Bluetooth/BMX_Bluetooth_quanxin.pdf
Video - Testing
Lo tengo que conectar en el arduino shield
Y esto es para comunicarlo desde linux ...
As seen in http://arduino.cc/forum/index.php?action=printpage;topic=101452.0
Una vez conectado, en linux:
Remove the pairing (ubuntu 12.04 LTS)
Reboot box
hcitool scan
rfcomm bind 0 00:12:02:28:71:34 1
screen /dev/rfcomm0 9600 #This will prompt you for the pairing password and I also noticed the LED went solid rather than blinky.
screen /dev/rfcomm0 9600
rfcomm release 00:12:02:28:71:134
run the following just once after boot, and note AT commands cannot be run after this is paired
hcitool scan
rfcomm bind 0 00:12:02:28:71:34 1
#Upload this test code
void setup() {
Serial.begin(57600);
}
void loop() {
Serial.write("*test*\r\n");
delay(1000);
}
command line test
screen /dev/rfcomm0 57600
No comments:
Post a Comment