Cov txheej txheem:
- Kauj Ruam 1: Cov Khoom Uas Koj Xav Tau
- Kauj ruam 2: Plhaub
- Kauj Ruam 3: Kev Txhawb Nqa Pob Txha
- Kauj Ruam 4: Txuas LED
- Kauj Ruam 5: Txuas Ribs
- Kauj Ruam 6: Txuas LED mus rau Arduino
- Kauj Ruam 7: Txuas Cov Sensors
- Kauj Ruam 8: Sijhawm Coding
- Kauj Ruam 9: Kaw Lub Hau thiab Kawg Flourishes
Video: Cia Ua Khawv Koob Crystal Pob Nrog Khawv Koob Magic! ~ Arduino ~: 9 Cov kauj ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Hauv qhov no, peb tab tom yuav ua Khawv koob Pob uas siv lub suab txav thiab lub tshuab ntsuas RFID los tswj cov teeb tsa ntawm LED teeb sab hauv.
Kauj Ruam 1: Cov Khoom Uas Koj Xav Tau
Rau txoj haujlwm no, koj yuav xav tau cov cuab yeej thiab cov ntaub ntawv hauv qab no:
- Ib Arduino Uno
- MPU-6050 Sensor nrog Accelerometer, Gyroscope, thiab Kub sensor.
- Ib qho RC522 RFID Reader
- some compatible Tags (i used NTAG215s)
- 36 dawb LED
- 36 liab LED
- 36 xiav LED
- 8 NPN Transistors, kuv siv IRF520
- Pob tshab yas, 16cm txoj kab uas hla
- Cov ntawv me me
- 9V roj teeb pob (6xAA)
- Ntau cov kab
Cov Cuab Yeej:
- 3D Tshuab Luam Ntawv
- Soldering Hlau
Kauj ruam 2: Plhaub
Thawj qhov peb yuav ua yog npaj lub plhaub sab nrauv ntawm lub pob, Ua li ntawd, tsuas yog xuab zeb sab hauv lub pob yas.
Koj yuav tuaj yeem pom cov cwj nrag koj ua rau nws txhuam, yog li siv koj lub sijhawm thiab hauv cov voj me kom muaj tus qauv sib xws.
Kauj Ruam 3: Kev Txhawb Nqa Pob Txha
Qhov tom ntej peb yuav tsim yog pob txha txhawb nqa.
Lub cev pob txha no yuav tuav tag nrho cov LED nyob hauv qhov chaw thiab muaj cov khoom siv hluav taws xob tas li. Nws muaj lub cheeb sab nraud ntawm 13cm, yog li muaj thaj tsam li 1, 5cm qhov chaw nruab nrab ntawm cov coj thiab lub plhaub, uas peb yuav sau nrog cov khoom sib txawv. Tus nyeem ntawv RFID tseem yuav tsum tau haum sab nrauv ntawm lub cev pob txha kawg. Rau qhov no kuv tau ua tus qauv 3D uas muaj 6 tus tav, nrog txhua tus tav muaj cov kab me me nyob ntawm sab qhov twg LED haum rau. Raws li koj tuaj yeem pom, txhua tus tav muaj 18 ntu, 6 rau txhua xim.
Raws li txhua tus kab tav zoo ib yam, koj tuaj yeem luam tawm ib kab tav 6 zaug. Koj tuaj yeem txuas ntxiv nrog cov kauj ruam tom ntej thaum koj tau sau kab tav tav, kom txuag sijhawm thaum tus so tseem tab tom luam tawm.
Kauj Ruam 4: Txuas LED
Tam sim no, peb yuav xaim tus kheej tav.
Txhua tus tav tuav 6 dawb LED nyob hauv kab nruab nrab, 6 LED liab nyob rau ib ntawm kab sab nraud, thiab 6 xiav LED nyob rau lwm qhov sab nraud.
Khaws koj cov LED rau hauv lawv cov clamps uas tsim nyog, thiab nco ntsoov ua kom sib nrug ntawm cov LED kom txhua tus tav muaj qhov zoo thiab qhov tsis zoo kawg, nrog rau tag nrho cov kab hauv ib yam.
Ua ntej, Cuam tshuam txhua sab saum toj peb thiab saib hauv qab peb LED ntawm txhua kab ua ke yog li lawv tau sib txuas ua ke..
rov ua dua rau tag nrho 6 tav.
Kauj Ruam 5: Txuas Ribs
Thaum koj ua tiav txuas txhua tus tib leeg, nws yog lub sijhawm los txuas cov tav mus rau lub roj teeb
Koj tuaj yeem xaim qhov xaus zoo ntawm txhua kab xiav thiab dawb LED ncaj qha mus rau 9V cable ntawm koj lub roj teeb pob.
Kuv lub LED liab muaj qhov qis dua me ntsis dua li kuv lwm LED, txhais tau tias kuv yuav tsum xub txuas txhua qhov xaus ntawm lawv kab, thiab tom qab ntawv txuas mus rau 9V nrog tus tiv thaiv. Yog tias tag nrho koj cov LED muaj tib qhov hluav taws xob, koj tuaj yeem hla cov kauj ruam no.
Kauj Ruam 6: Txuas LED mus rau Arduino
Tam sim no, transistors tuaj ua si.
Coj koj lub khob cij me me thiab xaim tag nrho cov pins hauv av rau koj Arduino av, tom qab ntawd, txuas cov Digital pins ntawm koj tus arduino mus rau tus pin nruab nrab ntawm Transistors. Kuv siv tus pin 1 txog 6 rau cov LED dawb, thiab tus pin 7 thiab 8 rau xim liab thiab xiav. Tam sim no koj tuaj yeem txuas txhua qhov tsis zoo ntawm koj cov kab dawb LED rau lawv cov transistor tshwj xeeb, nco ntsoov tsis txhob cuam tshuam qhov kev txiav txim. Tom qab ntawd txuas cov xim xiav thiab liab tsis zoo coj mus rau lawv cov transistor.
Kauj Ruam 7: Txuas Cov Sensors
Tam sim no peb yuav txuas cov sensors.
Tsab ntawv tsa suab sensor txuas tau yooj yim, yooj yim txuas nws VCC rau 5V tus pin, Gound to Ground, thiab SCL thiab SCA rau SCL thiab SCA pins ntawm koj lub rooj tsavxwm
Tus nyeem ntawv RFID xav tau xov hlau ntxiv: (sab laug yog RFID, sab xis yog Arduino)
- SDA -> 10
- TXK -> 13
- TSO-> 11
- MAS-> 12
- IRQ tsis siv
- GND -> GND
- RST -> 9
- 3.3V -> 3.3V
Xyuas kom tseeb tias RFID nyeem ntawv cov xov hlau ntev txaus yog li nws tuaj yeem nyob sab nraum lub cev pob txha
Kauj Ruam 8: Sijhawm Coding
Tam sim no uas peb tau txuas txhua yam, nws yog lub sijhawm rau cov cai!
Txhawm rau siv RFID nyeem ntawv, koj yuav xav tau Lub Tsev Qiv Ntawv no: https://github.com/miguelbalboa/rfid, thiab lub tsev qiv ntawv SPI built-in.
Txhawm rau siv lub suab txav, koj yuav tsum tau siv lub tsev qiv ntawv Hlau, vim nws yog IC2 lub cuab yeej.
Thaum kuv yuav tsis muab kuv tus lej tag nrho tso rau ntawm no, Kuv yuav tham txog qee qhov ntawm nws:
Txhawm rau muab cov tsiaj ntawv tshwj xeeb rau ib qho tshwj xeeb nfc lossis, Kuv muaj IDs ntawm txhua daim ntawv khaws tseg rau hauv qhov sib txawv, yog li thaum RFID tus nyeem ntawv nyeem ib daim ntawv, nws sib piv nws tus ID rau cov uas tau txais kev cawmdim, thiab los ntawm cov lus hais yog qhov kev tso cai ua haujlwm muaj nuj nqi.
Tsab ntawv tsa suab txav yooj yim nyeem tus nqi ntawm ib qho kev xaiv axis, yog tias tus nqi nyeem tau zoo lub teeb liab tau qhib, thiab yog tias nws tsis zoo lub teeb xiav tau qhib.
Kauj Ruam 9: Kaw Lub Hau thiab Kawg Flourishes
Peb yuav luag tiav!
Txhawm rau ua tiav txoj haujlwm, yooj yim quav lub hnab yas rau hauv ib nrab ib puag ncig raws li cov khoom siv nthuav tawm, maj mam muab lub pob sab hauv tso rau hauv ib nrab, thiab kaw lwm ib nrab hla nws. Tom qab ntawd koj ua tiav!
Tam sim no koj muaj kev xaiv los ntim koj daim ntawv cim npe NFC txawm li cas los xij koj xav tau, koj tuaj yeem lo lawv rau hauv nplooj ntawv ntawm phau ntawv qub thiab cia cov nplooj ntawv ua raws li cov lus uas pob tau nyeem, lossis zoo li kuv tau ua, luam tawm ob peb daim ntawv parchment cuav, sau lossis kos rau lawv, thiab lo NFC daim nplaum rau sab nraub qaum. Tadaa, koj muaj koj cov ntawv sau tag nrho!
Thiab nrog qhov ntawd, peb tau ua tiav peb txoj haujlwm!
Pom zoo:
Khawv koob Teb Cov Pob Nrog Arduino Pro Mini thiab TFT Zaub: 7 Cov Kauj Ruam
Khawv koob Teb Cov Pob Nrog Arduino Pro Mini thiab TFT Zaub: Ib pliag rov qab, kuv tus ntxhais thiab kuv tau sib cais Magic 8 pob kom nws tuaj yeem hloov nees nkaum lus teb nrog qhov nws xaiv. Qhov no yog khoom plig rau nws tus phooj ywg. Qhov ntawd ua rau kuv xav txog yuav ua li cas ntawm qhov loj dua. Peb puas tuaj yeem muaj ntau
Khawv koob khawv koob. Tesla Coil: 3 Kauj Ruam
Khawv koob khawv koob. Tesla Coil: Nyob zoo txhua tus. Kuv pib ua Tesla coil raws li cov txheej txheem qub uas koj pom nyob txhua qhov hauv internet thiab kuv tau xaus nrog qhov muaj hluav taws xob ntau dhau uas nres kuv lub Circuit Court los ntawm kev ua haujlwm tom qab 1 thib ob. Kuv tau hloov kho qhov Circuit Court los ntawm kev siv
Tig Ib Lub Pob Ntseg Rau Hauv Lub Pob Ntseg Pob Ntseg (tsis cuam tshuam) Tsis tas ua kom lub mloog pob ntseg puas: 9 kauj ruam
Tig Ib Lub Pob Ntseg Rau Hauv Lub Pob Ntseg (tsis cuam tshuam) Tsis Ua Lub Pob Ntseg: Qhov no yog lub tswv yim kuv tau tawm ntawm xiav tom qab ib tus phooj ywg muab rau kuv qee lub pob ntseg supercheap tawg. Nws yog lub khoos phis tawj microphone uas tuaj yeem txuas nrog lub mloog pob ntseg yuav luag txhua lub mloog pob ntseg (Kuv nyiam qhov no vim tias kuv tuaj yeem ua game nrog lub mloog pob ntseg siab thiab
Hloov Dav Hlau Dav Hlau Tshem Tawm Lub Pob Ntseg Rau Lub Pob Ntseg Pob Ntseg: 6 Cov Kauj Ruam (nrog Duab)
Hloov Lub Suab nrov Tshem Tawm Lub Pob Ntseg rau Lub Pob Ntseg Lub Pob Ntseg: Puas tau muaj lub sijhawm los muaj qee lub suab nrov no tshem tawm lub mloog pob ntseg los ntawm lub dav hlau? portable li xws li ce
Txhim Kho Hauv Pob Ntseg Pob Ntseg (Pob Ntseg-Pob Nyiaj): 6 Cov Kauj Ruam
Txhim Kho Pob Ntseg Hauv Pob Ntseg (Pob Ntseg Pob Ntseg): Cov pob ntseg pob ntseg tsis haum rau kuv pob ntseg. Tab sis muaj kev daws teeb meem yooj yim rau qhov ntawd