Fun with Arduino 35 Turn Table Control with a Stepper Motor

  Рет қаралды 16,618

Rudy's Hobby Channel

Rudy's Hobby Channel

Күн бұрын

Пікірлер: 23
@jonlasaronslivsstilskanal649
@jonlasaronslivsstilskanal649 Жыл бұрын
Very Nice and informative video. I am trying to wrap my head around this so i can make a device with 3 motors and 4 presets for changing the setting on a guitar amplifier. I am 48 years old and just got to project 15 in the arduino starter pack, but thanks to people like you sharing their knowledge I might actually be able to pull this off. Thanks!
@maartenvandenbosch6210
@maartenvandenbosch6210 2 жыл бұрын
Duidelijke uitleg, goede tips. Heb alvast een stappenmotor gekocht om te gaan testen. Bedankt!
@justaust4342
@justaust4342 5 жыл бұрын
another great tutorial. Could this have the Acc decoder library added to it so the turntable could be dcc controlled rather than with switches or by both? Ie each location would have a separate dcc address? Cheers Justin
@rudyshobbychannel
@rudyshobbychannel 5 жыл бұрын
I would rather opt to add a second Arduino that runs the Accessory Decoder sketch and then connect some outputs to inputs of the turntable Arduino, or use I2C.
@justaust4342
@justaust4342 5 жыл бұрын
Rudysmodelrailway Yes I agree that would make more sense. Just waiting for some 6N137 to arrive. Thanks Justin
@johnmarshall2660
@johnmarshall2660 5 жыл бұрын
Hi Rudy,I am following your youtube video with a great deal of interest as I am currently making a Turntable, the only problem I have is I want to use a Nema 17 Stepper motor and I dont think the code will run this type of motor, plus I need to create micro steps as 1.8deg per step is to much I have seen a number of sketches but have not enough knowledge to modify the one I was looking at was a A4988 or a DRV8825 which I can use 1/4 or 1/8th steps but that requires Step and DIR pins to pulse....
@rudyshobbychannel
@rudyshobbychannel 5 жыл бұрын
Just wait till video 37 ... that will be about a nema 17 motor with driver.
@johnmarshall2660
@johnmarshall2660 5 жыл бұрын
I think I may have found a answer using your sketch will try later, Use a CD4069 inventor, inputs from A1 to A4 so High pulse in gives LOW pulse out then take those outputs to a CD4012 so a LOW pulse gives a High on output...
@rudyshobbychannel
@rudyshobbychannel 5 жыл бұрын
John, there's no need to make things complicated with additional hardware. Write a comment on the blog, then I'll have your email and I can send you the nema motor code.
@johnmarshall2660
@johnmarshall2660 5 жыл бұрын
@@rudyshobbychannel Hi Rudy, most grateful ... my email is .. marshall40131@gmail.com .. Thanks John
@gustavochiarelli9572
@gustavochiarelli9572 4 жыл бұрын
Great tutorial! one question, how did you resolve the high backslash that this motor has because all the internal gears? when you stop the turntable in any position, the play is big enough so that you can move the turntable out of position by means of any small vibration or hand. I am trying to develop some kind of "break" or "locking" system to clamp the turntable in the correct position. Sorry for my English as is not my native language!
@rudyshobbychannel
@rudyshobbychannel 4 жыл бұрын
These toy motors have rather low torque and I never actually used it for a turntable ... I don't have experience with the play you mention. NEMA motors without gear don't have this play and we have that in use without issues.
@MiniatureWorld_01
@MiniatureWorld_01 4 жыл бұрын
Without rotary encoder I think your stepper mottor will likely lose steps. And the steps you've measure for each position will not match accurately. I might be wrong. But that's my experience with mine. Do you have actual implementation video of that system to your turntable ?
@brucewoods9377
@brucewoods9377 4 жыл бұрын
Hi Rudy, how to implement self “calibrate” (aka Find Zero) at start up. Can you advise please?
@chriswright6679
@chriswright6679 2 жыл бұрын
Hi Rudy, love these videos, very well presented and creative, you’ve inspired me to jump into an Arduino turn table project, as I’m a total novice, any chance you could send me the code? Ive just order the bits and am so excited to see if my project will as good as yours, Thanks, Chris In UK
@manfredosthoff4112
@manfredosthoff4112 Жыл бұрын
Hello Rudy. Using a translator, I ask if I can also ask questions in German. Your videos on KZbin are very interesting as a model railroader. Unfortunately I don't speak English and I can't understand your texts. Also, I can't find any wiring diagrams on your website. I hope you can answer me. Best regards Manfred
@rudyshobbychannel
@rudyshobbychannel Жыл бұрын
Hi Manfred. There are no wiring diagrams. In most cases it's just a couple of wires that need to be connected to Arduino pins for input or output and those pin numbers are always give in the code as a #define. As for language, in KZbin you can enable German subtitles.
@manfredosthoff4112
@manfredosthoff4112 Жыл бұрын
@@rudyshobbychannel Hello Rudy. Many thanks for your answer. I have set the language to German on KZbin, but I can't understand the text. If I understand correctly, you control the windings of the stepper motor individually? I also think I understood that you can do without a switch for the zero position? I hope I can continue to ask questions. Greetings Manfred
@rudyshobbychannel
@rudyshobbychannel Жыл бұрын
@@manfredosthoff4112 Unlike a servo motor, a stepper motor does not know where it is after startup, if you need it to accurately visit specific positions a zero sensor or -switch is needed. Stepper motors are controlled via a driver board. It depends on the type of board what kind of signals are needed, some require 4 coil control signals, some require a 'Step' and 'Direction' input.
@SONUKOL1
@SONUKOL1 4 жыл бұрын
Sir stepper motor eeprom light off acuret position control please you make video plzzzzzz🙏🙏🙏🙏 sir ji
@Westimation
@Westimation 5 жыл бұрын
Hi Rudy. I like your videos and the simple way you explain your code. I have built a few turntable drives and used PIC micros to control them: 1: An expensive geared stepper motor 144 steps per revolution geared down to 6000 steps per revolution on output shaft. 2: 11 RPM geared 12V DC motor. 3: 30 rpm small geared 6V DC motor 4: 180 degree Servos. 5: Direct drive stepper motor using micro stepping In cases I-4 gear back lash (take up slack) when reversing meant the motors did not drive to the precise position, in case 1 about 2 degrees difference on output shaft. Case 2 about 4 degrees. Even the servo suffered from gear back lash. To fix this, when reversing I add some steps (say 8) to the degrees code so the servo over ran its position and then stepped forward the same number of steps (8). You can see this in action on my Servo Turntable kzbin.info/www/bejne/hIWVq6OHrMZjrsU go to the 2 minute mark to see the back lash take up working.
@rudyshobbychannel
@rudyshobbychannel 5 жыл бұрын
Yes, to eliminate play, or rather force it to always be on the same side, a small overshoot and then a couple of steps back is a solution that mostly works well.
Fun with Arduino 37 Control a NEMA 17 Stepper Motor with Easy Driver
8:47
Rudy's Hobby Channel
Рет қаралды 19 М.
Fun with Arduino 36 Store Data in Non Volatile Memory EEPROM
6:03
Rudy's Hobby Channel
Рет қаралды 4,9 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 10 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 22 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Arduino with TB6600 using AccelStepper library
27:33
Curious Scientist
Рет қаралды 69 М.
Fun with Arduino 20 Railway Crossing Putting it all Together
10:29
Rudy's Hobby Channel
Рет қаралды 4,7 М.
Fun with Arduino 40 Station Platform Departure Sign with Clock
7:36
Rudy's Hobby Channel
Рет қаралды 5 М.
Arduino Model Railroad Turntable Part 3
13:38
Orange Lab Engineering
Рет қаралды 9 М.
AS5600 magnetic position encoder - best encoder for stepper motors
48:18
Curious Scientist
Рет қаралды 112 М.
S2 E27 This Model Railway Turntable Controller is Amazing
30:04
Bexhill West
Рет қаралды 10 М.