Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 18th August 2008, 04:07 AM   (permalink)
Default

Quote:
Originally Posted by tech_vaibhav_eee View Post
thanks 4 replies..
k.. i am basically working on a line follower project ...i read that the microcontroller runs on very small current and and this much current cant run a dc motor...so we have to increase the value of current..how do we do that...(can l293d do this for me??)...andwhy do we worry about current in the first place?? shouldnt we just keep the voltage given to the pins in their desired range and the current will take care of itself??
please help me out..i m really confused...
First, you must determine what the load requirements are (i.e. the current that will be required). You must refer to the data sheet for your particular µC to determine what the output current for your I/O is. It can only deliver so much and does have a limit. Your I/O can drive other TTL/CMOS devices. Things of low current a so forth. For larger loads, such as a motor, will require extra drive capability. For instance, you would have to use MOSFET transistors capable of handling the current requirements of your load. The digital I/O would control the on/off function of the transistor (so a low current device controls a high(er) current device). Your µC uses transistors to drive the lines, however they are not as "big" and cannot handle as much current as a power transistor. Again, refer to the data sheet for your µC.
__________________
"Remember, you're special.....just like everyone else."
rezer is offline  
Old 18th August 2008, 04:15 AM   (permalink)
Default

In a perfect world, we could maintain the voltage and the current would take care of itself. However, this isn't a perfect world. We can only build things that do this "within limits". For example a microcontroller pin will provide 5V at any current...as long as the current is 20mA or less. It's the same thing as how a 12V power supply rated for 20A is able to provide 12V at any current less than 20A.

So for a brushed motors (which commutates themselves so you just give them straight power and they run) you can use a power N-channel MOSFET transistor where the source-drain are in series with the gate being controlled by the MCU pin. THe NMOS is placed nearest to ground so that it connects and disconnects the motor from ground- this is the simplest arrangement because the voltage that controls the MOSFET is between it's gate and source pin, and since the MCU pin voltage is relative to ground then if you connect source to ground then the gate voltage and MCU pin voltage have the same reference. THis only provides unidirectional control though.

FOr bi-directional control you need more complicated transistor arrangements like an H-bridge and support circuitry to switch the power MOSFETs. THe support circuitry mainly does two things:
-In more complicated MOSFET arrangements, it is almost guaranteed that some MOSFETs will not have their source pin connected to ground. Because now the reference point for the voltage controlling the transistor isn't the same as the reference voltage that the MCU pin is using anymore, you need some circuitry to take the voltage between MCU pin and ground and "float it up" to become the voltage difference between the MOSFET's gate and source pin.

- to make the MOSFET turn on faster and spend less time in between on and off where it wastes the most energy and heats up the most. THis is important for high frequency switching for things like speed control where the MOSFET spends a lot of time moving between on/off and does so frequently.
__________________
NO, that picture isn't me so don't bother asking if we can be friends.

Last edited by dknguyen; 18th August 2008 at 04:25 AM.
dknguyen is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Book suggestion, basic electronics edeca General Electronics Chat 12 26th June 2008 07:41 AM
very basic electronics for student jumides General Electronics Chat 3 2nd February 2008 02:34 PM
What is a good book for basic electronics? Souper man General Electronics Chat 9 18th May 2007 09:57 AM
basic electronics question Super Mario General Electronics Chat 5 11th December 2003 05:43 AM
What basic electronics book do you recommend :)) Super Mario General Electronics Chat 3 1st November 2003 06:23 PM



All times are GMT. The time now is 04:13 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker