@Nick_Pyner
thanks for you help!
Between PC(serial monitor) and arduino is no problem , only problem mistake character when transmission from Bluetooth to any hardware serial port on arduino .
BTW: how about my Rx led on Bluetooth it away on event arduino not send any to Bluetooth, when i plug this Bluetooth to Serial port on PC normal Rx,Tx led is off , only flash when transfer data.
Nick_Pyner:
The code is junk anyway, and doesn't compile.
tuninh:
Between PC(serial monitor) and arduino is no problem
I can only assume you are using a different programme for this. The code you posted will not compile and therefore cannot be used. That is, with IDE v1.0.1 but that is probably irrelevant. I cannot comment on the hardware as I don't know anything about it.. The devices I use only flashes when there is no connection.
void setup() {
Serial.begin(9600);
Serial1.begin(9600);
}
void loop() {
if (Serial1.available()) {
Serial.write(Serial1.read());
}
if (Serial.available()>0)
{
Serial1.write(Serial.read());
}
}
I try very simple code try to check
Serial port send & received from my laptop is OK
but Serial1 send & received from mobi phone via Bluetooth like this: "y=W+•…??Õå]y=y=^X¬¬W]ý"
I use IDE V1.5.6 beta version. ( old version same problem)
[/quote]
I can only assume you are using a different programme for this. The code you posted will not compile and therefore cannot be used. That is, with IDE v1.0.1 but that is probably irrelevant. I cannot comment on the hardware as I don't know anything about it.. The devices I use only flashes when there is no connection.
[/quote]
Did you connect the same bluetooth to a PC and then you able to talk two way via bluetooth to your windows phone?
If so, I guess this confirms that the SD200 is OK with a windows phone and there is nothing fundamentally wrong with the phone or the SD200.
windows phone > SD200 > PC (hyperterminal) can talk two way, send & received OK.
Arduino > PC (serial monitor) two way talk OK.
single chanel code also try but same problem.
Nick_Pyner:
Did you connect the same bluetooth to a PC and then you able to talk two way via bluetooth to your windows phone?
If so, I guess this confirms that the SD200 is OK with a windows phone and there is nothing fundamentally wrong with the phone or the SD200.