Hlahisa Matla a Liboto tsa ATMEL MCU

Tlhaloso e Khutšoanyane:

1.2.Likarolo tsa AVR

Ho sebelisa RISC Reduced Taelo Set

RISC (Khomphuta e fokolitsoeng ea litaelo) e amana le CISC (Complex Instruction Set Computer).RISC ha se feela ho fokotsa litaelo, empa ke ho ntlafatsa lebelo la komporo ea komporo ka ho etsa hore sebopeho sa komporo se be bonolo le ho utloahala.Hajoale, boholo ba li-microcontroller tse tloaelehileng 'marakeng li sebelisa sete ea litaelo tsa RISC, ho kenyeletsoa AVR le ARM.ema.RISC e etelletsa pele litaelo tse bonolo ka makhetlo a mangata a ts'ebeliso, e qoba litaelo tse rarahaneng, 'me e lokisa bophara ba litaelo ho fokotsa mefuta ea lifomate tsa litaelo le mekhoa ea ho sebetsana le maemo, kahoo e khutsufatsa potoloho ea litaelo le ho eketsa lebelo la ts'ebetso.Hobane AVR e amohela sebopeho sena sa RISC, li-microcontrollers tsa AVR li na le bokhoni ba ho sebetsa ka lebelo le phahameng la 1MIPS/MHz (litaelo tse limilione motsotsoana / MHz).E ka sebelisoa maemong a hlokang matla a phahameng a komporo.


Lintlha tsa Sehlahisoa

Li-tag tsa Sehlahisoa

Lintlha

Memori e kentsoeng ea boleng bo holimo ea Flash program

Flash ea boleng bo holimo e bonolo ho e hlakola le ho ngola, e ts'ehetsa ISP le IAP, 'me e loketse bakeng sa ho lokisa bothata, nts'etsopele, tlhahiso le ntlafatso.EEPROM e hahiloeng ka nako e telele e ka boloka lintlha tsa bohlokoa ka nako e telele ho qoba tahlehelo ha motlakase o tima.RAM e nang le matla a maholo ka har'a chip e ke ke ea finyella litlhoko tsa liketsahalo tse tloaelehileng feela, empa hape e atleha ho tšehetsa tšebeliso ea puo ea boemo bo phahameng ho hlahisa mananeo a tsamaiso, 'me e ka atolosa RAM e ka ntle joaloka MCS-51 single-chip microcomputer.

ATMEL MCU board

Lithapa tsohle tsa I/O li na le lihanyetsi tse ka lokisoang tsa ho hula

Ka tsela ena, e ka behoa ka bomong e le ho kenya letsoho / ho tsoa, ​​e ka behoa (ea pele) ho kenya letsoho ho matla, 'me e na le matla a matla a ho khanna (lisebelisoa tsa motlakase li ka tlosoa), ho etsa hore lisebelisoa tsa boema-kepe tsa I / O li fetohe, li be matla, le ho sebetsa ka botlalo.tshebediso.

Li-oache tse ngata tse ikemetseng tsa on-chip

E ka sebelisoa bakeng sa URAT, I2C, SPI ka ho latellana.Har'a tsona, 8/16-bit timer e na le prescaler ea 10-bit, 'me coefficient ea karohano ea maqhubu e ka beoa ke software ho fana ka maemo a fapaneng a nako.

UART e ntlafalitsoeng ea lebelo le holimo

E na le mesebetsi ea khoutu ea tlhahlobo ea tlhahiso ea lisebelisoa, tlhahlobo ea lisebelisoa le netefatso, buffer e amohelang maemo a mabeli, tokiso ea othomathiki le boemo ba sekhahla sa baud, ho sireletsa foreimi ea data, joalo-joalo, e ntlafatsang ts'epahalo ea puisano, e thusa ho ngola lenaneo, le ho e etsa. Ho bonolo ho theha marang-rang a ajoang le ho elelloa Bakeng sa ts'ebeliso e rarahaneng ea sistimi ea puisano ea likhomphutha tse ngata, ts'ebetso ea serial port e feta haholo kou ea serial ea MCS-51 single-chip microcomputer, le hobane AVR single-chip microcomputer e potlakile ebile e sitisa. nako ea ts'ebeletso e khuts'oane, e ka hlokomela puisano e phahameng ea sekhahla sa baud.

Tšepahalang ea Tsamaiso e tsitsitseng

AVR MCU e na le potoloho ea motlakase ea othomathike, potoloho e ikemetseng ea molebeli, potoloho e tlase ea motlakase ea BOD, mehloli e mengata ea ho seta bocha (matla a othomathike, ho seta kantle, ho seta botjha, ho seta botjha ba BOD), ho lieha ho qala ho ka lokisoang Matha lenaneo ka nako efe kapa efe, e matlafatsang botšepehi ba tsamaiso e kentsoeng.

2. Kenyelletso ea letoto la li-microcontroller tsa AVR

Letoto la li-microcomputer tsa AVR tsa single-chip li felile, tse ka sebelisoang ho latela litlhoko tsa liketsahalo tse fapaneng.Ho na le limaraka tse 3 ka kakaretso, e leng:

Letoto le tlase la Tiny: haholo-holo Tiny11/12/13/15/26/28 joalo-joalo;

Mid-range AT90S letoto: haholo-holo AT90S1200/2313/8515/8535, joalo-joalo;(ho tlosoa kapa ho fetoloa ho Mega)

ATmega ea boemo bo holimo: haholo ATmega8/16/32/64/128 (bokhoni ba polokelo ke 8/16/32/64/128KB) le ATmega8515/8535, joalo-joalo.

Lipini tsa sesebelisoa sa AVR li tloha ho li-pin tse 8 ho isa ho tse 64, 'me ho na le liphutheloana tse fapaneng tseo basebelisi ba ka li khethang ho latela maemo a nnete.

3. Melemo ea AVR MCU

Sebopeho sa Harvard, se nang le bokhoni ba ho sebetsa ka lebelo le phahameng la 1MIPS/MHz;

Super-functional fokotswa taelo e behiloeng (RISC), e nang le lirekoto tsa 32 tsa morero o akaretsang, e hlola ts'ebetso ea botlolo e bakoang ke ts'ebetso e le 'ngoe ea ACC ea 8051 MCU;

Ho fihlella ka potlako ho lihlopha tsa ho ngolisa le tsamaiso ea litaelo tsa potoloho e le 'ngoe e ntlafatsa haholo boholo le katleho ea ts'ebetso ea khoutu e lebisitsoeng.Mehlala e meng e na le FLASH e kholo haholo, e loketseng haholo bakeng sa nts'etsopele e sebelisang lipuo tsa boemo bo holimo;

Ha e sebelisoa e le sehlahisoa, e tšoana le HI/LOW ea PIC, 'me e ka ntša 40mA.Ha e sebelisoa e le ho kenya letsoho, e ka behoa e le karolo ea tri-state high-impedance input kapa keno e nang le mochine oa ho hula, 'me e na le bokhoni ba ho teba hona joale ho tloha 10mA ho ea ho 20mA;

Chip e kopanya li-oscillator tsa RC tse nang le maqhubu a mangata, matla a ho tsosolosa othomathike, molebeli, ho lieha ho qala le mesebetsi e meng, potoloho ea peripheral e bonolo, 'me tsamaiso e tsitsitse ebile e ka tšeptjoa;

Li-AVR tse ngata li na le lisebelisoa tse ngata tsa li-chip: tse nang le E2PROM, PWM, RTC, SPI, UART, TWI, ISP, AD, Analog Comparator, WDT, joalo-joalo;

Ntle le ts'ebetso ea ISP, li-AVR tse ngata li boetse li na le ts'ebetso ea IAP, e loketseng ho ntlafatsa kapa ho senya lits'ebetso.

4. Kopo ea AVR MCU

Ho ipapisitsoe le ts'ebetso e ntle haholo ea AVR single-chip microcomputer le litšobotsi tse kaholimo, ho ka bonoa hore AVR single-chip microcomputer e ka sebelisoa maemong a mangata a kentsoeng a kopo hajoale.

