Cov txheej txheem:
Video: Electronic Piggy Bank: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:24
Qhov haujlwm Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob no yuav coj koj mus dhau cov kauj ruam txhawm rau tsim kom muaj kev sib txuas lus tsim nyog/sib txuas xav tau. Koj yuav xav tau cov hauv qab no.
- 5V Kev Tshaj Tawm
- 2 LEDs (Liab thiab Ntsuab)
- 2330 Ohm resistors
- Txiv neej/Poj niam cov xov hlau
- Cov xov hlau tsis tu ncua
- Arduino Uno & Cov Ntaub Ntawv Cable
- RFID qhov tseem ceeb thiab sensor
- Passive Buzzer
- Servo Tsav
- Lub thawv
- Cov qhob cij
Lub thawv yuav ua haujlwm raws li lub txhab nyiaj tiag tiag, rau ib qho hauv qhov piv txwv no kuv tau siv rab yaj phom los sib dhos ua tej daim duab los qhia.
Kauj Ruam 1: Kev Txuas Hluav Taws Xob
Hauv cov kauj ruam no koj yuav kawm qhov twg los ntsaws rau hauv txhua qhov ntawm txhua lub xaim ntawm lub khob cij thiab Arduino
RFID Sensor:
- VCC = 3.3 V
- RST = Pin 2
- GND = GND
- MISO = Pin 3
- MOSI = Pin 4
- SCK = Pin 5
- NSS = Pin 6
- IRQ = Pin 7
Tshaj tawm:
- VCC = 5 V
- GND = GND
- SIG = Pin 8
Servo Tsav:
- VCC = 5 V
- GND = GND
- SIG = Pin 9
Tsis siv neeg Buzzer:
- VCC = 5 V
- GND = GND
- SIG = Pin 10
Ntsuab LED:*
- VCC = Pin 11
- GND = GND
Liab LED:*
- VCC = Pin 12
- GND = GND
*Rau LEDs kom ntseeg tau tias koj muaj lub zog tiv thaiv ntawm lub zog thiab LED txhawm rau tiv thaiv kom tawg LED
Kauj ruam 2: Code
Txoj cai rau txoj haujlwm no thaum zoo li nyuaj nws pib nqis los rau yog tias daim npav ID tau nyeem THIAB qhib/tua LEDs, Buzzer, thiab tig Servo.
Rub tawm cov tsev qiv ntawv xav tau rau txoj haujlwm no ntawm https://www.sunfounder.com/learn/category/rfid-kit… tsuas yog nyem lub pob rub tawm thiab muab cov ntawv ntawd tso rau hauv cov ntawv tais ceev tseg.
Tam sim no nco ntsoov tias koj muaj txoj cai COM chaw nres nkoj thiab pawg thawj coj xaiv hauv Arduino IDE thiab rub tawm. Yog tias koj ntsib teeb meem qhov teeb meem feem ntau yuav yog xaim xov tooj tsis raug yog li ua kom txhua yam nyob hauv qhov chaw raug thiab tsis muaj kev sib txuas.
Txhua qhov tseem ceeb ntawm RFID sib txawv yog li koj xav ua dab tsi yog xub los so koj daim npav thiab tshawb xyuas cov lej txhawm rau nyeem daim npav ID, tom qab ntawd koj yuav tsum hloov daim ntawv IF cov xwm txheej nrog tus lej hauv qhov no:
Piv txwv ID: 5AE4C955
Mob: id [0] == 0x5A && id [1] == 0xE4 && id [2] == 0xC9 && id [3] == 0x55
Muaj LCD cov cai yog tias koj xav ntxiv LCD rau txoj haujlwm, tsuas yog lub taub hau hais tias cov cai yuav tsis ua haujlwm tshwj tsis yog tias cov lej suav nrog txawm tias koj tsis siv LCD
Kauj ruam 3: Lub thawv
Raws li tau hais ua ntej, kuv lub thawv tau tsim los siv cov duab los qhia thiab kua nplaum kub, Kuv txiav tawm ib lub xwmfab hauv lub ru tsev ntawm lub npov rau lub hau thiab lub cav servo, Kuv muab lub servo tso rau hauv qhov chaw thawj zaug qhwv cov khoom hauv kab xev hockey (txhua daim kab xev yuav ua) thiab kub gluing daim kab xev los tsim qhov nyuaj ntawm lub plhaub kom kuv tsis ua kom puas qhov yog li kuv tuaj yeem tsuas yog tev daim kab xev tawm tom qab.
Lub npov tau ntim tag nrho tshwj tsis yog sab nraub qaum qhov kev sib txuas los ntawm, Kuv sab laug lub qhov rai 1/3 thaj tsam ntawm sab nraub qaum thiab sab me me ntawm cov duab los qhia hauv qab kom tau txais npib tawm tau yooj yim.
Pom zoo:
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom - Cov Kauj Ruam ntawm Kauj Ruam: 4 Kauj Ruam
Arduino Tsheb Rov Qab Chaw Nres Tsheb Ceeb Toom | Cov kauj ruam ib kauj ruam: Hauv txoj haujlwm no, kuv yuav tsim qhov yooj yim Arduino Tsheb Rov Qab Tsheb Nres Tsheb Nres Sensor Siv Arduino UNO thiab HC-SR04 Ultrasonic Sensor. Qhov no Arduino raws Lub Tsheb Rov Qab ceeb toom tuaj yeem siv rau Kev Tshawb Fawb Txog Tus Kheej, Robot Ranging thiab lwm yam
Tsev Automation Kauj Ruam ntawm Kauj Ruam Siv Wemos D1 Mini Nrog PCB Tsim: 4 Kauj Ruam
Tsev Automation Kauj Ruam Ib Leeg Siv Wemos D1 Mini Nrog PCB Tsim: Tsev Automation Kauj Ruam los ntawm Kauj Ruam siv Wemos D1 Mini nrog PCB Tsim cov tub ntxhais kawm ntawv qib siab. Tom qab ntawd ib tus ntawm peb cov tswv cuab tuaj
RC Taug Qab Neeg Hlau Siv Arduino - Kauj Ruam Ib kauj ruam: 3 Kauj Ruam
RC Tracked Robot Siv Arduino - Kauj Ruam Ib Nrab: Hav guys, Kuv rov qab los nrog lwm tus neeg hlau txias chassis los ntawm BangGood. Vam tias koj tau dhau los ntawm peb cov phiaj xwm yav dhau los - Spinel Crux V1 - Tus Cwj Pwm Tswj Tus Neeg Hlau, Spinel Crux L2 - Arduino Xaiv thiab Muab Neeg Hlau nrog Robotic caj npab thiab Badland Braw
Yuav Ua Li Cas Arduino Piggy Bank: 5 Kauj Ruam
Yuav Ua Li Cas Ua Arduino Piggy Bank: Nyob zoo cov neeg nyeem hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas ua arduino piggy bank Nws ua haujlwm li cas? yuav raug kaw tsis siv neeg
LED Piggy Bank: 5 Kauj Ruam
LED Piggy Bank: Nov yog lub txhab nyiaj piggy uas muaj lub teeb ci ci ci rau lub qhov muag. Koj tuaj yeem ua koj tus kheej lub txhab nyiaj piggy lossis yuav ib lub hnab yas los ntawm lub khw. Koj tseem tuaj yeem siv lwm hom tsiaj zoo li penguin lossis duck (txhua yam ua haujlwm). Nws siv me ntsis ntawm electron