Cov txheej txheem:
- Kauj Ruam 1: Nruab Windows Driver rau Attiny85
- Kauj Ruam 2: Txhim Kho Pawg Pob rau Arduino
- Kauj Ruam 3: Yuav Ua Li Cas Upload Txoj Haujlwm
- Kauj ruam 4: Troublshootings
Video: Yuav Siv Attiny85 Nrog Arduino: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Kuv yuav qhov Digispark's Attiny85 Board tshiab.
Tab sis tsis tuaj yeem siv nws tau ob hnub tsuas yog vim cov neeg tsav tsheb pob. Thiab thaum kawg tom qab tshawb nrhiav ntau kuv pom cov lus teb. Kuv hais txog ntau yam kev qhia rau qhov no thiab sim. Kuv tau txais qhov yuam kev rau COM chaw nres nkoj hauv Arduino. Ntawm no kuv daws rau nws.
Pinouts: Txhua tus pin tuaj yeem siv ua Digital I/O
Pin 0 → I2C SDA, PWM (LED ntawm Qauv B)
Pin 1 → PWM (LED on Model A)
Pin 2 → I2C SCK, Analog Hauv
Pin 3 → Analog Hauv (tseem siv rau USB+ thaum siv USB)
Pin 4 → PWM, Analog (tseem siv rau USB- thaum siv USB)
Pin 5 → Analog In
Txog qhov siv tus lej siv tus lej hla lub Digispark - tus lej muaj peev xwm tau teev nyob rau sab nraum qab
Kauj Ruam 1: Nruab Windows Driver rau Attiny85
Yog tias siv Arduino 1.6.6 lossis siab dua thiab windows - koj yuav tsum rub tawm thiab teeb tsa cov tsav tsheb ua ke. Rub tawm, unzip thiab khiav "Install Drivers" (ntawm 32bit systems) lossis "DPInst64" (ntawm 64bit systems).
Cov ntaub ntawv tsav tsheb nyob ntawm no:
Txuas
Tom qab rub tawm cov ntawv.zip> rho tawm nws.
thiab khiav lub
Nruab drivers.exe (Rau 64 ntsis OS)
DPinst64.exe (rau 32 ntsis OS)
Kauj Ruam 2: Txhim Kho Pawg Pob rau Arduino
Luam qhov url no thiab muab tshuaj txhuam rau hauv Cov Ntawv> nyiam> ntxiv tus thawj tswj hwm pawg url
digistump.com/package_digistump_index.json
- Mus rau "Cov cuab yeej" ntawv qhia zaub mov thiab tom qab ntawv "Board" submenu - xaiv "Boards Manager" thiab tom qab ntawd los ntawm hom nco cia xaiv "Pab Txhawb":
- Xaiv lub pob "Digistump AVR Boards" thiab nyem rau "Install" khawm.
- Koj yuav pom qhov kev txhim kho rub tawm ntawm kab hauv qab ntawm "Tus Thawj Saib Xyuas" lub qhov rai thaum ua tiav nws yuav qhia "Txhim Kho" tom ntej ntawm cov khoom ntawd ntawm cov npe.
- WINDOWS USERS: Thaum ua tiav kev teeb tsa nrog pop up a Driver Install Wizard window, thov nyem "Tom ntej" ntawm lub Qhov Rais no txhawm rau teeb tsa cov tsav tsheb rau Digistump Boards (Yog tias koj twb muaj lawv teeb tsa, tus installer no yuav hloov kho lawv thiab teeb tsa ib qho uas ploj lawm.)
- Nrog rau kev teeb tsa ua tiav, kaw lub "Boards Manager" qhov rai thiab xaiv Digispark los ntawm Cov Cuab Yeej → Boards ntawv qhia zaub mov. "Digispark (Default - 16.5mhz)" yog pawg thawj coj uas yuav tsum tau xaiv los ntawm txhua tus neeg siv tshiab.
- Tam sim no kev teeb tsa tiav! (Linux cov neeg siv pom daim ntawv hauv qab no)
Linux Txhim Kho Yog tias koj tsis tau ua ntej - Txhim kho txoj cai udev pom ntawm no: Tshooj lus daws teeb meem
NCO NTSOOV LINUX USERS: THOV NCO NTSOOV NTAWM LINUX TROUBLESHOOTING PAGE **
Kauj Ruam 3: Yuav Ua Li Cas Upload Txoj Haujlwm
Digispark ua haujlwm sib txawv me ntsis dua li qee yam khoom siv tau Arduino. Digispark cov haujlwm nrog rau txheej txheem sib txawv.
Los ntawm Cov Cuab Yeej ntawv qhia zaub mov xaiv Board → Digispark (Default - 16.5Mhz)
Sau qee cov cai, qhib koj cov cai.
Koj tsis tas yuav ntsaws rau hauv koj lub Digispark ua ntej thov rub tawm Rub tawm lub pob upload.
Lub thawv xwm txheej hauv qab tam sim no yuav nug koj kom ntsaws rau hauv koj lub Digispark - ntawm qhov no, koj yuav tsum ntsaws nws - lossis tshem tawm thiab rov txuas nws.
Koj yuav pom qhov kev txhim kho upload thiab tom qab ntawd nws yuav tam sim ntawd khiav koj cov cai ntawm Digispark. Yog tias koj tshem lub Digispark thiab ntsaws nws rov qab lossis txuas nws mus rau lwm lub zog siv yuav muaj qhov ncua sijhawm 5 vib nas this ua ntej tus lej koj programmed yuav khiav. Qhov ncua sij hawm 5-thib ob yog Digispark Pro tshuaj xyuas seb koj puas tab tom npaj rau nws.
Kauj ruam 4: Troublshootings
Qhov no kom nco ntsoov
Digisparks tsis tsim cov chaw nres nkoj. Cov digispark arduino software sib tham ncaj qha rau digispark hla kev sib xyaw ntawm cov txheej txheem qis USB ceev thiab cov txheej txheem HID txhawm rau txuag chaw thiab ua raws ntau yam nrog USB kev qhia tshwj xeeb.
Thaum siv Digispark Arduino software nws tsis muaj teeb meem dab tsi uas tau xaiv hauv cov npe chaw nres nkoj - tsis siv. Tsuas yog xyuas kom Digispark raug xaiv hauv Programmer cov ntawv qhia zaub mov thiab Digispark (cov tub ntxhais me) tau xaiv hauv Pawg Thawj Coj zaub mov thiab koj yuav tsum tau nce thiab khiav.
Thaum siv Digispark Arduino software nws tsis muaj teeb meem dab tsi uas tau xaiv hauv cov npe chaw nres nkoj - tsis siv. Tsuas yog xyuas kom Digispark raug xaiv hauv Programmer cov ntawv qhia zaub mov thiab Digispark (cov tub ntxhais me) tau xaiv hauv Pawg Thawj Coj zaub mov thiab koj yuav tsum tau nce thiab khiav.
- Rau cov piv txwv cov phiaj xwm yog tias koj tau txais "Tsis pom lub cuab yeej" txawm tias tom qab txhim kho DigiUSB tus tsav tsheb hauv cov piv txwv nplaub tshev ces sim qhov no: https://digistump.com/board/index.php/topic, 257.0.html
- Yog tias Windows tsis lees paub "DigiUSB" tab sis ib qho "HID-raws li lub cuab yeej"/"USB Cov Khoom Siv Hluav Taws Xob" khub, mus rau Tus Thawj Saib Xyuas Ntaus Ntawv, nrhiav hauv "Human Interface Devices" qeb USB Input Device nrog tus muag khoom ID ntawm 0x16C0 thiab xaiv "hloov kho tus tsav tsheb" / "xauj kuv lub khoos phis tawj" / "cia kuv xaiv los ntawm cov npe" thiab DigiUSB yuav tsum tshwm rau ntawd.
Pom zoo:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Yuav Ua Li Cas Kom Muaj Kev Nyab Xeeb Desolder Cov Khoom Siv Hluav Taws Xob rau Kev Siv Rov Los: 9 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Kom Muaj Kev Nyab Xeeb Desolder Cov Khoom Siv Hluav Taws Xob rau Rov Rov Los: Nyob zoo! Kuv yog cov khoom siv hluav taws xob nerd, yog li kuv nyiam ua si nrog cov khoom siv hluav taws xob sib txawv hauv kuv cov phiaj xwm. Txawm li cas los xij, Kuv yuav tsis tas li muaj cov khoom kuv xav tau kom ua tiav kuv txoj haujlwm. Qee zaum nws yooj yim dua los rub cov khoom kuv xav tau los ntawm cov khoom siv hluav taws xob qub
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Cov Khoom Siv: 3 Cov Kauj Ruam (nrog Duab)
Kev teeb tsa Matrix LED hauv Cov Khoom Siv Hluav Taws Xob qub - Yuav Tsum Tau Siv Cov Khoom Siv: Lub teeb pom kev zoo los ntawm lub Windows PC dhau Bluetooth thiab LED cov txheej txheem nthuav tawm Ib co piv txwv ntawm pixel kos duab thiab cov duab ua haujlwm khiav ntawm LED Cov Ntsiab Lus ntawm PIXEL Guts Kit Hauv Cov Lus Qhia no, peb ' yuav
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Timer Ua Haujlwm: 7 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Tswj Cov Khoom Siv Hauv Tsev Nrog TV Chaw Taws Teeb Nrog Lub Sijhawm Ua Haujlwm: Txawm tias tom qab 25 xyoo ntawm nws qhov kev qhia rau cov neeg siv khoom lag luam, kev sib txuas lus infrared tseem muaj feem cuam tshuam nyob rau hnub tsis ntev los no. Txawm hais tias nws yog koj li 55 nti 4K TV lossis koj lub suab lub tsheb, txhua yam xav tau IR chaw taws teeb tswj los teb rau peb
Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Cov Neeg Siv Khoom Hloov: 8 Cov Kauj Ruam (nrog Duab)
Kev Tswj Cov Khoom Siv Los Ntawm Arduino Nrog Kev Siv Hluav Taws Xob: Lub Arduino tuaj yeem siv los tswj cov cuab yeej los ntawm kev siv cov khoom siv yooj yim hloov pauv hloov chaw