in VAR BIT
InTrs VAR PORTB.1 'On Out of U2270b
Read:
PauseUS 130 'for Osc 8
in=Intrs
If in=1 Then
....
if in=0 Then
....
etc..
Regards
in VAR BIT
InTrs VAR PORTB.1 'On Out of U2270b
Read:
PauseUS 130 'for Osc 8
in=Intrs
If in=1 Then
....
if in=0 Then
....
etc..
Regards
Thanks!!
So I suppose that a complete pulse of the code (Manchester) uses 260 microseconds.
Is this correct?
In your sample you use PAUSEUS 130 for OSC 8, but if I use the internal resonator and don't use the OSC statement on my code (or if I use a 4Mhz external resonator), I suppose that the 130 value would still correct, isn't it? I don't know if you are adjusted the value for a 8Mhz resonator instead that picbasic adjust it via OSC statement.
Regards
Last edited by zx81; - 25th March 2005 at 00:13.
in manchester code:
T=560µs and T/2=280µs
and i read 64 bits
my beta prog read ok the transponder but it need to be optimized!
i can send it if you need but comments are in french![]()
Of course, your code will help me, if you can send me to [email protected] it would be great.
If you want I can test the code on my board and colaborate with you in the optimization of the read process.
Regards
Can you send the code to me as well? I need it for my project. Thanks!!
There are code examples already on the forum, do a SEARCH on "Manchester Code".
Thanks Melanie. Actually i need to read the data (manchester code) from a transponder and send it to pc using the USART feature in pic16f628A and using rs232 to interface.The problem now is i can't send the code to my pc through the microcontroller? Can you help me with that? I need it urgently. Hope to get reply from you soon!!
Bookmarks