Go Down

Topic: run cnc with l293d..need help (Read 2070 times) previous topic - next topic


Sep 18, 2012, 04:36 pm Last Edit: Sep 18, 2012, 04:52 pm by saifulxy Reason: 1

I'm using l293d for my stepper driver
link for circuit:
(using 2 pin controller)

and using Gcodesender for my software.
link for gcodesender:

the problem is when i key in some code, the stepper would have sound but no moving. this happen when i not using power supply(12v) to my driver. it could be not enough current. But, when i connect the power supply to driver. the massage " A device attached to the system is not functioning" appear and stepper not function at all.

hope some one can help regarding this issue.



Could be a power issue.
What is the stepper motor rated for and how many amps does your power supply provide?

If you're using l293d you'll only be able to operate small steppers. are they connected to a load?

Have you checked that all pins are properly connected?

Have you tried running the motors  from the serial monitor by using the stepper library?

What G-code interpreter are you using?
One more thing  check the  limiter switches  if you haven't any connected  try reassigning the pins for them.


Yeah, L293s are only rated for 600mA current loads, which means small
steppers motors.

Also, where exactly does this message appear, "A device attached to the system
is not functioning"? This sounds like a PC problem, not stepper problem. The
stepper control circuit is simple open-loop, so I don't see how the Arduino software
could even know the stepper is not functioning.


Sep 20, 2012, 01:38 am Last Edit: Sep 20, 2012, 04:07 am by PeterH Reason: 1
Quote from: oric_dan(333) link=topic=123352.msg928948#msg928948

Also, where exactly does this message appear, "A device attached to the system
is not functioning"? This sounds like a PC problem, not stepper problem.

At a guess, either the operating system or the Gcodesender application are complaining that the Arduino has provoked an error on the USB interface. Without a wiring diagram it's pointless trying to guess why connecting the power supply would cause that.
I only provide help via the forum - please do not contact me for private consultancy.


Hi, You are switching power, and you may well have Electromagnetic Interference problems of various types.

Some INFO on the ArduinoInfo WIKI here - http://arduinoinfo.info   http://arduino-info.wikispaces.com/RelayIsolation
That is a place to start thinking about wiring, grounding etc.

The message you got sounds like Arduino is crashing.  I think you will need to power Arduino from a separate 9V supply etc.. 
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info


tq for all reply,

currently i just change other program, which is pronterface.

i can connect the arduino to program, but my motor not moving(only sound)

it could be problem on firmware.

someone can help regarding this issue? i'm not good in programmer..



how does the two pin configuration work for the l293d? i'm trying to build a simillar project with three of these chips and using a 4 pin configurations leaves me with almost no pins left on my arduino.


You are asking a question on a very old Thread.

If you want to drive some sort of CNC device you should use proper stepper motor driver boards such as the Pololu A4988. They only need 2 connections to the Arduino and have many other benefits.


 I want to make a cnc with arduino but  I have a problem with L293D.

When 3  motors are rotating ,they lost speed and power.
Could you help me please.
I'm using 3 steppers motors 350Am 12v, 3 L293d , arduino mega 2560,power supply ATX 800w 30A pc



 I want to make a cnc with arduino but  I have a problem with L293D.
I already replied to your question here.

Don't waste our time asking the same question in several places.



did you start your own thread with a new subject line ?

hijacking other threads is frowned upon.     


Jan 11, 2015, 11:40 pm Last Edit: Jan 11, 2015, 11:42 pm by raschemmel
 I want to make a cnc with arduino but  I have a problem with L293D.

SECOND WARNING. Next time will be reported to the Moderator.
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131