Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Ua Circuit Court
- Kauj ruam 2: Cov ntaub ntawv
- Kauj Ruam 3: Program Arduino Nano
- Kauj Ruam 4: Yuav Siv Li Cas
- Kauj Ruam 5: Yuav Ua Li Cas Calibrate Cov Khawm
- Kauj Ruam 6: Txuas Qhov System rau Cov Duab Ntxiv
- Kauj Ruam 7: Rho Tawm Teeb rau Cov Khaub Ncaws
Video: Resistor Storage System System "Resys": 7 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog kab ke uas ua rau nws yooj yim mus nrhiav koj cov resistors.
Tshawb nrhiav ntawm tus nqi xav tau, thiab lub tub rau khoom sab xis teeb.
Cov kab ke no tuaj yeem txuas mus rau cov lej xav tau ntawm cov tub rau khoom.
Khoom siv
Adressable LED's WS2812B
Arduino Nano Cov
4 x 4 Matrix Array 16 Keys
Resistor cov
USB them nyiaj, lossis lwm 5v lub zog txhawb nqa
PLA ntsiab lus
Connector Headers
Prototyping PCB
10k kub
Kauj Ruam 1: Ua Circuit Court
Ua lub Circuit Court ntawm ob tog ob tog protype PCB
Keypad:
Cov keypad pheej yig muaj qee qhov sab hauv sab hauv uas hloov pauv mus rau kab, qhov kub thiab txias, thiab nyuaj npaum li cas koj nias lub pob. yog li koj yuav tau ntsuas cov nyees khawm hauv txoj cai.
Kuv tsis muaj lub vijtsam i2c lcd raws li npaj rau txoj haujlwm no, yog li kuv yuav tsum ua lub keyboard nrog adc (analog input) vim gpio avaliable ntawm arduino nano.
Resistors ntawm cov keypad txuas.
Pin 2-3 = 10k ohm
Pin 3-4 = 22k ohm
Pin 4-5 = 33k ohm
Pin 6-7 = 2.2k ohm
Pin 7-8 = 4.8k ohm
Pin 8-9 = 10k ohm
1 thiab 10 tsis siv.
Pin 2 mus rau 5V ntawm arduino bouard.
Tus pin 9 mus rau A0 thiab 15k ohm rau hauv av.
Yuav tsum tsis muaj kev sib txuas ntawm tus pin 5 thiab 6.
Coj:
D7 ntawm arduino mus txog 330ohm thiab mus rau (cov ntaub ntawv Hauv) ntawm thawj coj (tus pin thib ob) ntawm WS2812B
Av rau hauv av.
Leds 5v rau Vin ntawm arduino
Koj yuav tsum txiav cov leds induvidually thiab xaim lawv mus rau sab nraub qaum, lossis yuav ua li cas koj xav tso cov leds.
Nco ntsoov xaim cov leds hauv txoj kev yog, lawv muaj cov tswv yim thiab tso tawm.
Lcd zaub:
Ua raws daim duab.
Lub potmeter tsuas yog xav tau los kho qhov sib piv ntawm cov zaub.
Koj yuav tsuas yog yuav tsum tau kho nws thaum input voltage kuv hloov.
www.arduino.cc/en/Tutorial/HelloWorld
Pib dua:
D10 rov pib dua tus pin
Fais fab mov:
USB charger.
Txiav ib usb cable thiab txuas hauv av (dub) rau hauv av ntawm arduino, thiab 5v (liab) rau Vin
Kauj ruam 2: Cov ntaub ntawv
Nov yog txoj haujlwm nyiam ua, tsis yog tus kws tshaj lij coder.
Cov lus qhia thiab cov tswv yim raug txais tos:)
Kauj Ruam 3: Program Arduino Nano
Rub cov tsev qiv ntawv:
Hauv Arduino IDE, nyem rau ntawm lub tab npe kos duab thiab nyem suav nrog tsev qiv ntawv/Tswj cov tsev qiv ntawv.
Nrhiav rau
-FASLED.h
-LiquidCrystal.h
Nruab lawv.
Qhib "ohmsys1.44.ino"
Txuas lub arduino nrog USB
Xaiv qhov chaw nres nkoj com kom raug, thiab xa cov duab kos.
Kauj Ruam 4: Yuav Siv Li Cas
Sau koj tus lej nrog tus lej
* yog comma
# yog rov pib dua qhov system
A yog ohm
B yog K-ohm
C yog M-ohm
D yog rov pib tus lej
Kauj Ruam 5: Yuav Ua Li Cas Calibrate Cov Khawm
Tsis pom zoo "Serial.println (sensorValue);" (kab thib ob hauv lub voj)
Khiav koj serialmonitor.
Cov nyees khawm muaj qhov sib txawv tsis txaus ntseeg vim qhov nyuaj/maj mam koj thawb lub pob.
Ua daim ntawv ceeb toom ntawm sab saum toj/qis tus nqi rau earch khawm hauv cov ntawv xov xwm.
Nrhiav cov nyees khawm hauv txoj cai.
Thawj tus lej yog "qis" thiab tus lej kawg yog "siab".
// **************************** Khawm 1 ****************** ********
yog ((sensorValue> 387) && (sensorValue <394) && delayrunning == cuav)
Hloov cov lej raws koj cov txiaj ntsig.
Koj yuav tau txais tus lej sib txawv tom qab ntawd hauv cov cai, tsis txhob cia qhov ntawd ua rau koj ntxhov siab:)
Kauj Ruam 6: Txuas Qhov System rau Cov Duab Ntxiv
Txog tam sim no, lub kaw lus tau tsim rau 16 tus tub rau khoom.
Koj tuaj yeem txuas nws rau ntau qhov koj xav tau.
Tsuas yog nco ntsoov tias lub zog siv hluav taws xob tuaj yeem tswj tau nws.
Txhawm rau txuas ntxiv nws koj yuav tsum hloov pauv "#define NUM_LEDS 15" rau tus naj npawb ntawm tub rau khoom/coj.
Nws pib ntawm 0, yog li rho tawm 1 los ntawm koj xav tau cov tub rau khoom/coj
Luam
"yog ((Sumtall> 6) && (Sumtall <16))
{LEDreset ();
leds [1] = CRGB (255, 0, 255);
FastLED.show (); ncua (300); }"
thiab npaj koj thaj tsam ib tus tub rau khoom.
Ntxiv ib tus lej rau txhua tus tub rau khoom tshiab hauv "leds [1]"
Koj tseem tuaj yeem hloov xim ntawm cov coj yog xav tau (255, 0, 255)
Kauj Ruam 7: Rho Tawm Teeb rau Cov Khaub Ncaws
Muaj qee lub teeb pom kev uas ua rau muaj teeb meem.
Kuv kho qhov no los ntawm kev ntxiv qee daim iav daim kab xev ntawm txhua tus tub rau khoom.
Daim kab xev uas ntxiv rau ntawm ob sab thiab hauv qab.
Tsis tas yuav tsum muaj mirrortape yog tias koj muaj daim kab xev uas tsis pub lub teeb pom kev los.
Qhov no kho qhov teeb meem:)
Pom zoo:
Cov Duab Duab Duab thiab Cov Duab 1: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Cubes thiab Cov Duab 1: Thaum sim nrog qee cov ntoo ntoo thiab cov duab los qhia, kuv pom ob peb txoj hauv kev los ua cov voos thiab lwm yam duab los ntawm cov khoom siv yooj yim. Los ntawm kev muab cov no los ua Cov Ntawv Qhia, Kuv vam tias yuav txhawb nqa kev ua si thiab kev kawm. Kev hloov pauv ntawm qhov kev qhia no
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: 4 Cov Kauj Ruam (nrog Duab)
Cov Duab Duab Duab Duab, WiFi Txuas - Raspberry Pi: Nov yog txoj hauv kev yooj yim heev thiab tus nqi qis mus rau cov duab thav duab digital - nrog qhov zoo ntawm kev ntxiv /tshem cov duab hla WiFi ntawm 'nyem thiab luag' siv (pub dawb) xa cov ntaub ntawv . Nws tuaj yeem siv tau los ntawm qhov me me £ 4.50 Pi Zero. Koj tseem tuaj yeem hloov pauv
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
Tsheb kauj vab taug qab System nrog Tuag Tus Txiv Neej Alert Nrog Sigfox: 7 Cov Kauj Ruam (nrog Duab)
Tsheb kauj vab taug qab System Nrog Tuag Tus Txiv Neej Alert Nrog Sigfox: Kev ruaj ntseg rau cov neeg caij tsheb kauj vab nrog taug qab thiab xa cov yam ntxwv ceeb toom. Thaum muaj xwm txheej ceeb toom raug xa nrog GPS txoj haujlwm.Kev ruaj ntseg rau cov neeg caij tsheb kauj vab yog qhov yuav tsum tau, nrog kev tsheb kauj vab lossis tsheb kauj vab roob sib tsoo tshwm sim thiab sai li sai tau thaum muaj xwm txheej ceev
Ua Hobbyist PCBs Nrog Cov Cuab Yeej CAD los ntawm Kev Hloov Kho " Tsim Cov Cai ": 15 Cov Kauj Ruam (nrog Duab)
Ua Hobbyist PCBs Nrog Cov Kws Tshaj Lij CAD los ntawm Kev Hloov Kho " Tsim Cov Cai ": Nws yog qhov zoo uas muaj qee qhov kev tshaj lij hauv Circuit Board cov cuab yeej muaj rau cov nyiam ua haujlwm. Nov yog qee cov lus qhia rau kev siv lawv ito tsim cov laug cam uas tsis xav tau tus kws tshaj lij tsim khoom los ua tiag tiag