Fun with Arduino - a Series of Introductory Videos

A series of tutorial videos for those who wish to learn more.
User avatar
RudyB
Posts: 37
Joined: Fri Jan 04, 2019 2:26 pm
Location: Netherlands
Contact:

Fun with Arduino 29 DCC Accessory Decoder

#51

Post by RudyB » Mon May 06, 2019 11:38 am

With the aid of very little extra hardware we can use Arduino as a DCC decoder, with a price tag that is almost 10x lower than commercially available decoders. In this video we create a DCC Accessory Decoder. In the next video we'll make a DCC Servo Decoder.

In stead of DIY, alternatively you can use the ARCOMORA software, which is fully configurable via a user interface.


Link to Fun with Arduino 29 DCC Accessory Decoder


Image

User avatar
RudyB
Posts: 37
Joined: Fri Jan 04, 2019 2:26 pm
Location: Netherlands
Contact:

Fun with Arduino 30 DCC Servo Decoder

#52

Post by RudyB » Mon May 13, 2019 11:10 am

Based on the code for the DCC Accessory Decoder we can create a Servo Decoder. All we have to do is add a couple lines of code to toggle the setpoint of the servo, based on the DCC status, and add the code to rotate the servos based on a millis() timer.

Link to Fun with Arduino 30 DCC Servo Decoder


Image

User avatar
RudyB
Posts: 37
Joined: Fri Jan 04, 2019 2:26 pm
Location: Netherlands
Contact:

Fun with Arduino 31 Stepper Motor with 4 Pulse Driver

#53

Post by RudyB » Thu May 23, 2019 11:45 am

With some applications a stepper motor is prefered over a servo. For instance for the continuous rotation of say a wind mill model. Or with applications like a turn table, a linear shift table or an elevator, a stepper motor can be of great help thanks to the accurate positioning that is possible.

In this video we connect a very cheap (less than $2,-) toy motor to our Arduino and run it. In the coming videos we'll look at features like change directon, speed control and accurate positioning, and we'll look at more powerful motors and drivers.

Link to Fun with Arduino 31 Stepper Motor with 4 Pulse Driver


Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest