What about your non-working code?
Ioannis
...i've found some failures in my schematic...so i have redrawn it
here is the link
Transmitter Schematic
at the time i have no code because i am using Windows terminal but i think i must write a program because i've found out that a preamble (of 01010101...) is needed
do you see any other failures??
You need not only a 2ms at least preamble but also some kind of data encoding to keep the balance of the 1 and 0 to 50%. So Terminal will not help much except if you can transmit the character with this binary number: 10101010 or 01010101.
That means definetly Manchester or Biphase encoding as it is the easiest to implement.
Do a search on the forum and many answers on the topic Manchester will be found (mine too!).
Please re-read the data sheets of the XTR. Answers included!
By the way, you new schematic, I believe will ton work! XTR is supplied through a capacitor and data are fed through 10K and 100K resistors. Are sure about the values? I'd rather choose your first one.
Ioannis
Last edited by Ioannis; - 22nd January 2009 at 12:31.
i have asked a friend who corrected my schematic like this....
what do you think
![]()
Good. Now see the other issues as described previously.
Check this also:
http://www.picbasic.co.uk/forum/showthread.php?t=198
Ioannis
Bookmarks