Discussion in "8051 Discussion Forum" started by    Gastonio    Sep 9, 2010.
Sun Jan 23 2011, 09:59 pm
#51
Well, I guess using encoder and decoder is the only option to know if those modules really work.


[ Edited Fri Jan 04 2013, 08:37 pm ]
Mon Jan 24 2011, 02:54 am
#52


You were right, guys, it worked without any encoders or decoders. That's what I call experience At first I didn't believe it'll work. I see U's on the LCD but I can't see $.
But what's really strange is that I keep reveiving U's when I've even changed a program of transmitter. There is no temperature vaules but only UUU's.

Gastonio


Well my experience is telling me that you are receiving "UUUU" because you are sending "UUUU"

Try changing any "U" in your code to "*" and see what you get.

And let's have no more talk of encoders please


[ Edited Mon Jan 24 2011, 02:56 am ]
 Gastonio like this.
Mon Jan 24 2011, 03:17 am
#53
Well, I tried sending A's because that isn't a sequence of 0 and 1's. But, I can till see U's and sometimes T's and somtimes just garbage. As I said, being so happy when seeing U's I tried with temperature values and I was still receiving U's. The code was right because wired conncetion showed temp values.
I wouldn't think about encoders and decoders if I didn't need reliable communication and that's very important in my upcomming project.
My hands aren't shitty Maybe a lack of experience but I think that those modules are crappy. And to prove or deny that I'll try with encoders and decoders. There are codes in this forum so there is no need to start from the scratch.
Mon Jan 24 2011, 04:54 pm
#54
@Gastonio well problem could be something else too.. anyways... you can do other tries now..

what is the baudrate you're using again?

send one byte as 0xFF and other as 0x00 to give an impression of 0101 sequence with a longer delay.
so actual data to send
0xFF 0x00 0xFF 0x00 0xFF 0x00 $helllo

try and see if you get something on display.
Mon Jan 24 2011, 05:35 pm
#55
Hi, Ajay, the boudrate is 1200bps.
I tried as you said. Keeps receiving U's. There is a pin on the receiver called enable. When I conncet it to Vcc, the receiver starts to receive just a garbage, no U's.


[ Edited Mon Jan 24 2011, 05:52 pm ]
Mon Jan 24 2011, 05:53 pm
#56
1200 is perfect but also try same with 2400
Mon Jan 24 2011, 11:57 pm
#57
Does what you receive change when you disconnect the transmitter.
Does it change when you reset the sending micro ?

Can you post the tx and rx code you are using now.


[ Edited Tue Jan 25 2011, 12:05 am ]
 Gastonio like this.
Tue Jan 25 2011, 09:23 pm
#58
Well, It changes, maybe more garbage, but I can still recognize those symbols that were before disconnecting transmitter. In fact, no on the LCD I see a lot of &&&&. No U's now.
I didn't add reset button on the test breadboard, so I can't say. I'll try to add it.
The codes are the same I posted few posts above. The last two codes.


[ Edited Tue Jan 25 2011, 09:24 pm ]
Wed Jan 26 2011, 03:35 am
#59
I've got encoder and decoder, interfaced them with transmitter and receiver and only thing that I've got is four flashing LED's as soon as I power on everything. I am cursed
Wed Jan 26 2011, 05:53 am
#60


I've got encoder and decoder, interfaced them with transmitter and receiver and only thing that I've got is four flashing LED's as soon as I power on everything. I am cursed

Gastonio


Maybe not cursed, your wireless modules may just be faulty.
Could you have been sent a mis-matched transmitter and receiver ?

Receivers can be senitive to noise on the power supply, try powering it from a separate
well smoothed supply.
 Gastonio like this.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am