Society of Robots - Robot Forum
General Misc => Misc => Topic started by: Fiery Duck on March 01, 2010, 09:55:35 PM
-
I'm using the 50$ robot tutorial for my first robot. I have parts from a VCR/DVD player combo that broke. I have 5 dc motors, 2 the same size, the rest assorted. I was thinking of using the motors, but how would I control them? Do I just plug them into the microcontroller? They are 5.9 volt and have a black wire and red wire coming out of them. Help a newb! ;D
-
Well, that depends whether you want to buy a new microcontroller?
Dc motors pull too much current, mcu pins can supply ~40mA of current, dc motors draw heaps more.
You will either have to:
1. Buy a motor controller to control the motors (requires code modifications)
2. Buy the servos.
Also note, the dc motors may be too fast, not powerful enough etc... I would go with the servos...
-
You can learn a lot from the VCR parts and there is a SoR tutorials on using VCR parts.
Here is a list of tutorials with lots of great ideas:
http://www.societyofrobots.com/member_tutorials/ (http://www.societyofrobots.com/member_tutorials/)
And the VCR robot:
http://www.societyofrobots.com/member_tutorials/taxonomy/term/9 (http://www.societyofrobots.com/member_tutorials/taxonomy/term/9)
-
Couldn't I use an H bridge? My robot book has schematics for it...but the electronic side is lost to me.(Thats why I like the idea of using roboduino on my robots) So, could anybody help me with the H bridge?
-
Yes, you could build your own H-bridge. There are many designs on the web to be found.
My point is that you can get started with very little and you will learn.
-
Hi,
Good news you have some importants parts for your future robot !
First of all read this Tito : http://www (http://www)..com/schematics_Hebrides.HTML
& then you could use L293D for integrated H bridge for a few € ($) : it's very simple to use it read datasheet from the web.
::)
-
Your link appears wrong sir?
-
Sorry !
http://www.societyofrobots.com/schematics_h-bridgedes.shtml (http://www.societyofrobots.com/schematics_h-bridgedes.shtml)
-
I've read the article, but what is a L293D? Is it some kind of IC? :-\
-
L293D is a dual motor driver.
http://www.datasheetcatalog.org/datasheet/stmicroelectronics/1330.pdf (http://www.datasheetcatalog.org/datasheet/stmicroelectronics/1330.pdf)
-
Okay, so where does it go? I think I misunderstand because the diagram looks like a basic H-bridge.(sorry for all the questions. Electronics are ...hard for me to understand.)
-
http://letsmakerobots.com/node/2074 (http://letsmakerobots.com/node/2074)
-
I found this on the internet.
What does it do?
The L293D driver subsystem is particularly useful for use with d.c. motors because it can control two motors and can drive them forwards and backwards.
How does it operate?
L293D driver circuit
Click on the circuit diagram to download a Livewire file of the circuit that you can investigate and add to your own circuit.
The L293D IC has four input signals, labeled ‘a’, ‘b’, ‘c’ and ‘d’.
The driver boosts the current from these signals. The voltage signal at each output (‘a’, ‘b’, ‘c’ and ‘d’) is high or low when the corresponding input signal is high or low. But the current available from the output pin is much higher.
So the L293D is able to drive output devices requiring quite high currents of up to 600mA from each output pin.
The main advantage of the L293D is that, unlike a transistor, Darlington driver or MOSFET, it can drive a d.c. motor in forward or reverse.
It is particularly useful for work with PICs (hotlink to data sheet).
As well as controlling d.c. motors it is useful for work with stepper motors.
If the L293D is connected to two d.c. motors as shown on the left, and input signal ‘a’ is high and input signal ‘b’ is low, then current will flow out of output pin ‘a’, through the upper motor and into output pin ‘b’.
If input signal ‘c’ is low and input signal ‘d’ is high, then current will flow out of output pin ‘d’, through the lower motor and into output pin ‘c’. So the current in the lower motor will flow in the opposite direction to the current in the upper motor, and the motors will rotate in opposite directions.
Current can only flow in one direction (the direction of the arrow on the circuit symbol) through a transistor, Darlington driver or n-channel MOSFET, – which is why they cannot be used to reverse a motor.
When current is flowing out of the L293D this is called ‘sourcing’. When current is flowing into the L293D this is called ‘sinking’
So when I plug something into one side I need to plug the corresponding wire into the opposite thing on the otherside. Sorry if that sounds really dumb.
-
There is an SoR tutorial that uses the L293 here:
http://www.societyofrobots.com/member_tutorials/node/62 (http://www.societyofrobots.com/member_tutorials/node/62)
Its a popular H-bridge and there is an lot of info around. Did you try googling L283?
-
I'll look up L283 real quick.
-
I'll look up L283 real quick.
Aaaa...Hop you don't take my typo seriously. It should be L293.....
-
No wonder anything came up... :P
I also found this website:http://www.toddholoubek.com/classes/pcomp/?page_id=394 (http://www.toddholoubek.com/classes/pcomp/?page_id=394)
Can I do this without using a switch?