Model Train Control

This code is developed to "test" drive a model train between two gates made of a LED and LDR.

Oct 7, 2016

20634 views

14 respects

Components and supplies

1

Arduino Motor Shield Rev3

1

Arduino Uno Rev3

2

Resistor 10k ohm

2

Resistor 330 ohm

2

Photo resistor

2

LED white

Project description

Code

Train Control

c_cpp

Please note that the pin numbers of LED and LDR has chanced. The pin numbers of motor control are fixed.

Downloadable files

scematic

scematic

Image

scematic

scematic

Image

Comments

Only logged in users can leave comments

Masters

0 Followers

0 Projects

+2

Work attribution

0