Loading

NuMechRon Clock on Arduino

by JeroenJonkman, published

NuMechRon Clock on Arduino by JeroenJonkman Dec 30, 2017

Tags

Design Tools

Sketchup

Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

15187Views 1263Downloads Found in Electronics

Summary

What a lovely design and a joy to build, Victorrr161 has done a great job.

I have changed the controls to the Arduino Nano and the stepperboard with the ULN2003A.

The main frame had two mounting studs, these were removed as the Arduino bracket is mounted using the bolts that hold the spring. Print V0038-009A_Arduino.stl for this.

The .ino file is stored in the NuMechRon_Arduino_ino_code.txt and can be copied/pasted.

The Arduino Nano and stepperboard slide into the ArduinoNano_Stepperboard_Bracket.stl and are tacked with a small drop of hot glue.

Print Settings

Printer:

EmotionTech MicroDelta Rework

Rafts:

No

Supports:

No

Resolution:

0.2mm

Infill:

20%

Post-Printing

Solder the ArduinoNano to the stepperboard according to the comment in the .ino file:

// Wiring:
// Connect pin GND of the Arduino to pin GND of the stepper board
// Connect pin 5V of the Arduino to pin VCC of the stepper board
// Connect pin A1 of the Arduino to pin IN4 of the stepper board
// Connect pin A2 of the Arduino to pin IN3 of the stepper board
// Connect pin A3 of the Arduino to pin IN2 of the stepper board
// Connect pin A4 of the Arduino to pin IN1 of the stepper board

More from Electronics

view more

All Apps

Upgrade this Thing with Thingiverse Apps

Customization

Edit, personalize, or revise this Thing


With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Cool, I assume you will need to re-calibrate the clock after a power outage?

After a power outage just turn the numbered wheels by hand to the correct time.

That's easy. I thought you will need to dig into the Arduino again if someone trips on the plug.

Thanks you JeroenJonkman for your help.

Now she turn in the right direction but i have another problem. My motor has trouble to push the minutes drum (he block after 60 second).
Do you know if it possible to change the power ? Or How can i fix that.

Thanks again for your reactivity.

Hi Nimytz,

you can change the code for testing purpose, delete the number 30943 and enter 1000, then upload.
This will make the clock run fast, so you don't have to wait a full minute to see the blockage.
I don't know about increasing power, but with a smooth running clock this is not needed.

Take a good look at friction points and the engaging of the pushing parts. They all need to run smooth when pushed with very light force.
Also check the position of the printed springs, mine are just touching the part, just enough to keep the drum from rotating any further after being pushed to a new position.

Good luck, hang in there!

Hello Nimytz,

to change the direction of rotation please delete the following 4 lines from the code:

define OUT1 A1 // Connect pin A1 of the Arduino to pin IN4 of the stepper board

define OUT2 A2 // Connect pin A2 of the Arduino to pin IN3 of the stepper board

define OUT3 A3 // Connect pin A3 of the Arduino to pin IN2 of the stepper board

define OUT4 A4 // Connect pin A4 of the Arduino to pin IN1 of the stepper board

and replace them with these:

define OUT1 A1 // Connect pin A1 of the Arduino to pin IN1 of the stepper board

define OUT2 A3 // Connect pin A3 of the Arduino to pin IN2 of the stepper board

define OUT3 A2 // Connect pin A2 of the Arduino to pin IN3 of the stepper board

define OUT4 A4 // Connect pin A4 of the Arduino to pin IN4 of the stepper board

Upload to the Arduino and now the motion should be reversed.

Goodday!

Or reverse the order of inputs to the stepper driver, I have 2 different versions of the stepper driver, ones turns the right way but the other wrong. Reversing the order of the connections IN1 to iIN4 reverses the direction of the motor.

Hello,

Really a Good job i just finished my welds but she turns upside down. How can i change that ?

Thansk again !

Hi Ghano, yes, this is easy to fix:

if your clock is slow, this means the pause time is too long.

In your case you should change the value of 30943 in line 25 into ((3570/3600)*30943=) 30685.
The first number is the measured seconds per hour (30 seconds short of 1 hour = 3570 seconds)

I hope this helps, greetings!

Hi, i'm using your code for this project and it works but i've got a little problem, the clock loses time. For example every hour it loses at least 1/2 minutes, how can i fix it? There something in your code that i can change to try if it will work? Thanks

Top