S
sommes
I need to send 0-999 from one microcontroller to other microcontroller by
HT-12E and HT-12D.
There are 8 address bits + 4 data bits in HT-12E. I would to like to ask,
How can I send 0-999 with these 4 data bits and received by other
microcontroller?
In the testing, I could send 1 digit successfully. For example, 9, which is
1001, then put 1001 to data bits 0-3 of HT-12E. It is becuase there is an
address to tell when to start and stop.
1) How can I use data bit 0 of HT-12E to send first digit, bit 1 to send
second digit and bit 2 to send third digit?
2) How can I send data which is more than 4 bit with HT-12E?
For example, I want to send 8 bit data which is 1001 0111, the HT-12E will
encode like 8 address bits + 1001 then 8 address bits + 0111, so how can I
put 1001 0111 back together?
P.S. I am using Atmel AT90S8535 with Bascom-AVR complier
Thank you for help...
HT-12E and HT-12D.
There are 8 address bits + 4 data bits in HT-12E. I would to like to ask,
How can I send 0-999 with these 4 data bits and received by other
microcontroller?
In the testing, I could send 1 digit successfully. For example, 9, which is
1001, then put 1001 to data bits 0-3 of HT-12E. It is becuase there is an
address to tell when to start and stop.
1) How can I use data bit 0 of HT-12E to send first digit, bit 1 to send
second digit and bit 2 to send third digit?
2) How can I send data which is more than 4 bit with HT-12E?
For example, I want to send 8 bit data which is 1001 0111, the HT-12E will
encode like 8 address bits + 1001 then 8 address bits + 0111, so how can I
put 1001 0111 back together?
P.S. I am using Atmel AT90S8535 with Bascom-AVR complier
Thank you for help...