Cov txheej txheem:

Yuav Ua Li Cas Thiaj Li Yooj Yim Attiny Arduino Board: 4 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Yooj Yim Attiny Arduino Board: 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Thiaj Li Yooj Yim Attiny Arduino Board: 4 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Thiaj Li Yooj Yim Attiny Arduino Board: 4 Cov Kauj Ruam (nrog Duab)
Video: 2.5.3 Неопределенные местоимения – Qhia ntawv Askiv Hais uas lus Hmoob 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Kom Pheej Yig Attiny Arduino Board
Yuav Ua Li Cas Kom Pheej Yig Attiny Arduino Board

Zoo ntau lub sijhawm kuv tau txais teeb meem thaum kuv xav tau Arduino hauv qee qhov haujlwm uas kuv xav tau ob peb I/O pins Zoo tsaug rau Arduino-Tiny platform Arduino program tuaj yeem raug hlawv mus rau Avr-me me Series zoo li Attiny 85/45

Arduino-Tiny yog qhov qhib qhov teeb tsa ntawm ATtiny "cores" rau Arduino platform.

Nws muab cov tub ntxhais uas ua rau Arduino cov neeg siv ua haujlwm nrog ATtiny84 (84/44/24), ATtiny85 (85/45/25), thiab ATtiny2313 (4313) cov txheej txheem.

=============================================================

Qhov Zoo ntawm Attiny series Cov nqi pheej yig tsis yog 1 $ Lawv tuaj yeem siv ua sawv ib leeg hauv ib qho kev sib tw Tsis zoo ntawm Attiny

Tsawg I/O pins raws li piv rau megaSeries

Tsawg nco feem ntau Attiny 25/45/85 muaj 2kb 4kb thiab 8kb feem

=============================================================

Tab sis yog tias koj nug kuv Attiny yog qhov muaj txiaj ntsig zoo rau cov haujlwm me me Txawm tias kuv xav tias nws pheej yig heev rau dummy los sim nws.

Kuj zoo li kuv nplooj ntawv rau kev txhawb nqa

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov
Qhov
Qhov

Yam uas koj xav tau

  1. Veroboard -0.3 $
  2. 8 tus pin IC Qhov -0.10 $
  3. Cov xov hlau ib leeg 22 ntsuas- 0.10 $
  4. Attiny 85- 1.35 $
  5. Txiv neej header-0.16 $
  6. Poj niam header-0.16 $

Yog li tag nrho tus nqi yog 2.17 $

Kauj Ruam 2: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court
Daim duab Circuit Court

Yuav luag txhua daim npav tau tsim los ntawm Kev Siv 6 tus pin

  • MISO (Master in qhev tawm)
  • MOSI (Master OUt Slave In)
  • RESET
  • SCK (Qaum Qaum)
  • Vcc
  • Gnd

==========================================================

Txuas nrog Arduino

Pin 13 yuav txuas nrog SCK

Pin12 yuav txuas nrog MISO

Pin11 yuav txuas nrog MOSI

Pin 10 yuav txuas nrog RESET

Tshooj tom ntej yuav Npaum li cas siv cov arduino ua ISP rau Txoj Haujlwm attiny85

Kauj Ruam 3: Siv Arduino Ua ISP

Siv Arduino Ua ISP
Siv Arduino Ua ISP
Siv Arduino Ua ISP
Siv Arduino Ua ISP

Teeb tsa Firmware

Koj yuav tsum rub tawm cov ntawv no rau programing attiny

code.google.com/p/arduino-tiny/

tom qab koj nruab nws

  • Qhib Arduino.exe
  • Cov ntaub ntawv> Piv txwv> ArduinoISP
  • Upload Sketch rau koj Pawg Thawj Coj
  • Ntawm Arduino Uno, koj yuav tsum txuas tus 10 uF capacitor nruab nrab ntawm kev rov pib dua thiab hauv av (tom qab xa daim ArduinoISP kos duab)
  • Txuas Arduino Pins rau Arduino Tiny Board
  • Mus rau Cov Cuab Yeej> Cov Rooj> Attiny 85 8 MHz
  • Mus cuab yeej> Programmer> Arduino li ISP
  • Hlawv Bootloader

CONGO qhov kev xav tau yog Npaj Los Ua Haujlwm Los Ntawm arduino

Cia peb pom qhov program yooj yim "Blink" hauv kev nqis tes ua

Ib zaug ntxiv mus

Cov ntaub ntawv> Piv txwv> Blink

Change Tus pin no. los ntawm 13 mus rau ib qho ntawm tus pin tawm ntawm Attiny85

0, 1, 2, 3, 4

Tso nws

==================================================

Kauj Ruam 4: Blinky hauv Kev Ua

Blinky hauv Kev Ua
Blinky hauv Kev Ua
Blinky hauv Kev Ua
Blinky hauv Kev Ua

Blink Program Hauv kev nqis tes ua

Txaus Siab Rau Koj Pawg Thawj Coj

Nws kuj tseem tuaj yeem ua haujlwm ntawm Lub Hwj Huam Sab Nraud Koj tsuas yog xav tau kev tswj hwm Lub zog ntawm 5

Koj tseem tuaj yeem Siv Tus Txheej Txheem Ua Haujlwm kom hlawv Bootloader thiab kos duab

Yog tias koj muaj lus nug Thov hu rau kuv

www.facebook.com/prajjwal.nag

Pom zoo: