Fun with Arduino 35 Turn Table Control with a Stepper Motor

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 23

  • @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 років тому +1

    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 років тому +1

      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

  • @brucewoods9377
    @brucewoods9377 4 роки тому

    Hi Rudy, how to implement self “calibrate” (aka Find Zero) at start up. Can you advise please?

  • @johnmarshall2660
    @johnmarshall2660 5 років тому +1

    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 років тому +1

      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 ?

  • @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 UA-cam 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 UA-cam you can enable German subtitles.

    • @manfredosthoff4112
      @manfredosthoff4112 Рік тому

      @@rudyshobbychannel Hello Rudy. Many thanks for your answer. I have set the language to German on UA-cam, 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 ua-cam.com/video/NT2zpQwa0xc/v-deo.html 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.