Offline
Jr. Member
Karma: 1
Posts: 53
|
 |
« on: June 17, 2012, 08:55:05 am » |
Hi! I'm using an L293B to drive motors. As an Input I'm using an arduino pin and the output is constantly on approximentaly 0.5V. This is how I connected it (IGNORE the left side!) http://upload.dev-ch.com/0f3834d3a34a169c/screen399.jpgOn the left side, I connected the wires to the input instead of the output for testing purposes. On the right side I connected the 3 wires to the output, but for some reason it is always 0.5V. Any ideas?
|
|
|
|
« Last Edit: October 02, 2012, 02:27:25 am by DevilsChild »
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #1 on: June 17, 2012, 10:54:00 am » |
Have a written shematic?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 1
Posts: 53
|
 |
« Reply #2 on: June 17, 2012, 01:08:32 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #3 on: June 17, 2012, 01:56:16 pm » |
I mean your shematic in how your wiring it, that gives a bunch of examples, what are you trying to power?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 1
Posts: 53
|
 |
« Reply #4 on: June 17, 2012, 01:58:58 pm » |
By schematic you must mean the screenshot in the OP. As for the code: I'm controlling floppy drives and this works without a driver up to 20 drives. For more, I need a driver, but then it doesn't work at all. The input is a sound signal and the output is constant 0.5V, but I don't understand why.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #5 on: June 17, 2012, 02:06:34 pm » |
Yeah sorry, got lost following those wires around, usually there's a written plan on paper or something Your not applying the sound signal to the input right? Its for either a logic high or low input not a varying ac signal the output is digital in a sense, each part of the hbridge is fully on or off not amplifying I don't know how the floppy drives work with an ac signal but maybe im getting the wrong idea somewhere, if you want to amplify an analog signal then maybe you could look into using a transistors or mosfets in the linear region to amplify the ac
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 1
Posts: 53
|
 |
« Reply #6 on: June 17, 2012, 02:22:58 pm » |
Hello, the with instructions is this one: http://xload.dev-ch.com/37bc8724fecfd8f5/l293b.pdfAnd I'm not using an analog audio signal. Instead I'm using a 50% duty cycle digital signal for the input and expect the same for the output only with higher current. Btw: On the right side, the 3 wires are not connected to the IC output but to the arduino pins directly, which works. But once I connect them to the IC output, it doesn't work.
|
|
|
|
|
Logged
|
|
|
|
|
Anaheim CA.
Offline
Edison Member
Karma: 31
Posts: 2305
Experienced old Whitebeard with a Full head of Hair...
|
 |
« Reply #7 on: June 17, 2012, 02:37:37 pm » |
What are you controlling on those floppy drives and why?
Doc
|
|
|
|
|
Logged
|
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #8 on: June 17, 2012, 05:31:17 pm » |
That link is to the datasheet for the l293b, not really instructions
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6597
Arduino rocks
|
 |
« Reply #9 on: June 17, 2012, 05:51:39 pm » |
You have pin 8 connected to ground. pin 8 is the motor positive supply.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 3
Posts: 1712
|
 |
« Reply #10 on: June 17, 2012, 06:58:00 pm » |
Yea that could garuntee it not working
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 1
Posts: 53
|
 |
« Reply #11 on: June 18, 2012, 11:37:50 am » |
You're damn right there  I finally got it working by attaching pin 8 to 5V of the PSU. Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
|