Cov txheej txheem:
- Kauj Ruam 1: Ntxiv ATtiny Core Supprt rau Arduino IDE Software
- Kauj Ruam 2: Program Arduino rau Siv Ua Tus Txheej Txheem Hauv-System (ISP)
- Kauj Ruam 3: Txuas ATtiny84 rau Programming
- Kauj Ruam 4: Teeb Arduino rau Program ATtiny84
- Kauj ruam 5: Program ATtiny84
- Kauj Ruam 6: Txuas ATtiny84 kom Ua Raws Li Ib Leeg
Video: Arduino Uno rau Txoj Haujlwm ATTINY84 (Arduino V. 1.8.5): 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Siv Arduino Uno los ua haujlwm ATTINY84-20PU (Digikey yam # ATTINY84-20-PU-ND). Cov Lus Qhia no qhia yuav siv Arduino platform ua haujlwm nrog lub cev ua haujlwm me me, xws li ATtiny84 (84/44/24). Qhov piv txwv no tshwj xeeb rau ATtiny84-20PU tus txheej txheem tab sis tuaj yeem hloov kho rau lwm cov laug cam los ntawm kev xaiv lub rooj tsav xwm tsim nyog los ntawm Arduino software (piv txwv li, Arduino IDE) thiab hloov kho tus pinouts raws li xav tau.
(Hloov tshiab rau Arduino 1.8.5)
Kauj Ruam 1: Ntxiv ATtiny Core Supprt rau Arduino IDE Software
Rau Arduino 1.8.5:
- Qhib Arduino software (aka Arduino Integrated Development Environment [IDE]).
- Qhib kev nyiam: [NTAWV] [PREFERENCES]
- Muab tshuaj txhuam URL rau Tus Thawj Saib Xyuas Ntxiv URLs:
Kauj Ruam 2: Program Arduino rau Siv Ua Tus Txheej Txheem Hauv-System (ISP)
- Xaiv pawg Arduino: [TOOLS] [BOARD] [ARDUINO/GENUINO UNO]. Nco tseg: txawm hais tias kuv muaj Arduino UNO Kuv tau hloov lub khoos phis tawj nrog kev npaj ua ntej Atmega328P uas xav kom kuv xaiv "Arduino Duemilanove lossis Diecimila."
- Xaiv Programmer: [TOOLS] [PROGRAMMER] [AVR ISP].
- Qhib ArduinoISP kos duab: [FILE] [EXAMPLES] [11. ArduinoISP] [ArduinoISP]
- Upload daim duab.
Kauj Ruam 3: Txuas ATtiny84 rau Programming
Txuas Arduino Pins rau ATtiny84 pins:
- Arduino 5V rau ATtiny84 Pin 1
- Arduino Pin 10 rau ATtiny84 Pin 4
- Arduino Pin 11 rau ATTiny84 Pin 7
- Arduino Pin 12 rau ATtiny84 Pin 8
- Arduino Pin 13 rau ATtiny84 Pin 9
- Arduino GND rau ATtiny84 Pin 14
- Arduino RESET rau 10uF capacitor (+ sab / ntev ceg)
- GND rau 10uF capacitor (- sab / luv ceg)
Kauj Ruam 4: Teeb Arduino rau Program ATtiny84
- Xaiv Arduino board: [TOOLS] [BOARD] [ATtiny24/44/84]. Tam sim no cov kev xaiv pawg thawj coj saib xyuas ntxiv yuav tshwm nyob rau hauv Cov Ntawv qhia zaub mov lub sijhawm tom ntej Cov Cuab Yeej tau qhib.
- Xaiv B. O. D. xiam oob qhab: [TOOLS] [B. O. D.] [B. O. D. Xiam oob qhab]
- Xaiv LTO xiam oob qhab: [TOOLS] [LTO 1.6.11+ nkaus xwb] [Xiam Oob Qhab]
- Xaiv Pin Mapping counterclockwise: [TOOLS] [Pin Mapping] [Counterclockwise]
- Xaiv Chip Attiny84: [TOOLS] [Chip] [Attiny84]
- Xaiv Moos 8MHz: [TOOLS] [Moos] [8 MHz sab hauv]
- Hlawv bootloader: [TOOLS] [Hlawv Bootloader]
Kauj ruam 5: Program ATtiny84
- Qhib Blink sketch: [FILE] [EXAMPLES] [01. Basics] [Blink]
-
Kho duab kos:
- Ua ntej yuav tsis muaj teeb tsa teeb tsa (), txhais lub npe tus pin (coj) thiab qhov chaw (tus pin 0): int coj = 0;
- tso "LED_BUILTIN" nrog "coj" hauv qhov tsis muaj stetup () thiab hauv lub voj void ()
- Upload daim duab.
- Fais fab tua thiab txiav tawm ntawm Arduino.
Kauj Ruam 6: Txuas ATtiny84 kom Ua Raws Li Ib Leeg
- ATtiny Pin 1 txog 5V qhov chaw (tseem tsis tau qhib lub zog tseem)
- ATtiny Pin 2 rau LED (ceg ntev)
- ATtiny Pin 14 rau hauv av
- LED (luv ceg) rau Resistor (kawg 1) ntawm 100 thiab 1k Ohm
- Resistor (kawg 2) rau hauv av
- Qhib lub zog rau ATtiny84
Pom zoo:
Siv Kev Cia Siab Lub Hauv Paus txuas ntxiv txhawm rau Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Txoj Cai Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: 11 Kauj Ruam
Siv Kev Cia Siab Lub Hauv Paus Txuas Ntxiv kom Nrhiav Lub Tuam Tsev Tsis Ua Haujlwm Ua Haujlwm Hauv Koj Tsev Neeg Tsob Ntoo ntawm Kev Tshawb Nrhiav Tsev Neeg: Lub hom phiaj ntawm cov lus qhia no yog los qhia seb yuav tshawb nrhiav koj tsev neeg tsob ntoo li cas hauv Tsev Neeg Nrhiav rau cov poj koob yawm txwv nrog kev ua haujlwm hauv lub tuam tsev tsis tiav siv Kev Cia Siab lub hauv siab txuas ntxiv. Siv Kev Cia Siab Lub Hauv Paus tuaj yeem ua rau koj qhov kev tshawb nrhiav tsis tiav
Ultrasonic Sensor txhawm rau txhawm rau Hloov Txoj Haujlwm ntawm Cov Hom Phiaj: 3 Kauj Ruam
Ultrasonic Sensor txhawm rau txhawm rau Hloov Txoj Haujlwm ntawm Cov Hom Phiaj: Nws yog ib qho tseem ceeb kom koj cov khoom muaj txiaj ntsig muaj kev nyab xeeb, nws yuav ceg tawv yog tias koj saib xyuas koj lub tsev fuabtais tas hnub. Siv lub koob yees duab raspberry pi koj tuaj yeem siv lub snaps ntawm lub sijhawm. Phau ntawv qhia no yuav pab koj tua video lossis thaij duab
Ultrasonics Raws Txoj Haujlwm Txoj Haujlwm: 4 Kauj Ruam (nrog Duab)
Ultrasonics Raws Qhov Txheej Txheem: Txhua qhov hloov pauv ntawm ultrasonic radars Kuv tau pom rau cov khoom siv arduino (Arduino - Radar/Ultrasonic Detector, Arduino Ultrasonic Radar Project) zoo heev radars tab sis txhua tus ntawm lawv yog "dig muag". Kuv txhais tau tias, lub radar pom qee yam tab sis kuv
Yuav Ua Li Cas Upload Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: 4 Cov Kauj Ruam
Yuav Ua Li Cas Txhim Kho Txoj Haujlwm lossis Txoj Cai Rau Hauv Arduino Pro Mini los ntawm Kev Siv CH340 UART Serial Converter Cable: USB TTL Cov lej txuas yog ntau yam ntawm USB rau txuas txuas txuas txuas uas muab kev sib txuas ntawm USB thiab txuas UART cuam tshuam. Ntau cov kab hluav taws xob tau muaj kev sib txuas ntawm 5 volts, 3.3 volts lossis cov neeg siv tau teev tseg cov teeb liab theem wi
Yooj Yim ABB PLC Txoj Haujlwm- Txoj Haujlwm Kawm Ntawv: 17 Kauj Ruam (nrog Duab)
Yooj Yim ABB PLC Txoj Haujlwm- Txoj Haujlwm Kev Kawm: Nov yog txoj haujlwm yooj yim uas lub hom phiaj rau kev siv CoDesys software nrog Ladder Diagram (LD) lus. muaj nuj nqi .., Sau cov txheej txheem