electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

ATMEGA 16L output current


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> ATMEGA 16L output current
Author Message
Davood Amerion



Joined: 01 Mar 2005
Posts: 589
Helped: 90
Location: Persia


Post18 Jul 2005 7:36   

atmega8 output current


Hi everybody;

I am using ATMEGA16L for STEPPER motor control. Port A and port D which i use az output, unable to produce enough current, say 10mA. The output current is as low as 200uA!

whats wrong?


Last edited by Davood Amerion on 18 Jul 2005 7:56; edited 1 time in total
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post18 Jul 2005 7:51   

atmega32 output current


Most of microcontrollers have only very weak pull-ups at their ports, so to source current you will need a buffer.
However, the outputs should be able to sink ≈10mA..
Regards,
IanP
Back to top
Davood Amerion



Joined: 01 Mar 2005
Posts: 589
Helped: 90
Location: Persia


Post18 Jul 2005 8:04   

atmega current port


dear IanP;
This type of microcontroller capable to driving min. 10mA and I configure output as totem pole (PORTA reg. and DDRA reg.). I think the problem is in software, but i dont now where!
Back to top
Google
AdSense
Google Adsense




Post18 Jul 2005 8:04   

Ads




Back to top
bamdad



Joined: 14 Nov 2001
Posts: 116
Helped: 5


Post18 Jul 2005 10:06   

atmega8 source current


Maybe the micro is damaged, I have an AtMega16 (not the L version) which is driving 30mA on one of its port pins (port A I think)
Back to top
Davood Amerion



Joined: 01 Mar 2005
Posts: 589
Helped: 90
Location: Persia


Post18 Jul 2005 10:14   

atmega outputs


I found answer. i define init() function but I dont use it!
anyway;
Thank you for your attention.
Back to top
Bingo600



Joined: 26 Aug 2004
Posts: 239
Helped: 14


Post19 Jul 2005 21:44   

atmega16 current output


Remember on most Atmega's

The Port A (ADC) gets it Power from AVCC (even if used as a normal pin) so you always need to connect AVCC & AGND.

Remember decoupling caps

/Bingo
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> ATMEGA 16L output current
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
increasing number of input/output pins in atmega 16 (2)
atmega 8 current consumption (1)
LNA current output+Mixer current input.Need matching?Help Me (3)
Help:Canceling the spikes of current mirror output current (5)
AC current to logic output (2)
High output current (4)
Equation output current (1)
OTA OUTPUT CURRENT (3)
Differential Output Current (1)
Battery maximum output current (8)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS