Arduino Saboda: komai game da wannan hukumar ci gaban hukuma

Arduino Saboda

Kila ba za ku gamsu da ɗayan kwamitocin ci gaban hukuma ba. Idan kuwa haka ne, ya kamata ku sani Arduino Saboda, wani daga cikin dandano na hukuma na wannan dandamali mai ban sha'awa. Da shi zaku iya ƙirƙirar ayyuka da yawa, kamar waɗanda suka gabata, amma a wannan yanayin akwai mahimmancin halaye daban-daban, kuma ba kawai ƙwaƙwalwa ba ne, wadatar GPIOs ko girman ...

Ina magana ne game da microcontroller wanda ya hade wannan hukumar, tunda babban guntu ba haka bane dangane da ARM. Abune mai wahala a cikin Arduino, tunda sauran sun dogara ne akan gine-ginen AVR 8-bit, yayin da wannan ɗayan hukumar ke amfani da 32-bit ISA ARM. Tabbas, wannan guntu har yanzu daga samfurin Atmel ne, kamar yadda aka saba.

Samun microcontroller na ARM baya sanya shi dacewa da Kayan lantarki binciko akan wannan rukunin yanar gizon, tunda sun dace da duk sigar Arduino.

Menene Arduino Saboda?

Ardunio Saboda

Wannan Arduino Saboda kwamiti yana da kamanceceniya da sauran allon ci gaban Arduino, kuma amfaninsa daidai yake. Wannan shine, don ƙirƙirar ɗimbin ayyukan lantarki da tsara zane-zane daban-daban don sarrafa su. Amma, kamar sauran sifofin Arduino, yana da sanannun bambance-bambance ...

Halaye na fasaha, makirci da pinout

Sabbin Arduino ya dogara ne akan MCU ko kwakwalwan microcontroller kamar su Saukewa: SAM3X8E. Kwamitin farko na Arduino wanda zai kasance bisa ARM, musamman maɓallin sarrafa 3-bit Cortex-M32. Aikace-aikace sama da 8-bit MCUs wanda sauran allon kama suke dashi.

Wannan guntu na Atmel (wanda a yanzu aka samu ta Kamfanin Microchip) ta fara jerin nata ne a shekarar 2009 don yin gogayya da nata AVRs. Wasu RISC waɗanda suke da ban sha'awa da ƙarfi fiye da waɗanda suka gabata.

Bayan wannan, kusan, ma kuna da karin filkamar yadda ya hada da nau'ikan I / O dijital 54, wanda 12 daga ciki sakamakonsu ne PWM. Hakanan ya hada da abubuwan analog guda 12, 4 UARTs (mashigin gidan kayan masarufi), da sauransu. Hakanan, ba kamar sauran allon Arduino ba, Arduino Due yana gudana a 3.3v maimakon 5v na sauran allon.

Ta yin aiki da 3.3v, Arduino Due zai dace da duk garkuwar Arduino da ke aiki a wannan ƙarfin. Amma dole ne su hadu da ka'idar pinout ta 1.0 Arduino.

Wannan kwamitin Arduino Due yana da duk abin da kuke buƙata don fara ƙirƙirar ayyukan ku, kawai haɗa shi zuwa PC ta amfani da microUSB na USB kuma fara sauke zane-zanenka don fara aiki. Kuma af, wannan USB ɗin bazaiyi aiki azaman ƙarfin waje kamar yadda yake a wasu lokuta ba, amma kuna iya amfani da adaftan AC / DC wanda ya dace da fulogin da wannan kwamitin yake haɗawa (matsakaicin tsakiya + 2.1mm).

A gefe guda, ya kamata ku ma san nasu halaye na fasaha, waɗanda aka taƙaita su a cikin:

  • Mai sarrafawa: Atmel SAM3X8E ARM Cortex-M3 32-bit 84 Mhz
  • Tunanin RAM: 96 KB (an rarraba shi a bankunan 2 na 64KB + banki 1 na 32 KB)
  • EEPROM: bashi da irin wannan ƙwaƙwalwar, sabanin sauran allon. ARM tana da ikon yin IAP (A cikin Shirye-shiryen Aikace-aikacen) a rubuce cikin walƙiya. Don haka ana iya amfani dashi don bayanan mara tasiri da adana lambar.
  • microUSB: yana da 2.
    • Mai shirye-shiryen shirye-shirye (mafi kusa da maɓallin wuta) wanda zaku zaɓi Arduino Due (ProgrammingPort) a cikin Arduino IDE. An haɗa wannan kai tsaye zuwa guntu 16U2.
    • Wani ɗan asalin (wanda ya fi nesa daga jack ɗin wutar) wanda za'a iya amfani dashi ta zaɓar Arduino Due (NativeUSBPort) a cikin Arduino IDE. A wannan yanayin ana haɗa ta kai tsaye zuwa SAM3X microcontroller.
  • Flash: 512 KB, duk akwai don shirin, tunda bootloader baya rage wani abu kamar na sauran allon Arduino
  • Voltagearfin aiki: 3.3v (kodayake yana da fil na 5v don ayyukanka, da GND ko ƙasa)
  • Input ƙarfin lantarki (shawarar)Saukewa: 7-12V
  • Input ƙarfin lantarki (iyakar iyaka)Saukewa: 6-16V
  • Digital I / O fil: 54, wanda 12 suke PWM.
  • Alamar shigar da analog: Tashoshi 12.
  • Analog fitarwa fil: 2 (Dac)
  • Intensarfin halin yanzu da lambar I / OSaukewa: 130MA
  • Intensarfin halin yanzu don fil 3.3vSaukewa: 800MA
  • Intensarfin halin yanzu don fil 5vSaukewa: 800MA
  • Weight da girma: 101.52 × 53.3mm da gram 36.
  • Farashin: 30-40 cikin approximately Zaka iya siyan shi akan Amazon.

