Go Down

Topic: PWM & DCC (model trains) (Read 3530 times) previous topic - next topic

tfoote

I would like to make my Own DCC system. It uses PWM to send packets of data to the trains. However, Arduino operates at 5V. I need the PWM to be 12V. How do i step up that voltage but still keep the integrity of PWM?
Thanks
tfoote

retrolefty

#1
Nov 21, 2012, 03:20 am Last Edit: Nov 21, 2012, 03:29 am by retrolefty Reason: 1

I would like to make my Own DCC system. It uses PWM to send packets of data to the trains. However, Arduino operates at 5V. I need the PWM to be 12V. How do i step up that voltage but still keep the integrity of PWM?
Thanks
tfoote


Well don't reinvent the wheel, see what others have been doing. A quick goggle coughed up this promising site:

http://opendcc.sourceforge.net/

Here is another link showing a arduino wired to a DCC interface using a TI H-drive chip:

http://www.oscale.net/en/simpledcc

Lefty

tfoote

I can get past the programming. What i'm looking for is how do i boost the power from 5v to 12v

retrolefty


I can get past the programming. What i'm looking for is how do i boost the power from 5v to 12v


Build this interface I guess:  http://www.oscale.net/en/simpledcc

Lefty

Go Up