controlling your trains with an arduino


Posted on Feb 6, 2014

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It`s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by co


controlling your trains with an arduino
Click here to download the full size of the above Circuit.

ntrolling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring ) and the Arduino development environment (based on Processing ). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e. g. Flash, Processing, MaxMSP). The boards can be built by hand or purchased preassembled; the software can be downloaded for free. The hardware reference designs (CAD files) are available under an open-source license, you are free to adapt them to your needs So, I recently purchased an Arduino Mega Microcontroller with the intent to control a Model Railway with it. This article will be the first in a series to show you how to use an Arduino to control different areas of a layout. Our first goal will be to create a controller/throttle with very basic Acceleration/Braking and a 12v DC Pulse Width Modulated output. In the end I chose to use the schematics and information from the guys at pyroelectro. com which uses the L298 H-Bridge integrated circuit. My main reasoning was that, although they used a PIC microcontroller, they correctly controlled the L298 with PWM on it`s input rather than it`s enabling pin. Either way, the PWM signal is still created. Right, what do you need to know. The PWM pins are labelled on your Arduino board. By default they output a PWM signal when you feed an analogWrite(pin_number) to...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    IR Encoder/Decoder with PIC12C508
    9-V-battery-life-extender
    galaxi digicolor 26 chassis ittsel
    volume controller equalizer
    I2C Anemometer cheap wind data logger
    Accident Prevention and Security System for Automobiles
    ASTABLE BLOCKING OSCILLATOR
    High Power Solid State Amplifier



    Top