Page 1 of 1
flowcode pulse generated and read the bits in the AC (14.25V
Posted: Tue Feb 24, 2009 4:53 pm
by tech
I am a modeler railway that operates in DCC (Digital Command Control) and I would like to know how I can with flowcode pulsed generated and read the bits in the AC (14.25V)
Thank for Help!
Chris

Re: flowcode pulse generated and read the bits in the AC (14.25V
Posted: Wed Feb 25, 2009 8:58 am
by Steve
See here for the electrical and protocol standards of DCC:
http://www.nmra.org/standards/sandrp/consist.html
To receive, you would need to convert the signals from +14V/-14V to 0V/5V (and to transmit, you would need to convert the other way).
As for the signals, you will need to look at the specs in those documents. Others on the forum may have had some experience with these types of signals...
Re: flowcode pulse generated and read the bits in the AC (14.25V
Posted: Wed Feb 25, 2009 10:00 am
by tech
Steve,
You have an example (Flowcode) to generate send and receive signale ??
Re: flowcode pulse generated and read the bits in the AC (14.25V
Posted: Wed Feb 25, 2009 10:47 am
by Steve
We don't have any examples, but you should be able to work it out.
Sending is relatively easy. To send a "1", do the following:
Code: Select all
output pin low
wait 58us
output pin high
wait 58us
And to send a "0":
Code: Select all
output pin low
wait 100us
output pin high
wait 100us
Receiving will be a bit more tricky. You will need to monitor the pin and work out the length of the pulses to determine if you have received a "1" or a "0".
Re: flowcode pulse generated and read the bits in the AC (14.25V
Posted: Tue Mar 17, 2009 4:32 pm
by tech
could help me on this subject ??
I really need an example flowcode !
