system
March 14, 2012, 2:23pm
1
I want to connect arduino uno smd with my computer wireless with Hope RF HM-TRS wireless transparent module, i've put the code byte high = 0;
void setup()
{
Serial.begin(9600);
// 2 Stop-bits please!
UCSR0C = UCSR0C | B00001000;
pinMode(13, OUTPUT);
}
void loop()
{
if (high == 0)
{
digitalWrite(13, HIGH);
high = 1;
}
else
{
digitalWrite(13, LOW);
high = 0;
}
if (high == 0)
{
Serial.print("HELLO"); // The text
}
else
{
Serial.print("WORLD"); // The text
}
delay(500);
}
and on the computer i recive << ... for Hello and TX<<O for World. The modules are with default settings 9600, 8 , N.
What to do get data corectly?
MarkT
March 15, 2012, 3:48pm
2
datasheet? Wiring diagram?
system
March 15, 2012, 5:43pm
3
http://www.hoperf.com/upload/rf_app/HM-TRS.pdf this is the datasheet for wireless module, i've connected arduino's RX to TX on module and TX from arduino to RX on module as shown in datasheet.
MarkT
March 15, 2012, 6:17pm
4
You read the datasheet about the power supply being 2.2V to 3.8V then?
system
March 15, 2012, 6:31pm
5
yes, i use arduino 3.3 V power suply
MarkT
March 15, 2012, 6:47pm
6
grounds and power lines shared I presume? Reread datasheet for any thing you've missed, check all connections with multimeter?
system
March 15, 2012, 7:03pm
7
i will recheck all to see if is something wrong. tnx