Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 23rd June 2007, 11:33 PM   (permalink)
Default Low Output Current Help !!!!! Any one

hi i have a problem . when i setb some pins connected to a lcd or a relay nothing happen . ? i guess the problem in the output current so is there any way to get more current when i set the pins !?. i checked it wid a led and it works properly but not with the device it self . !!!!!!!
__________________
To BE or Not To be is the Question,
Eng.Remon is offline   Reply With Quote
Old 23rd June 2007, 11:37 PM   (permalink)
Default

Oh btw i tried a transistor and pull up resistor . it only works wid a photo coupler ic. or 2 inverters in sequence . which will make the pcb large and not logical solution in fact :S .
__________________
To BE or Not To be is the Question,
Eng.Remon is offline   Reply With Quote
Old 24th June 2007, 09:31 AM   (permalink)
Default

Please post some schematics as it's hard to visualise what you're talking about.

You do need a transistor buffer to operate the relay but you also need a diode in reverse parallel with the relay to absorb the back EMF.


http://www.uoguelph.ca/~antoon/gadge...ys/relays.html

There's nothing critical anout this circuit, here's another example.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez

Last edited by Hero999; 24th June 2007 at 09:34 AM.
Hero999 is online now   Reply With Quote
Old 24th June 2007, 10:47 AM   (permalink)
Default

umm For example i want to connect the lcd with the micro controller. so nothing would happen if i connect it directly to the ports. but if i put the 2 inverters which leads to the same output it works :S so i guess the problem in the current coz the voltage is ok . i tested it with a led and it is right .also it works when i put 2 inverters in sequence .
__________________
To BE or Not To be is the Question,
Eng.Remon is offline   Reply With Quote
Old 24th June 2007, 11:10 AM   (permalink)
Default

That's nice but without a schematic, it's hard for us to help you.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
Hero999 is online now   Reply With Quote
Old 24th June 2007, 12:31 PM   (permalink)
Default

schematic for what ?! it is at89c51 and p1 is output for the lcd and there is p2.0 to p2.2 3 control pins for enable and read and write . but when i connect them to the microcontroller pins no output . but when i put 2 inverters to give the same output as if i just get from the uc it gets output .
If u need schematic tell me what schematic u want.
__________________
To BE or Not To be is the Question,
Eng.Remon is offline   Reply With Quote
Old 24th June 2007, 12:45 PM   (permalink)
3v0
Default

Quote:
Originally Posted by Eng.Remon
schematic for what ?...If u need schematic tell me what schematic u want.
Herro999 is not being unreasonable. It was only in your last post that you told us what uC you are using. Port drive current differs so it makes a difference in regards to you problems.

When talking about the relay give the schematic with the uC and relay. Unless you are using a tiny relay with a low current coil you need a transistor.

The LCD does not require much current but can be hooked up several different ways. Again the schematic.

You can draw simple schematics using a paint program. Or if you want to get a leg up on making PCBs use Eagle's schematic editor. It has an export function that allows you to create an image you can post.
3v0 is offline   Reply With Quote
Old 24th June 2007, 01:07 PM   (permalink)
Default

So far, I've only used ATTiny... but doesn't the LCD need 5v logic levels? Relay needs a driver. What's you power source? Regulated? Decoupling capacitor? Got a diode across the relay? A schematic of your circuit would have answered all these questions and more.

I usually simulate a circuit on the computer before I build, but my program doesn't do MCUs, so I do a quick sloppy sketch to keep my pins straight while wiring it up on the breadboard. I've gotten help here just off a scan of the sketch, and many times from poor digital photos.

The LCD may not be intialized proper, wrong clock or delays. Contrast might not be set, backlight... You most understand that without pictures, and very few details, its tough to visualize what you have done, and to see what went wrong.
HarveyH42 is offline   Reply With Quote
Old 24th June 2007, 03:56 PM   (permalink)
Default

Eng.Remon:
LCD's have more conditions compared to a Relay to be properly driven and high current on the logic lines is not one of them.

1. Do you mean the LCD backlight leds are working with the addition of 2 inverters?
2. Are you monitoring the voltage out the microcontroller pins with a voltmeter or o-scope and the LCD load unattached and attached?
donniedj is offline   Reply With Quote
Old 25th June 2007, 10:54 PM   (permalink)
Default

donniedj yea it deos. and i monitory the voltage on the pins of uc using voltmeter and it is around 4 to 5 volt . i ll try to attache the schema which works wid .
__________________
To BE or Not To be is the Question,
Eng.Remon is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Expert Stabilised Power Supply with Current Limiting mechie Electronic Projects 36 11th March 2008 07:16 PM
TC4427A (H-bridge), Output current, Long term Halo Electronic Projects Design/Ideas/Reviews 1 6th March 2007 06:58 PM
Adjustable Current Output moctod Electronic Projects Design/Ideas/Reviews 8 20th February 2007 01:55 AM
Headphone current limit Oznog Electronic Projects Design/Ideas/Reviews 2 8th May 2006 02:39 PM
Variable current output... Night Thrasher Electronic Projects Design/Ideas/Reviews 2 19th March 2004 02:21 PM



All times are GMT. The time now is 08:58 AM.


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