Cov txheej txheem:
Video: Lub Sij Hawm Digital Nrog Tsis Siv Neeg Hloov ntawm LED Zaub: 4 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txoj haujlwm no yog hais txog lub moos digital nrog kev sib hloov tsis zoo ntawm 7-Seg LED zaub.
Lub moos no tuaj yeem hloov pauv hauv txhua txoj haujlwm khaws cov lej kom nyeem tau zoo txawm tias yuav ntxeev los yog hauv daim iav duab !!
Nws tau tswj hwm los ntawm Arduino thiab tsav los ntawm kev ntsuas nrawm kom paub qhov tseeb ntawm txoj haujlwm hauv 3D kev tswj hwm.
Ntxiv rau qhov muaj qhov tshwj xeeb los qhia qhov kub ib puag ncig hauv tsev hauv Celsius lossis hauv Fahrenheit degrees.
Kev sib sau ua ke yog yooj yim heev thiab kuv vam tias koj yuav muaj kev lom zem siv nws !!
Nyob zoo, LAGSILVA
Kauj Ruam 1: Cov Khoom Npe
- Arduino Uno R3
- MPU-6050 kev tawm tsam
- Multi Funtion Shield rau Arduino
- Poj niam jumper xov hlau
MPU-6050 kev tawm tsam:
Kev tshem tawm MPU-6050 muaj nyob hauv peb-axis accelerometer thiab gyroscope ntxiv rau qhov ntsuas kub nrog qhov tshwj xeeb hauv qab no:
- Tus Qauv Zauv: MPU-6050
- Kev tawm tswv yim Voltage: 3-5V
- ADC: 16 ntsis
- I/O: tus qauv I2C
- Gyroscope full-scale range: ± 250, 500, 1000, 2000 °/s
- Accelerometer puv-teev ntau: ± 2, ± 4, ± 8, ± 16g
- Qhov ntsuas kub ntau: -40 txog +85 ºC
Multi Function Shield (MFD):
MFD tuaj yeem ua kom yooj yim dua thiab ua kom sai dua qhov kev tsim qauv.
Cov yam ntxwv tseem ceeb:
- 4 tus lej 7-ntu LED zaub module tau tsav los ntawm ob lub npe 74HC595's
- 4 x nto mount LED's hauv kev teeb tsa sib luag
- 10K kho qhov tseeb potentiometer
- 3 x ywj siab thawb nyees khawm
- Piezo buzzer
- DS18B20 kub sensor interface
- LM35 kub sensor interface
- Infrared receiver interface
- Serial interface header kom yooj yim txuas mus rau cov qauv siv xws li Bluetooth, wireless interface, lub suab module, lub suab lees paub lub suab, thiab lwm yam.
Kauj ruam 2: Sib dhos
Lub rooj sib txoos yog yooj yim heev thiab tsis xav tau ib qho schematics:
- Ntxig Multi Shield rau hauv Arduino.
- Ceev MPU-6050 kev sib cais ntawm Arduino pawg thawj coj siv cov ntsia hlau me me.
Tsuas yog 04 lub xov hlau jumper yuav txuas nrog:
- Hlau liab: Vcc (+5V)
- Cov xov dub: Gnd
- Cov xaim ntsuab: SCL ntawm MPU-6050 tawm mus rau chaw nres nkoj #6 hauv Multi Shield.
- Cov xaim daj: SDA ntawm MPU-6050 tawm mus rau chaw nres nkoj #5 hauv Multi Shield.
Kauj ruam 3: Teeb
Muaj 3 khawm los teeb tsa lub moos:
- Khawm sab laug: Nias kom kho cov teev. Nias sai kom teeb tsa ib qib zuj zus. Nias tas li txhawm rau nce cov sijhawm sai.
- Qhov chaw khawm: Teev feeb. Nias tas li txhawm rau nce cov sijhawm sai.
- Txoj cai khawm: nias nrawm kom txav mus rau hom kub.
Nco tseg: Hauv Hom Kub Kub tuaj yeem hloov pauv qhov xwm txheej mus rau Fahrenheit lossis Celsius nias lub khawm Laub.
Kauj ruam 4: Code
Lub luag haujlwm tseem ceeb ntawm txoj cai yog:
- Kev nyeem ntawv ntawm lub kaum sab xis accelerometers.
- Muab xam los ntawm kev hloov pauv rau 7-seg LED zaub (saib duab).
Nrog rau cov ces kaum tuaj yeem txheeb xyuas qhov chaw sib nrug ntawm lub moos thiab txiav txim siab seb yuav tso tawm li cas niaj hnub:
- Pem Hauv Ntej Saib - Sijhawm Sawv Daws
- Pem Hauv Ntej Saib - Moos Upside Down
- Daim iav Saib - Mloog Sawv ntsug
- Daim iav Saib - Clock Upside Down
Pom zoo:
Standalone Arduino 3.3V W / Sab Nraud 8 MHz Lub Sij Hawm Ua Haujlwm Los Ntawm Arduino Uno Los Ntawm ICSP / ISP (nrog Saib Xyuas Ib Leeg!): 4 Cov Kauj Ruam
Standalone Arduino 3.3V W / Sab Nraud 8 MHz Lub Sij Hawm Ua Haujlwm Los Ntawm Arduino Uno Los ntawm ICSP / ISP (nrog Kev Saib Xyuas Ib Leeg!): Lub hom phiaj: Tsim kom muaj ib leeg Arduino uas khiav ntawm 3.3V tawm ntawm 8 MHz sab nraud moos. Txhawm rau nws los ntawm ISP (tseem hu ua ICSP, hauv-ntu ntu kev ua haujlwm) los ntawm Arduino Uno (khiav ntawm 5V) Txhawm rau kho cov bootloader cov ntaub ntawv thiab hlawv
UWaiPi - Lub Sij Hawm Tsav Tsis Siv Neeg Tsob Ntoo Dej: 11 Cov Kauj Ruam (nrog Duab)
UWaiPi - Lub Sijhawm Tsav Tsheb Tsis Siv Neeg Tsob Ntoo Dej: Nyob zoo! Koj puas tau hnov qab ywg dej koj cov nroj tsuag thaum sawv ntxov no? Puas yog koj tab tom npaj mus so tab sis xav tias leej twg yuav mus ywg dej rau cov ntoo? Zoo, yog tias koj cov lus teb yog Yog, ces kuv muaj kev daws teeb meem rau koj.Kuv zoo siab heev los qhia uWaiPi
Ua Lub Sij Hawm Sij Hawm Kub Lub Caij Nyoog: 16 Cov Kauj Ruam
Ua Lub Sij Hawm Sijhawm Sijhawm Sijhawm Sijhawm Sijhawm Ntev: Txawm hais tias lub thawv noj su zoo ib yam yog yooj yim siv thiab ua haujlwm tab sis muaj ib txoj haujlwm, nws tsis tuaj yeem teev sijhawm lossis teeb tsa qhov kub kom sov. Txhawm rau txhawm rau txhim kho qhov tsis txaus no, lub sijhawm no DIY tau ua los ntawm kev ua noj
Ua Koj Lub Khoos Phis Tawj UPS Kawg Rau Teev Sij Hawm Siv Sij Hawm: 8 Kauj Ruam
Ua Koj Lub Khoos Phis Tawj UPS Kawg Rau Teev Sij Hawm Siv Sij Hawm: Rau yam uas yuav tshwm sim rau kuv, tab sis tej zaum tsis yog rau txhua tus, Kuv muaj tag nrho kuv lub khoos phis tawj ntawm UPS roj teeb thaub qab. Tom qab tau txais kev ntxhov siab thaum lub hwj chim flickered ib hnub, Kuv tam sim ntawd tawm mus thiab yuav ib lub UPS. Zoo, tsis ntev tom qab, lub zog
YUAV UA LI CAS YUAV TSUM XEEB NYIAJ NTAWM LUB FAMOUS ALTOIDS TIN. (THIAB RECYCLE NTAWM LUB SIJ HAWM SIAB): 7 Kauj Ruam
YUAV UA LI CAS YUAV TSUM XEEB NYIAJ NTAWM LUB FAMOUS ALTOIDS TIN. (THIAB RECYCLE NTAWM LUB SIJ HAWM SIJ HAWM): Nyob Zoo Qhov tsis tsim nyog no yog hais txog yuav ua li cas thiaj ua tau lub thawv hlau kom zoo ib yam (lossis qhov loj npaum li cas koj xav tau) ntawm Altoids tin. Koj Puas Paub Dab Tsi Qhov No ???? Qhov no txhais tau tias koj tuaj yeem ua koj tus kheej tins ….. LEEJ TWG YUAV TSUM MUAJ !!!!!!!!!!!!! Qhov no yog li cas.MATERIALS: 2