del atmega8 I/O elektriniu parametru

del atmega8 I/O elektriniu parametru

Gal kas junget LED’us prie ATMEGA8-16PI? Datasheete raso, kad is kiekvieno I/O pino galima paimti 40mA srove. Prijungus LEDus i PORTD0-7 isejimo itama vietoj 4.5V pasidaro 1.5V ir diodai blankiai besviecia net nuemus varzas. Kontroleris uzkaista Baisu. Gal datasheete ne taip raso? O gal atmega8 nepritaikyta su LEDais zaisti? (Taciau internete maciau schemu kai LED prijungtas).

Tai kiek diodų prijungęs ? Šiaip tie 40mA parašyta prie Absolute Maximum Ratings* Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 4. Although each I/O port can source more than the test conditions (20mA at Vcc = 5V, 10mA at Vcc = 3V) under steady state conditions (non-transient), the following must be observed: PDIP Package: 1] The sum of all IOH, for all ports, should not exceed 400 mA. 2] The sum of all IOH, for port C0 - C5, should not exceed 100 mA. 3] The sum of all IOH, for ports B0 - B7, C6, D0 - D7 and XTAL2, should not exceed 100 mA. TQFP and MLF Package: 1] The sum of all IOH, for all ports, should not exceed 400 mA. 2] The sum of all IOH, for ports C0 - C5, should not exceed 200 mA. 3] The sum of all IOH, for ports C6, D0 - D4, should not exceed 300 mA. 4] The sum of all IOH, for ports B0 - B7, D5 - D7, should not exceed 300 mA. If IOH exceeds the test condition, VOH may exceed the related specification. Pins are not guaranteed to source current greater than the listed test condition

Jeigu ka tai varza ir dioda reik nuosekliai jungt. Man tai puikiai dega.

Per diodus max sroves neleidziu, o uzriboju per 330 omu varza, gaunasi 15mA, jei isejimo itampa 5V. Net kai sviesos diodai neprijungti prie porto, kontroleris uzkaista. Jungiant LEDa tarp porto ir zemes diodai labai blyskiai sviecia, o jungiant tarp porto ir +5V maitinimo. Yra tokia mintis, kad mikroschema sukepe kazkur, bet klaidu ploksteje neradau, perlitavus ant kitos plokstes, efektas tas pats.

Ta ir norejau is esmes suzinot ar dega diodai. O kaip juos jungi: i zeme ar i maitinima? I maitinima jungiant, speju reiks invertuota vienetu-nuliu seka paduot.

Visaip jungiu.

Pasirodo, kad AVR’as kaista, kai tuo paciu sukasi programa ir prie ISP prijungtas proramatorius. Vykdant programa prie PB6/RESET turi buti pajungta RESET grandine, o rasant i FLASH - programatorius. Gal jam nepatinka, kad viskas pajungta tuo paciu metu? Gal geriau ant programatoriaus butu padaryti lizda ir kiekviena karta perrasant flasha nesiot AVR nuo programatoriaus i schema (bet labai nepatogu)?

xz,gal nuo atskiru maitinimo saltiniu maitini ? pas mane su in-system programeriu pajungtu nekaista…

Maitinimas +5V pajungtas is kompo maitblokio tiek avr plokstei tiek programatoriui.

tai gal paturbinai ji Cha cha o siaip pazek kiek tas avr srebia,gal per daug jam

Turbint neturbinau, kvarcas mazesnio daznio nei maximalus leistinas. Idomiausia, kad kaista kontroleris (tiksliau jau iskepe Baisu Kanda ), kai prie jo prijungtas programatorius ir apkrautas portas sv. diodais. Ar gali buti, kad iskepe nuskaitant is flash su ponyprogu, kai tuo metu procas ta programa vykde (diodai sviete iki tol tvarkingai - ir dabar tebesviecia, tik nebegalima nuskaityti ir irasyti i flasha)?

hz nzn,tiesa pasakius bet matomai kad nuo to ir iskepe,nes nuo diodu negalejo iskepti… siaip jei diodai per daug srebtu dek koki kt315 ar pan tranza ir per ji junk…