Cov txheej txheem:
- Kauj Ruam 1: Teem CIRCUIT (HARDWARE)
- Kauj Ruam 2: QHOV ZOO TSHAJ OLED nrog CURSOR JOYSTICK CODE
- Kauj Ruam 3: RESULTS: D
Video: RIG CELL LITE INTRO: Nrog ADAFRUIT SSD1306 THIAB JOYSTICK: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Lub vijtsam no tswj los ntawm microcontroller SSD1306 siv I2C npav thiab tuaj yeem sib tham nrog feem ntau ntawm microcontroller muaj nyob rau niaj hnub no. tab sis rau hnub no, peb yuav sim lub vijtsam no nrog peb rockin 'RIG CELL LITE microcontroller. Koj tuaj yeem pom lub vijtsam OLED no ntawm Adafruit lossis Sparkfun piv txwv. Qee qhov nws muag online tseem pom tias pheej yig heev. Cov ntxaij vab tshaus no muaj qhov ua tau zoo tab sis me me, tsim nyog los ua lub npe lossis lub xov tooj ntawm tes. Adafruit thiab Sparkfun tau tsim cov tsev qiv ntawv uas ua rau nws yooj yim los tso saib cov ntawv, duab thiab txawm tias ua cov duab raws cov duab geometric yooj yim heev.
Qhov Yuav Tsum Tau Ua Koj yuav xav tau cov hauv qab no:
- 1 x Breadboard
- 1x Rig Cell Lite
- 1 x Joystick
- 1x Oled SSD1306
- Cov xov hlau raws li xav tau
Kauj Ruam 1: Teem CIRCUIT (HARDWARE)
Hauv qhov kev qhia no, peb siv oled ssd1306 zaub screen nrog lub joystick. Nov yog qee qhov txuas uas koj tuaj yeem pom RIG CELL LITE
rau kev sib txuas lus ntawm RIG CELL LITE thiab oled screen, peb siv I2C tus pin los ntawm lub vijtsam rau peb RIG. SCL thiab SDA tus pin ntawm RIG nyob ntawm tus pin A5 thiab A4 feem.
tsim lub Circuit Court raws li qhia hauv daim duab saum toj no.
Kauj Ruam 2: QHOV ZOO TSHAJ OLED nrog CURSOR JOYSTICK CODE
Ua ntej peb tuaj yeem pib peb tus lej, ua ntej peb siv lub tsev qiv ntawv adafruit rau lub vijtsam oled. Yog li, rub tawm ob daim ntawv zip no thiab nruab rau ntawm peb cov software arduino IDE.
github.com/adafruit/Adafruit_SSD1306
thiab
github.com/adafruit/Adafruit-GFX-Library
tom qab kev teeb tsa tau rub tawm, rub tawm 2 cov ntaub ntawv uas kuv tau muab hauv qab no uas yog oled_display _with_cursor_joystick.ino thiab Adafruit_SSD1306.cpp, lossis koj tseem tuaj yeem rub tawm los ntawm ob daim ntawv no
tom qab koj tau teeb tsa lub tsev qiv ntawv raug cai, tam sim no koj yuav hloov Adafruit_SDD1306.cpp cov ntaub ntawv nrog tus tshiab uas kuv tau muab rau hauv cov lus qhia hauv lub vev xaib no
tom qab txhua yam zoo, xa cov cai ntawm koj li RIG: D
Kauj Ruam 3: RESULTS: D
Tom qab ua tiav upload cov oled_display _with_cursor_joystick.ino ntawm RIG CELL LITE, cov coj yuav tig rau thiab yuav muaj tus cursor muaj nyob nruab nrab ntawm lub vijtsam. nws yuav txav tom qab kev txav ntawm joystick. muaj kev lom zem!: D
Yog tias nws tsis yog, xyuas kom koj tau teeb tsa lub Circuit kom raug thiab txheeb xyuas thiab muab cov lej tso rau hauv koj lub rooj tsavxwm, lossis saib ntu kev daws teeb meem.
Pom zoo:
RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam
RIG CELL LITE INTRO: BLINK LED: Taw qhia LEDs yog lub teeb me me, muaj zog uas tau siv rau hauv ntau daim ntawv thov sib txawv. Txhawm rau pib tawm, peb yuav ua haujlwm ntawm ntsais ib qho LED, Nyob Zoo Lub Ntiaj Teb ntawm microcontrollers. Qhov ntawd yog txoj cai - nws yog qhov yooj yim li tig lub teeb rau thiab tawm. Nws
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: 5 Kauj Ruam (nrog Duab)
8 Relay Tswj Nrog NodeMCU thiab IR Txais Txais Siv WiFi thiab IR Chaw Taws Teeb thiab Android App: Tswj 8 qhov hloov pauv hloov siv nodemcu thiab ir tus txais tshaj wifi thiab ir chaw taws teeb thiab hauv app.the ir tej thaj chaw deb ua haujlwm ywj pheej ntawm wifi txuas. NTUJ
RIG CELL LITE INTRO: Digital I/O: 3 Kauj Ruam
RIG CELL LITE INTRO: Digital I/O: Digital inputs and outputs (digital I/O) ntawm RIG CELL LITE yuav tso cai rau koj txuas nws mus rau cov sensors, tus ua haujlwm, thiab lwm yam ICs. Kawm paub siv lawv li cas yuav tso cai rau koj siv RIG CELL LITE los ua qee yam muaj txiaj ntsig zoo, xws li nyeem sw
RIG CELL LITE INTRO: INFRARED SENSOR: 3 Kauj Ruam
RIG CELL LITE INTRO: INFRARED SENSOR: Lub ntsuas hluav taws xob infrared yog lub tshuab hluav taws xob, uas tso tawm kom paub qee yam ntawm ib puag ncig. Ib qho IR sensor tuaj yeem ntsuas qhov kub ntawm ib yam khoom thiab txheeb xyuas cov lus tsa suab.Qhov hom kev ntsuas ntsuas tsuas yog siv hluav taws xob hluav taws xob, tsis yog
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: 13 Kauj Ruam (nrog Duab)
Kub thiab Vaum Zaub thiab Sau Cov Ntaub Ntawv Nrog Arduino thiab Ua: Intro: Qhov no yog Txoj Haujlwm uas siv Arduino board, Sensor (DHT11), lub khoos phis tawj Windows thiab Kev Ua Haujlwm (rub tawm dawb) program los tso saib Kub, Cov ntaub ntawv vaum hauv digital thiab bar kab ntawv, tso tawm lub sijhawm thiab hnub tim thiab suav lub sijhawm suav