Cov txheej txheem:

Tsev Ua Digispark: 5 Kauj Ruam
Tsev Ua Digispark: 5 Kauj Ruam

Video: Tsev Ua Digispark: 5 Kauj Ruam

Video: Tsev Ua Digispark: 5 Kauj Ruam
Video: 6 hom tsev yim nyob yim txom nyem 2024, Hlis ntuj nqeg
Anonim
Tsev Ua Digispark
Tsev Ua Digispark

Digispark yog ATtiny85 raws microcontroller kev txhim kho pawg thawj coj los nrog USB interface. Coding zoo ib yam li Arduino, thiab nws siv qhov paub Arduino IDE rau kev txhim kho. Kuv tus digispark yuav siv los ntawm USB nkaus xwb. Digispark tau ua tiav nrog arduino.

Kev qhia tshwj xeeb:

-Support rau Arduino IDE 1.0+ (OSX/Yeej/Linux)

-Power ntawm USB -6 I/O Pins (2 tau siv rau USB)

-6K Flash Memory tom qab upload bootloader

-I2C thiab SPI -PWM ntawm 3 pins (ua tau ntau dua nrog Software PWM)

-ADC ntawm 4 tus pin

Kauj ruam 1: Tutorial Video

Image
Image

Kauj ruam 2: Montage

Montage
Montage
Montage
Montage

Sau cov ntsiab lus:

2 x68jj

1x 220 hli

1x1.5k ua

1x Diode liab

2x Diode Zener 3.3V lossis 3.6V

1x USB ntsaws

1 tx85

1xUniversal PCB

Kauj ruam 3: Upload Bootloader thiab Driver Installation

Rub tawm Bootloader thiab Driver Installation
Rub tawm Bootloader thiab Driver Installation

Rub tawm bootloader thiab teeb tsa tus tsav tsheb

Txuas mus rau pob ntawm cov ntawv nrog cov khoom siv thiab bootloader

Txuas ATTINY85 nrog tus programmer

1. Rub tawm cov ntawv

2. Extract Digispark.zip

3. Koj tuaj yeem pom cov ntaub ntawv bootloader ntawm micronucleus-t85-master / firmware / tso tawm / t85_default.hex

4. Upload cov ntaub ntawv t85_default.hex rau ATTINY85

5. Txhua fuse:

Ntev: 0xFE

Siab: 0xDD

Tsawg: 0xE1

6 Nruab cov tsav tsheb Digistump. Drivers / DPinst64.exe

Kauj Ruam 4: Kho Arduino IDE:

Kho Arduino IDE
Kho Arduino IDE
Kho Arduino IDE
Kho Arduino IDE
Kho Arduino IDE
Kho Arduino IDE

Kho Arduino IDE:

Ntxiv qhov txuas hauv Kev Nyiam rau "Tus Thawj Saib Xyuas Ntxiv URL" https://digistump.com/package_digistump_index.json …

2. Nruab tsev qiv ntawv “Digistamp AVR Boards los ntawm digistump”

3. Teeb Pawg: Digispark (Default - 16.5mhz)

4. Teeb Programmer: Micronucleus

Kauj Ruam 5: Xeem Peb Digispark

Kuaj Peb Digispark
Kuaj Peb Digispark

Luam kab lossis qhib hauv arduino Piv txwv / Digispark_Examples / Pib

Unplug Digispark ua ntej rub tawm daim duab thiab nyem upload. Yog tias koj pom kab lus "ntsaws rau hauv lub cuab yeej tam sim no" ntsaws tam sim no koj DIGISPARK. Tam sim no txuas diode LED nrog tus lej lej 5.

Muaj Fan:)

Pom zoo: