Connect with us

2ch remote with l298n and nema 17 connection

Discussion in 'Microcontrollers, Programming and IoT' started by vojotic, Apr 1, 2015.

Scroll to continue with content
  1. vojotic

    vojotic

    7
    0
    Apr 1, 2015
    Dear all,
    I need help about connecting these three things, if possible...
    I have 2ch remote control, l298n driverboard with manual speed adjustments and forward and backward rotation, and nema 17-with 6 wire.
    Driver board l298n and nema 17 step motor work fine, but i just can to operate with it manualy(dont have arduino uno mcu). so i got from a friend, this 2 ch remote control, and i got idea to connect all of this three things to work together.
    But i i dont know how to connect 2ch remote with l298n and stepp motor to work. I just want to control stepper motor to go forward and backward with remote control.
    I have attached photo of this things
    On 2ch remote control there are 8 wire connections(12 dc input + and -, and some A B C,A B C connections)
    on l298n board (also 12v dc input + and - for motor, COM, and A B C D output for stepper motor), and 6 pins -first two for 5v dc power supply for board, and some INC DEC CP DIR pins, dont know what for)


    If someone know how to connect this, pls hpl

    Thanks
     

    Attached Files:

  2. BobK

    BobK

    7,682
    1,686
    Jan 5, 2010
    A stepper motor needs a constant stream of pulses in order to run. You don't have anything that will provide that, unless you plan on pushing a button on the remote 200 times for each rotation of the shaft.

    Tell us more about what you are trying to accomplish.

    Bob
     
  3. vojotic

    vojotic

    7
    0
    Apr 1, 2015
    I was excepting this answer. i just want to make simple linear actuator for something not heavy(because stepp motor is weak). so i need to control that actuator with remote("bed goes up, bed goes down"), simple. that is it.
     
  4. BobK

    BobK

    7,682
    1,686
    Jan 5, 2010
    Then the remote has to start a circuit that will put out the exact number of pulses for the needed number of steps with the proper timing, and set the desired direction. A microcontroller is simplest hardware you could do this with. You cannot simply hook up the parts you have and make this happen.

    Bob
     
  5. vojotic

    vojotic

    7
    0
    Apr 1, 2015
  6. vojotic

    vojotic

    7
    0
    Apr 1, 2015
    Hi all need simple help about wiring this alltogether, this three things:
    1) dc motor
    2) 2 ch remote contorl
    3) two limit switch
    I would like to click "A" for up and it stays on till first limit switch is reached. Then hit "B" for down till second limit is reached.

    I already have connected dc motor to 2 ch remote control just like this, and it works great:
    I [​IMG]

    So i need to connect this two limit swiches somwhere on this wires, that is my qustion
    I have limit swich like this
    [​IMG]

    i would connect this switches, first one between "B" on 2 ch remote, one side on C., other side on N.C. and the second switch betveen K on 2 ch remote, same on C. and on N.C
     
  7. BobK

    BobK

    7,682
    1,686
    Jan 5, 2010
    You can connect both the limit switches in series with either of the power leads or the motor leads using the NC contacts. That way, if neither limit switch is activated the motor runs and if either is activated it does not.

    Bob
     
  8. vojotic

    vojotic

    7
    0
    Apr 1, 2015
    That means, if the one switch is activated motor stops, that is ok, the electric circle have no connection . but how to regain the electric circle... i must manualy release the limit switch..
    maybe i am wrong
    vojotic
     
  9. vojotic

    vojotic

    7
    0
    Apr 1, 2015
    thx i connect on my way and it works yeeeeeee
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-