Kamar yadda na ambata a baya, tana da tashar jiragen ruwa USB OTG babban gudu, 4 UARTs, mai haɗa JTAG, maɓallin sake saiti, maɓallin sharewa, mai haɗa SPI, da 2 TWI. A zahiri, abin da aka yi sharhi a baya akan daidaitaccen 1.0 yana da alaƙa da wasu waɗannan haɗin haɗin:

  • TWI tare da SDA da SCL fil
  • Umarni IOREF wannan yana ba da garkuwa, haɗi tare da daidaitaccen dacewa, don daidaita yanayin tashin hankalinsa zuwa na farantin.
  • Fushin da ba a haɗa ba tanada don amfanin gaba.

Af, ba zan so in ƙare wannan sashin ba tare da yin tsokaci game da waɗannan abubuwan haɗin haɗin sirrin da sauransu ba. Aƙalla da pinout inda suke:

  • Serial 0: a kan fil 0 (RX) da kuma fil 1 (TX)
  • Serial 1: pin 19 (RX) da kuma sanya 18 (TX)
  • Serial 2: pin 17 (RX) da kuma sanya 16 (TX)
  • Serial 3: pin 15 (RX) da kuma sanya 14 (TX)
  • PWM: tafi daga fil 2 zuwa 13 don samar da 8-bit PWM.
  • I / O dijital: daga fil 0 zuwa 53
  • Sakamakon analog: daga fil A0 zuwa A11
  • SPI: SPI kai
  • CAN: CANRX da CANTX don sadarwa ta CAN
  • LED an haɗa shi ciki kuma an haɗa shi zuwa pin 13
  • TWI 1: pin 20 (SDA) da kuma sanya 21 (SCL)
  • TWI 2: alama a matsayin SDA1 SCL1
  • DAC1 da DAC2 tare da ƙuduri a cikin fitowar sa na 12-bits (matakan 4096) tare da analogWrite () tare da ƙwanƙwasawar 0.55v zuwa 2.75v.
  • AREF: shigar da analog na shigarwa azaman bayanin ƙarfin lantarki. An yi amfani dashi tare da aikin analogReference ()
  • Sake saita: idan ka saita wannan layin zuwa LOW ko low voltage, to microcontroller zai sake saita kansa.

Datasheets

Kamar sauran allon hukuma, Arduino Due yana da adadi mai yawa na wadatar bayanai ga al'umma, kamar su makirci, bayanai, takardu kamar da takaddun bayanan, da dai sauransu Tare da wadannan bayanan zaka iya sanin komai game da wannan farantin don cin gajiyar sa. Misali, kuna da waɗannan takaddun a wurinku:

Arduino IDE da shirye-shirye don Arduino Saboda

Screenshot na Arduino IDE

Don tsara shirin Arduino Saboda haka, ana bin hanyar iri ɗaya da ta sauran allon Arduino. Ba kwa buƙatar wata software ta IDE daban tunda ta dogara ne akan ARM. Sabili da haka, ba lallai ne ku damu da shi ba, zai kasance a bayyane ga mai shirin. Kuna iya zazzage ko yi amfani da ID na Arduino amma ga sauran faranti kuma zaka iya zazzage shi daga wannan haɗin don dandamali macOS, Windows da Linux.

Yaren don rubuta lambar tushe na zane kuma zai zama daidai iri daya, ban da karbuwa ga yanayin kere-kere da halaye na Arduino Due. Idan kun kasance mai farawa, zaku iya amfani da namu karatun kyauta a cikin PDF ga Arduino IDE. A ciki zaku koyi ƙirƙirar zane-zane masu sauƙi na farko kuma ku ɗan koya mafi kyau game da shirye-shiryen Arduino. Kodayake wannan kwas ɗin ya dogara ne akan Arduino UNO, yana aiki don duk sauran nau'ikan Arduino ...

La quirk kawai Abin da yakamata ku tuna lokacin da kuka girka IDE na Arduino shine, ta tsohuwa, ya zo shirye don farawa da Arduino UNO. Sabili da haka, dole ne ku zaɓi allon da ya dace don canza lambar daga PC zuwa allon ku. Don yin wannan, zaku iya bin waɗannan matakai masu sauƙi:

  1. Bude IDAN Arduino
  2. Jeka kayan aikin menu.
  3. Sannan zuwa Alamu.
  4. A can, nemi Arduino Saboda haka zaɓi ɗaya daga cikin zaɓuɓɓukan USB guda biyu waɗanda suke wanzu gwargwadon yadda kuka fi so ...

Yanzu zaku iya ci gaba kamar yadda kuka saba. Ji dadin ƙirƙirar sababbin ayyuka kuma kar a daina koyo ...


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Sharhi, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Jose Ramon m

    Ina tsammanin akwai ƙaramin kuskure a sakin layi na biyu. Inda aka ce: «Ina nufin microcontroller da ke haɗa wannan hukumar, tunda babban guntu ba ya bisa ARM. Lokacin da ya dogara da ARM