Search found 49 matches

by RudyB
Mon Aug 19, 2019 11:28 am
Forum: Having Fun with Arduino
Topic: Fun with Arduino - a Series of Introductory Videos
Replies: 59
Views: 7523

Fun with Arduino 38 - Ultrasonic Distance Measurement with HC-SR04

The HC-SR04 is a sensor that has a little loudspeaker and a little microphone via which the distance to an object can be measured. It's ultrasonic, humans can not hear it. Don't expect super high accuracy of this less than $1,- costing device, yet I was pleasantly surprised to see that measurements ...
by RudyB
Mon Aug 12, 2019 11:11 am
Forum: Having Fun with Arduino
Topic: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder
Replies: 4
Views: 218

Re: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder

MARDEC software has the option to switch 1 or 2 ports in sync with operating a servo. The main application for this is to switch polarity of electrofrog turnouts. The video shows how to configure the one or two extra outputs. Link to ArCoMoRa 5 - Servo with Additional Output Ports to Switch Electrof...
by RudyB
Mon Aug 05, 2019 2:17 pm
Forum: Having Fun with Arduino
Topic: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder
Replies: 4
Views: 218

ArCoMoRa 4 - DCCnext - Configure and Tune Servos

ArCoMoRa 4 - DCCnext - Configure and Tune Servos We're going to attach a servo to the DCCnext or Arduino and configure the MARDEC software to control this servo. To make the application work the first thing to do is tune the 2 servo angles for the DCC ON and OFF state. Maybe we also have to inverse ...
by RudyB
Mon Jul 29, 2019 1:08 pm
Forum: Having Fun with Arduino
Topic: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder
Replies: 4
Views: 218

ArCoMoRa 3 - Double Port Accessories

MARDEC software has the option to switch 2 ports via 1 DCC address. A 'double flash' comes in very handy when for instance we have 2 inverse blinking lights, like with a railway crossing, A 'double one shot' is used to switch a solenoid turnout that has two coils. One port gives a pulse when the DCC...
by RudyB
Sun Jul 21, 2019 10:15 am
Forum: Having Fun with Arduino
Topic: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder
Replies: 4
Views: 218

ArCoMoRa MARDEC - Configure an output port to swith an accessory on/off.

ArCoMoRa MARDEC - Configure an output port to swith an accessory on/off. Now that the MARDEC sketch is uploaded to a DCCnext or to an Arduino, we can start to configure the 16 available ports. In this video we are going to configure port 1 to become a standard on / off accessory signal that we want ...
by RudyB
Mon Jul 08, 2019 1:44 pm
Forum: Having Fun with Arduino
Topic: Fun with Arduino - a Series of Introductory Videos
Replies: 59
Views: 7523

Fun with Arduino 37 Control a NEMA 17 Stepper Motor with Easy Driver

Several driver circuits are available to control a more powerful stepper motor like a NEMA 17. In this video the EasyDriver is used, but the software is applicable to any driver with Enable, Direction and Step inputs. Link to Fun with Arduino 37 Control a NEMA 17 Stepper Motor with Easy Driver https...
by RudyB
Mon Jul 08, 2019 12:30 pm
Forum: Having Fun with Arduino
Topic: USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder
Replies: 4
Views: 218

USB Configurable 16 Channel Arduino DCC Servo & Accessory Decoder

Part 1 - Download & Install Windows Software Model railroad hobbyist friend Nico Teering took the Arduino DCC decoder software to a whole new level. A wealth of functions are combined all into one Arduino sketch for multi-purpose DCC control of 16 pins. In a joint effort with Sergey Kopachevskiy a ...
by RudyB
Mon Jul 01, 2019 10:49 am
Forum: Having Fun with Arduino
Topic: Fun with Arduino - a Series of Introductory Videos
Replies: 59
Views: 7523

Fun with Arduino 36 Store Data in Non Volatile Memory EEPROM

Because a stepper motor does not know where it is after startup, we need a way to find out where it is. We used a zero find routine to rotate the motor until a sensor is triggered. But suppose we were able to store the last position we moved to in memory and read it our after startup? The good news ...
by RudyB
Mon Jun 17, 2019 12:11 pm
Forum: Having Fun with Arduino
Topic: Fun with Arduino - a Series of Introductory Videos
Replies: 59
Views: 7523

Fun with Arduino 35 Turn Table Control with a Stepper Motor

Now that we can find the zero switch or -sensor, and we know how to position our application by rotating an exact number of steps, we have all ingredients to build say a turn table, or a translating table or an elevator. We use a Tuning sketch to determine the number of steps for every stop position...
by RudyB
Thu Jun 13, 2019 11:02 am
Forum: Having Fun with Arduino
Topic: Fun with Arduino - a Series of Introductory Videos
Replies: 59
Views: 7523

Fun with Arduino 34 Rotate an Exact Number of Steps

Now that we can find the zero switch or -sensor, we can start to position our application by rotating the motor an exact number of steps. No matter if the motor has to make 97 steps or maybe 144668 ... as long as the motor torque and the driver electronics voltage and current suffice in order to not...