Cov txheej txheem:
- Kauj ruam 1: Hlau (kov) screen
- Kauj Ruam 2: Tau Paub Nrog Lub Tsev Qiv Ntawv
- Kauj Ruam 3: Tsim Tus Neeg Siv Khoom Siv Duab Duab / Cov Ntawv Qhia Tseem Ceeb
- Kauj Ruam 4: Hlau Ob Tus Tswj
- Kauj Ruam 5: Pib Txuas Cov Kev Sib Txuas Wireless
- Kauj ruam 6: Mus qus! Sim Ntau Yam
- Kauj Ruam 7: Tsim
- Kauj Ruam 8: Luam Ntawv 3D
- Kauj Ruam 9: Kuaj thiab Kawg
- Kauj ruam 10: Saib ua ntej
Video: Handheld Console Nrog Wireless Controllers thiab Sensors (Arduino MEGA & UNO): 10 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Kuv siv dab tsi
- Arduino MEGA
2x Arduino UNO
- Adafruit 3.5 TFT 320x480 Touchscreen HXD8357D
- Buzzer
4Ohm 3W Tus Hais Lus
- 5 hli LED teeb
- Ultimaker 2+ Tshuab Luam Ntawv nrog Dub PLA Filament
- Lasercutter w/ MDF ntoo
- Cov tshuaj tsuag xim dub (rau ntoo)
- 3x nRF24L01+ Wireless Transceivers
- 2x 16mm Khawm
- 2x Siab Sensors
- 3x 9V Cov Roj Teeb
- Cov qhob cij
- 2x 0.96 `` OLED I2C cov ntxaij vab tshaus
- Txiv neej - poj niam cov xov hlau
- Solderstation
- Super kua nplaum
- 2x ib-channel kov module (Liab/Xiav)
Kauj ruam 1: Hlau (kov) screen
Yog li peb yuav ua qhov no yog lub console tuav, nrog ob lub wireless tswj.
Yog li peb yuav muaj chav nyob tseem ceeb (Qhov loj tshaj plaws, nrog lub vijtsam LCD)
Lub hauv paus tseem ceeb yuav khiav nrog Arduino MEGA.
Ob tus tswj hwm sib cais yuav txhua tus khiav Arduino UNO.
Tom qab ntawd peb yuav ua rau Arduinos sib tham sib tham kom xa cov ntaub ntawv tswj.
Pib nrog xaim lub 320x480 npo kom raug rau koj lub vijtsam tseem ceeb (Arduino MEGA) zoo li hauv qhov kev qhia no. (Adafruit muaj cov ncauj lus qhia ntxaws txog kev thaiv & kab ntawv).
Txog lub suab, Kuv xaim lub suab nrov thiab 3W 4Ohm Hais Lus kom cais cov koob digital thiab GND.
nrog lub suab (tus pin, zaus, sijhawm); Koj tuaj yeem tsim qee qhov suab yooj yim monophonic.
Kauj Ruam 2: Tau Paub Nrog Lub Tsev Qiv Ntawv
Adafruit 320x480 npo txhawb nqa Adafruit_GFX thiab Adafruit_TFTLCD cov tsev qiv ntawv.
Nyeem cov ntaub ntawv. Kuv xav tias nws tau piav qhia zoo nyob ntawd.
Nco ntsoov tias koj tau teeb tsa qhov raug hauv Arduino IDE:
Cov cuab yeej -> Pawg -> Arduino/Genuino MEGA lossis MEGA 2560
Cov cuab yeej -> Chaw nres nkoj -> [Chaw nres nkoj nrog '' Arduino MEGA '' hauv nws]
Lub tsev qiv ntawv tshuaj ntsuam tshwj xeeb no txhawb nqa kev cai fonts, cov duab yooj yim thiab ntau yam xim.
Ib yam dab tsi tseem ceeb yuav yog qhov rov ua dua tshiab qis dhau rau kev ua kom du. Yog tias koj xav hloov kho lub vijtsam txhua tus zuam, nws yuav qeeb dhau los daws qhov rov ua dua txhua lub pixel, thiab nws yuav flicker
Yog li kuv xav qhia ua haujlwm muaj tswv yim nyob ib puag ncig qhov no, zoo li cas qee qhov ntawm cov laus tuav lub tes tuav cov duab ua haujlwm: nrog cov keyboard. Tsawg yog ntau! Thiab hloov pauv txhua yam txhua txhua ob, yog tias koj xav txav lub duab plaub sab laug lossis sab xis, koj tuaj yeem yooj yim lwv txoj kev nws tawm tom qab, tsis txhob tshem tawm tag nrho cov khoom thiab rov ua dua.
Piv txwv li, Kuv tau siv lub vijtsam flicker ua qhov ntsais ntsais rau tus ua cim ntawm ntu ua ntu zus.
Los ntawm Adafruit_GFX lub tsev qiv ntawv kuv tau siv tft.fillRect (x, y, dav, qhov siab, xim); thiab tft.print (ntawv nyeem); kev ua haujlwm.
Kev sim yog qhov tseem ceeb.
Kauj Ruam 3: Tsim Tus Neeg Siv Khoom Siv Duab Duab / Cov Ntawv Qhia Tseem Ceeb
Tom qab tau txais kev paub nyob hauv lub tsev qiv ntawv thiab paub nws cov kev txwv/lub zog, koj tuaj yeem pib tsim lub Vev Xaib Main Screen.
Ib zaug ntxiv, xav txog cov duab plaub. Tsawg kawg yog qhov kuv tau ua.
Nov yog kuv tus lej rau UI
pastebin.com/ubggvcqK
Koj tuaj yeem tsim cov sliders rau lub vijtsam ci ntsa iab, los tswj tus pin '' Lite '' ntawm koj li Adafruit Touchscreen, los ntawm tus lej Pin.
Kauj Ruam 4: Hlau Ob Tus Tswj
Rau tus tswj hwm nws yog qhov tseeb rau koj seb koj xav siv lub sensor zoo li cas, nyob ntawm seb yam game twg koj npaj yuav ua
Okay, yog li rau cov tswj kuv txiav txim siab siv:
- Lub siab sensor
- Ib qho screen OLED
- Ib-channel kov module uas tig rau lossis tawm
- Gesture sensor (RobotDyn APDS9960)
- nRFL01+ Transceiver (rau kev sib txuas lus wireless)
- Ib lub laub khawm
Nco tseg: Gesture sensor thiab OLED ob leeg siv SCL / SDA sib txuas. Nws coj kuv ib pliag kom paub tias Arduino tsuas muaj ob qho: A4 thiab A5. Tab sis koj tuaj yeem yooj yim xaim cov kab no ua ke ua ke ntawm lub khob cij thiab nws yuav ua haujlwm zoo
Kauj Ruam 5: Pib Txuas Cov Kev Sib Txuas Wireless
Kev thaiv lub nRF24L01+ cov qauv coj kuv qee lub sijhawm, kom nws ua haujlwm.
Kuv yuav tsum tau mus rau TMRh20 RF24 lub tsev qiv ntawv, tom qab tsis tuaj yeem tau txais cov ntaub ntawv sensor raug xa mus rau lub vijtsam.
Txhawm rau ntau Arduinos sib txuas lus nrog ib leeg, peb yuav tsum ua kom ntseeg tau tias tsawg kawg ib ntawm UNOs tau siv, ib yam li MEGA.
Siv cov ntawv txuas ntawm MEGA los luam tawm cov txiaj ntsig koj tau txais los ntawm UNO, thiab saib seb nws puas ua haujlwm.
Nov yog cov cai
Nov yog lub tsev qiv ntawv
Kauj ruam 6: Mus qus! Sim Ntau Yam
Ib feem tseem ceeb ntawm kuv txoj kev txhim kho yog tsuas yog Sim ua ntau yam!
Hom khawm twg koj xav siv?
Koj tso dab tsi rau hauv koj cov tswj?
Saib ib puag ncig ntawm cov vev xaib, koj yuav pom ntau qhov sib txuas ntxiv rau ib txwm siv '' A/B '' cov nyees khawm lossis cov joysticks sib piv. Ua kev tshoov siab thiab mob siab rau muab nws mus!
Thaum koj tau txais lub tswv yim meej thiab ua haujlwm ntawm yam koj xav muab tso rau hauv cov tswj, xaim cov khoom siv.
Nyob ntawm seb lawv ua haujlwm li cas, koj yuav tsum siv cov tswv yim digital, lossis cov tswv yim sib piv.
NCO TSEG: Qee qhov khoom siv xav tau SCL / SDA tus pin ua haujlwm kom raug. Thiab yog tias koj muaj ob lossis ntau lub ntsuas hluav taws xob ob qho xav tau ib yam, koj yuav zaum tau txais kev ceeb ntshai zoo li kuv. Tab sis koj tsis tas yuav txhawj
Koj tuaj yeem tso ob lub ntsuas 'SDA thiab SCL pins ua ke ua ke, nkag mus rau A4 thiab A5 thiab nws yuav ua haujlwm
Kauj Ruam 7: Tsim
Thaum koj tau txais lub tswv yim txias rau cov ntsuas koj xav siv, kos qee cov tswv yim rau tus qauv koj nyiam.
Tom qab ntawd, nkag mus rau qee cov qauv kev pab cuam xws li Blender, Maya, Xinesmas 4D.
Kuv siv Blender los tsim tus qauv (ntxhib).
Txhawm rau kom tau txais kev ntsuas meej hauv Blender, koj tuaj yeem hloov chav ntawm daim phiaj loj mus rau millimeters.
Tom qab koj tau ua tus qauv, nco ntsoov tias koj tsis muaj ob npaug thiab koj tau suav dua koj li qub.
Export cov ntawv ua.stl, yog koj xav siv lub tshuab luam ntawv 3D zoo li kuv.
NCO TSEG: Hauv Blender, koj yuav tsum teeb tsa kev xa tawm mus rau 0.1, yog tias koj xav tau qhov loj me hauv Cura hauv qib tom ntej
Kauj Ruam 8: Luam Ntawv 3D
Cov qauv no tau luam tawm nrog 2.85mm Dub PLA filament ntawm Ultimaker 2+ lub tshuab luam ntawv.
Rub tawm CURA
Qhib koj lub. STL rau hauv Cura, thiab nws yuav qhia koj tias nws yuav siv sijhawm ntev npaum li cas.
Rau rooj plaub tuav nws yuav siv sijhawm ntev txog 10 teev los luam tawm, nyob ntawm qhov loj me.
Txawm li cas los xij, rau cov qauv piav qhia qis koj tuaj yeem ua kom nrawm dua, uas yog qhov kuv tau ua.
Nov yog kuv qhov chaw:
Txheej siab: 0.2
Phab ntsa Thickness: 0.8
Sab saum toj/Qab Thickness: 0.8
Nozzle: 0.4 hli
Kub: 60 degrees Celsius
Txaus: 100%
Brim: Txhua qhov chaw kov tus qauv tsim
Sau qhov ceev: 20%
Qib: 0
Nozzle Kub: 220 C.
Luam Ceev: 120%
Kauj Ruam 9: Kuaj thiab Kawg
Koj tuaj deb lawm.
Kauj ruam kawg yog kom tau txais lub perfboard / veroboard, thiab txhais koj li kev sib txuas ntawm lub khob cij rau ib feem ntawm pawg thawj coj ua qauv.
Ua kom ntseeg tau tias cov khoom siv hluav taws xob haum rau sab hauv cov ntawv luam tawm, thiab tej zaum txiav qee cov ntoo MDF los ua qhov chaw uas cov nyees khawm / cov khoom siv nkag mus los.
Kuv siv lub lasercutter rau qhov no.
Qhov tseem ceeb tshaj plaws yog txhawm rau ncig, sim qee yam uas koj tsis tau ua dua, thiab muaj kev lom zem!
Vam tias qhov kev qhia no tau qhia meej txaus … Nws yog qhov haujlwm nyuaj nyuaj, uas ua rau muaj txiaj ntsig zoo!:)
Kauj ruam 10: Saib ua ntej
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
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
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
Txheeb Xyuas Cov Teeb Meem thiab Ceeb Toom - Arduino UNO thiab Ultrasonic: 4 Cov Kauj Ruam (nrog Duab)
Txheeb Xyuas Cov Teeb Meem thiab Ceeb Toom - Arduino UNO thiab Ultrasonic: Qhov no yog kev qhia los pab koj nkag siab txog ultrasonic thiab buzzer thiab nkag mus tob rau kev kawm Arduino, ua raws cov theem no thiab muab kuv cov lus teb
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam Xov: Ua LED Zaub thiab Npuag Hluav Taws Xob uas Rolls Up: 7 Cov Kauj Ruam (nrog Duab)
Cov Cuab Yeej Siv Hluav Taws Xob thiab Cov Cuam Tshuam: Ua kom pom LED thiab Cov Khoom Siv Hluav Taws Xob uas Rolls Up: Ua rau koj tus kheej cov ntaub ua hluav taws xob, xov, kua nplaum, thiab kab xev, thiab siv lawv los ua lub zog ntsuas hluav taws xob, tiv thaiv, hloov pauv, LED cov lus qhia thiab siv hluav taws xob. thiab cov xov hluav taws xob koj tuaj yeem ua cov lus qhia LED thiab cov kab hluav taws xob ntawm ib qho ntaub uas hloov pauv tau