DC Servo Motor Control System

Тәжірибелік нұсқаулар және стиль

In this video I talk about a DC servo motor control system, the software and hardware of a typical home CNC machine, its wiring and operation.
Java www.java.com/en/
Universal G Code sender winder.github.io/ugs_website/
GRBL github.com/gnea/grbl/releases
DC Servo Motor Control System www.circuitsecrets.com

Пікірлер: 14

  • @satguyou
    @satguyou Жыл бұрын

    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.

  • @Pakhomeguns
    @Pakhomeguns Жыл бұрын

    I was waiting for this video😊😁🤩

  • @CircuitSecrets

    @CircuitSecrets

    Жыл бұрын

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

  • @Pakhomeguns

    @Pakhomeguns

    Жыл бұрын

    @@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

    Жыл бұрын

    @@Pakhomeguns Thank you!

  • @Mecatronica_Aplicada_CesarVas
    @Mecatronica_Aplicada_CesarVas3 ай бұрын

    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

    3 ай бұрын

    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

    3 ай бұрын

    @@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

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    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

    4 ай бұрын

    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

    4 ай бұрын

    @@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.

Келесі