DC Servo Motor Control System

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

КОМЕНТАРІ • 14

  • @Pakhomeguns
    @Pakhomeguns Рік тому +1

    I was waiting for this video😊😁🤩

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

      Sorry it took so long to get together. Let me know what you think!

    • @Pakhomeguns
      @Pakhomeguns Рік тому +1

      @@CircuitSecrets I don't have a good ear for English and even I understood everything, good video brother! I will study line by line the motor controller code

    • @CircuitSecrets
      @CircuitSecrets  Рік тому +1

      @@Pakhomeguns Thank you!

  • @Mecatronica_Aplicada_CesarVas
    @Mecatronica_Aplicada_CesarVas 5 місяців тому

    Saludos Cesar Vasquez de Republica Dominicana ,Gracias por compartir sus conocimientos ,me gustaria saber si puedo leer las señales Step y Dir sin interrupciones del arduino,y como modificarla en su codigo,tengo un proyecto similar pero ejecutandose en Visual Basic 6.0, entre en mi canal para que pueda ver lo que he hecho,me gustaria ahora controlar mi cnc con GRBL y asi tener mas opciones ,pero la quiero controlar con dos arduinos ,uno con GRBL cargado y el otro con el codigo de control de los motores, gracias por todo

    • @CircuitSecrets
      @CircuitSecrets  5 місяців тому

      I would use a visual studio app for a gcode sender and control unit for the cnc. You can send code with that through the serial port and synchronize operations of the GRBL board. Motor control boards need to track both the input step and direction, and feedback from the encoder to adjust motor position. I hope this helps, good luck!

    • @Mecatronica_Aplicada_CesarVas
      @Mecatronica_Aplicada_CesarVas 5 місяців тому

      @@CircuitSecrets Gracias por Contestar,excuseme que parece que no me explique bien,con respecto a su proyecto , me gustaria ver la forma de leer las Señales Step y Dir en el arduino pero sin Utilizar Interrupciones Externas como estas ISR(PCINT1_vect)
      //read the data from port C the first two bits, ignore all others
      grblStepData=PINC & 0b00000011; sino hacerla de otra forma si la hay, con respecto a mi proyecto yo logre controlar los motores de mi CNC en Visual Basic enviandos los comabdos via serial y el arduino lo recibia y lo comparaba con la lectura de los encoder para ejecutar los movimientos ,en mis videos podra ver mi trabajo y si le intereza puede descargar los archivos que estan disponible, gracias por todo

  • @satguyou
    @satguyou Рік тому +1

    If I use are arduino uno, I had a wire is going to be on the same pins as the nano, for the home built encoder. Or can you show a picture of wiring for encoder using uno, not nano.

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

      Just use the same numbered pins and it should work fine. Digital pins 2 and 3 are used for the encoder. The nano and uno are pretty much the same I used the nano because they are cheaper and come in three packs which is perfect for three axis of motor control. Remember you still need another arduino for the grbl interpreter.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD 6 місяців тому

    Hello, is it strictly necessary for the encoder to emit two signals A and B? Could a motor run with just a signal?

    • @CircuitSecrets
      @CircuitSecrets  6 місяців тому

      The encoder provides feedback so the steps can be measured. Traditional cnc machines use stepper motors that move in steps, a D.C. motor has no steps so the movement must be measured. With this design a D.C. motor will simply keep turning if the control board receives a step command..

    • @TornoyfresadoraRD
      @TornoyfresadoraRD 6 місяців тому

      @@CircuitSecrets I have been able to notice in other examples of similar codes that the signals leave a gap causing the machine to ultimately not execute the movements with exact precision. Something similar has happened to you.?

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

    i am lost. How do i get 3 Arduino's to work together from one pc. how do i link them?? I am going to make a motor. controller. just need some help. can you put up a picture of how to wire them altogether?? I got it. Had a brain fart

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

      The Arduino based grbl control board takes gcode from the computer and creates step and direction pulses on 3 separate channels(one for each axis). Each of the arduino motor controllers takes step pulses and controls an single axis. Look at any wiring diagram of a grbl control board connected to motor controllers, and replace the motor controllers with the arduino based motor controllers. P.C.>GRBL>>>motor controllers. Each of the 3 motor controllers has encoder, hbridge, power, ground, step and direction connections. The step and direction connections go to the GRBL board step and direction connections. I hope this helps, if not, let me know and I will try to create a wiring diagram and package it with the source code for the controller.