Hey guys, ok my father is really into his model railway stuff, for those that don't know, most modern model railway systems use a system called DCC, whereby 0v and 16V are constantly sent through the track, then each train has a decoder which receives a signal through through the track which tells the decoder how fast to make the train go, how to stop and how to control the lights. Each decoder has it's own address which allows like 5 trains to be running at once.
Now these systems can be expensive, many different companies make different versions, but all tend to use the NMRA protocol for communications.
Now I want to make something similar but much cheaper, I want it to be PC controlled, and it will no be using the NMRA protocol.
Now I here is how I was going to have it setup.
I want a power supply to power the tracks (no big problem), I need a command circuit connected to the PC (no big problem) and a very small circuit on the train to control lights and motor etc via FETs.
The command and train circuits I want to be picaxe controlled for simplicity.
My problem is, how do i send, 0v, 16V and a serial signal down just 2 tracks? Is there anyway of doing it?
The only other idea i could think of was to switch off power to the tracks while a serial signal is being sent, so how long does it take to send the serial signal? as I guess that would depend if it is possible as it would be no good if it noticably affects the train, but then the picaxe on the train will not have any power to run itself, remembering this circut must be very small.
I will eventualyl then make a PC program hopefully to control it all via the PC.
My only big problem at the moment is sending the signal down the track. Any ideas? Any was of making a filter or something?
Your thoughts would be greatly appreciated
Regards
DJH
Now these systems can be expensive, many different companies make different versions, but all tend to use the NMRA protocol for communications.
Now I want to make something similar but much cheaper, I want it to be PC controlled, and it will no be using the NMRA protocol.
Now I here is how I was going to have it setup.
I want a power supply to power the tracks (no big problem), I need a command circuit connected to the PC (no big problem) and a very small circuit on the train to control lights and motor etc via FETs.
The command and train circuits I want to be picaxe controlled for simplicity.
My problem is, how do i send, 0v, 16V and a serial signal down just 2 tracks? Is there anyway of doing it?
The only other idea i could think of was to switch off power to the tracks while a serial signal is being sent, so how long does it take to send the serial signal? as I guess that would depend if it is possible as it would be no good if it noticably affects the train, but then the picaxe on the train will not have any power to run itself, remembering this circut must be very small.
I will eventualyl then make a PC program hopefully to control it all via the PC.
My only big problem at the moment is sending the signal down the track. Any ideas? Any was of making a filter or something?
Your thoughts would be greatly appreciated
Regards
DJH