Boto ea ATMEL MCU ke sesebelisoa sa nts'etsopele se ka tšeptjoang haholo le se feto-fetohang se etselitsoeng litsamaiso tse kentsoeng.E fana ka mefuta e mengata e fapaneng ea likarolo le mesebetsi bakeng sa lits'ebetso tse fapaneng ho tloha ho lisebelisoa tsa motlakase tsa bareki ho isa ho li-automation tsa indasteri.Bohareng ba boto ena ea MCU ke microcontroller ea ATMEL e tsejoang ka ts'ebetso ea eona e phahameng le tšebeliso e tlase ea matla.E ipapisitse le meralo ea AVR, microcontroller e fana ka ts'ebetso ea khoutu e sebetsang hantle le e matla le ho hokahana ka mokhoa o se nang moeli le peripherals le lisebelisoa tsa kantle.Boto e na le lisebelisoa tse fapaneng tsa li-peripherals, ho kenyeletsoa lithapo tsa GPIO, UART, SPI, I2C, le ADC, tse nolofalletsang khokahano e se nang moeli le puisano le li-sensor tsa kantle, li-actuator le lisebelisoa tse ling.Ho ba teng ha li-peripherals tsena ho fa baetsi ba maemo a bonolo ho aha lits'ebetso.Ntle le moo, boto ea ATMEL MCU e na le memori e kholo ea flash le RAM, e fanang ka sebaka se lekaneng sa ho boloka khoutu le data.Sena se tiisa hore lits'ebetso tse rarahaneng tse nang le litlhoko tse kholo tsa memori li ka amoheloa habonolo.Tšobotsi e ikhethang ea boto ke lisebelisoa tsa eona tse pharalletseng tsa lisebelisoa tsa ntlafatso ea software.ATMEL Studio IDE e fana ka sethala se bonolo sa basebelisi le se hlakileng sa ho ngola, ho hlophisa le ho lokisa khoutu.IDE e boetse e fana ka laeborari e pharalletseng ea likarolo tsa software, li-driver le middleware ho nolofatsa ts'ebetso ea nts'etsopele le ho potlakisa nako ea ho rekisa.Liboto tsa ATMEL MCU li tšehetsa liprothokholo tse fapaneng tsa puisano tse kenyelletsang USB, Ethernet le CAN, li li etsa hore li tšoanelehe bakeng sa lits'ebetso tse fapaneng tse kenyelletsang IoT, robotiki le automation.E boetse e fana ka mefuta e fapaneng ea likhetho tsa phepelo ea motlakase, e lumellang bahlahisi ho khetha matla a loketseng ka ho fetesisa ho latela litlhoko tsa bona tse ikhethileng tsa kopo.Ho feta moo, boto e etselitsoe hore e tsamaellane le mefuta e mengata e fapaneng ea liboto tsa katoloso le li-peripherals, e fa bahlahisi monyetla oa ho sebelisa li-module tse teng le ho eketsa ts'ebetso ha ho hlokahala.Tšebelisano ena e tiisa prototyping ka potlako le ho kopanya ha bonolo ha likarolo tse ling.Ho thusa bahlahisi, liboto tsa ATMEL MCU li tla le litokomane tse felletseng tse kenyelletsang li-database, libuka tsa basebelisi le lintlha tsa kopo.Ho feta moo, sechaba se hloahloa sa bahlahisi le ba chesehang se fana ka lisebelisoa tsa bohlokoa, tšehetso le menyetla ea ho arolelana tsebo.Ka bokhutšoanyane, boto ea ATMEL MCU ke sesebelisoa se ka tšeptjoang le se tenyetsehang sa nts'etsopele ea sistimi.Ka microcontroller ea eona e matla, lisebelisoa tsa memori tse pharalletseng, lisebelisoa tse fapaneng tsa onboard, le tikoloho e matla ea nts'etsopele, boto e fana ka sethala se loketseng bakeng sa ho theha le ho lekola lits'ebetso mafapheng a fapaneng, ho tlisa boqapi ts'ebetsong ea nts'etsopele le katleho.


  • E fetileng:
  • E 'ngoe:

  • Lihlahisoa tse Amanang