Model Train Speed Controller circuit

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Model Train Speed Controller circuit

Post by acestu »

Hi,

A member of my family has had a model train set for Christmas, however it was bought second hand and the mains speed controller is missing, the engine has a 12 volt dc motor so I wondered if anybody had a circuit that would work for this application please, I am thinking that a 12 volt transformer and a pic circuit using PWM and possibly an LCD for indication of speed, any info would be appreciated...

Edit
I was thinking of using a pic to create the pwm signal and do the LCD display and using a h bridge chip to drive the motor ?

Thanks In Advance
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Model Train Speed Controller circuit

Post by Steve001 »

I have some circuits somewhere i will dig them out for you . . i would recomened output short circuit protection as things do get dropped across the tracks :( you know what kids are like :D

Jan Lichtenbelt has also done some railway stuff too

steve
Success always occurs in private and failure in full view.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: Model Train Speed Controller circuit

Post by acestu »

Hi Steve,

That sounds just the job, I would love to have a look at those....

thanks
Acestu :D
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Model Train Speed Controller circuit

Post by Steve001 »

Have a look at these there is good stuff here , going to have a look for stuff tonight


http://opendcc.sourceforge.net/

http://www.newrailwaymodellers.co.uk/el ... ontrol.htm

http://www.minidcc.com/

http://www.trainelectronics.com/miniDCC/index.htm

http://www.next.gr/other-circuits/model ... 14240.html

these should get you started

attached is a manual with some info Files are compressed with 7-Zip Please change .txt to .7z as a file ext as wasn't allowed to upload attachment

http://www.7-zip.org/

i Have a better system somwhere but don't know at the moment it's a old maplin kit from the 80's you could try and google for it it was a digital control unit for 14 trains

Steve :)
Attachments
UserReferenceManual-PID684SV.txt
(247.88 KiB) Downloaded 348 times
Success always occurs in private and failure in full view.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: Model Train Speed Controller circuit

Post by Steve001 »

this is the on that jan did

http://www.matrixmultimedia.com/article.php?a=677

steve
Success always occurs in private and failure in full view.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: Model Train Speed Controller circuit

Post by acestu »

Hi Steve,

Thanks for taking the time to dig these articles out, I am just going to have a look at the last one you posted which looks interesting....

Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

Post Reply