Sorry for asking dumb question, just start trying arduino a few days, got a new expansion shield and XBee bluetooth 2.0 (HC-06), but don't know where to look and start using them.
my setup: Arduino UNO R3 Funduino I/O Expansion V5.0 Funduino XBee bluetooth HC-06 Arduino IDE 1.5.7
I have tried upload program to arduino, read write serial, blink, etc, didn't understand schematics. digging information on XBee for a day, what I know is HC-06 is slave only, and only support SPP. and should program with AT command. but how do I do it? I just want to send/receive message from PC or android phone using bluetooth.
first problem, what I have tried is plug I/O shield to my arduino, plug XBee to I/O shield, then load a sample code to it, it gives me error.
avrdude stk500_getsync(): not in sync resp=0x01
but if I unplug the I/O shield, arduino works without any error.
second problem, after I plug them together, then what could I do? I don't know which pin to control, or is there a SerialX that is for XBee? I am guessing, the I/O shield is connected to UNO TxRx, so, if I write Serial.println("AT"), I should read back "OK"?