sommes said:
Thank you Alan and Donald again, I really learnt a lot from you guys...By
the way.
I will talk to my partner but it is little bit hard to change his mind. It
is becuase he think
1) Using HT-12E and HT-12D could get rid of noise, and data can send
correctly
2) I can output 10bits ADC serials data to1 of the 4 input from HT-12E to
send the data easily, however it would be very slow to do in this way,
therefore, my partner suggest me to use all 4 input from HT-12E to send at
same time.
What is the best solution to radio transmission 10bit ADC data from Atmel
AT90S8535?
Sorry for my bad knowledge of RF
Looking at the data sheet from Laipac for the transmitter and receiver,
you _should_ be able to hook up asynchronous serial output from the
micro to input pin of the transmitter, and see more or less the same
signal on the receiver pin of the matching receiver. You'll have to
take the 10 bit number and split it up -- the easiest thing to do might
be to just send two bytes, wait a while, then send the next reading, etc.
Better would be to send it with a checksum of some sort because with
radio you're practically guaranteed bad data at some point. If I just
wanted to send one channel of analog data I'd probably have a five-byte
packet: an unambiguous header (0x55?), two data bytes, then a CRC16
checksum. If you don't want to do CRC16 and don't mind a greater chance
of error you could use CRC8, or even a sum-of-bytes, but a CRC would be
significantly better.
The next time you ask one of these questions you may get better response
if you:
* say what you're doing beyond just sending data
* include pertinent details, like data rates and frequencies
* tell us what you _do_ know
* don't assume that we know what company's products you're using
* don't assume we know everything about that company's products
* don't assume that we want to go read their website
Something like "I want to send data at 4800 baud on a 434MHz data link.
I'm going to use an Laipac HT-whatever plus a TRX-whatever else, and I
need to know how to make it all work."
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Posting from Google? See
http://cfaj.freeshell.org/google/