Cov txheej txheem:
Video: Wireless Gamecontroller Nrog Arduino thiab NRF24L01+ (txhawb rau Ib lossis Ob Tus Tswj): 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Koj tuaj yeem pom qhov haujlwm tiav los ntawm kuv lub vev xaib (nws yog lus Finnish):
Nov yog cov lus qhia luv luv txog qhov project. Kuv tsuas yog xav qhia nws yog tias ib tus neeg xav tsim nws thiab nyeem tsis tau lus Finnish.
Koj puas tau xav txog kev ua si web-based games nrog koj tus phooj ywg, tab sis daim duab qhia tsis zoo uas koj muaj lub sijhawm nyuaj ua si? Tsis txhob txhawj xeeb, vim tias koj tuaj yeem tsim koj li kev tswj hwm nrog kev cai mappings. Kuv coded tus tswj kom ua raws li USB-keyboard, tab sis koj tuaj yeem siv nws raws li qhov koj xav tau.
Kauj Ruam 1: Qhov Chaw
Nov yog kho vajtse koj yuav xav tau:
- 2 pcs ntawm Arduino Pro Mini (ATmega328P lossis lwm yam yuav ua)
- 2 pcs NRF24L01+ modules rau kev sib txuas lus wireless
- Arduino Leonardo lossis Arduino Pro Micro (tus txais)
- 3D luam chassis (txuas hauv qab no rau cov ntawv)
- ISP programmer lossis USB -> RS232 hloov pauv rau program cov tswj
- 16 pcs ntawm 20*20 mm khawm
- 2 pcs ntawm Li-ion roj teeb rau cov tswj (Nco ntsoov CIRCUITS! Nco ntsoov koj tsis xav tua koj tus kheej! Kuv pom zoo TP4056-board uas muaj USB-charing thiab tiv thaiv hauv tib lub rooj tsavxwm!)
- 2 pcs ntawm cov swb me me (qee yam zoo li SS12D00G3)
- Ntau cov xov hlau
- Dupont connectors (yeem)
Koj tuaj yeem pom Fusion 360 tus qauv los ntawm no:
Kauj ruam 2: Coding
Tom qab ntawd tsuas yog teeb tsa cov tswj (gamecontroller_dualcontroller.ino rau cov tswj yog tias koj xav siv ob tus tswj thiab gamecontroller.ino yog tias koj xav siv tsuas yog ib qho) thiab tus txais (gamecontroller_dual_receiver_w_keystrokes.ino rau ob thiab gamecontroller_receiver_w_keystrokes rau ib qho nkaus xwb)
Txawm li cas los xij koj yuav tsum muab cov tswj chaw nyob sib txawv. Tsuas yog qhib radioLink.ino thiab hloov kab 22 rau thawj tus tswj rau qhov no: radio.openWritingPipe (chaw nyob [0]);
Thiab rau tus tswj thib ob rau qhov no: radio.openWritingPipe (chaw nyob [1]);
Yog tias koj xav hloov daim duab qhia chaw, hloov pauv daim phiaj [8] array (lossis mapping2 [8] rau tus tswj thib ob).
Koj tuaj yeem pom cov lej los ntawm kuv GitHub:
Kauj ruam 3: Sib dhos
Yuav ua li cas los ua ke tus tswj:
- Ntxiv cov khoom sib txuas uas tsim nyog rau kev them nqi hluav taws xob (thiab hloov mus kaw nws)
- Kaw cov kab hluav taws xob them mus rau hauv qab
- Ntxiv qhov hloov thiab lo rau hauv qhov chaw
- solder NRF24L01+ rau Arduino (CE rau tus pin 7 thiab CSN rau tus pin 8)
- Txuas cov nyees khawm (lwm tus pin rau hauv av thiab lwm qhov sib txuas I/O tus pin, koj tsis tas yuav xav tau cov capacitors)
- Kaw qhov thaiv
Yuav ua li cas los ua ke tus txais:
- Txuas NRF24L01+ mus rau Arduino
- Koj ua tiav
Pom zoo:
Yuav Tsim Li Cas thiab Ntxig Ib Lub Rooj Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: 11 Cov Kauj Ruam
Yuav Tsim Li Cas thiab Ntxig Cov Lus Thiab Ntxiv Kab Ntxiv Thiab/lossis Kab Rau Cov Lus Hauv Microsoft Office Word 2007: Koj puas tau muaj cov ntaub ntawv ntau uas koj ua haujlwm nrog thiab xav rau koj tus kheej … " Kuv yuav ua li cas ntawm cov ntaub ntawv no saib zoo dua thiab nkag siab yooj yim dua? " Yog tias yog, tom qab ntawd lub rooj hauv Microsoft Office Word 2007 yuav yog koj cov lus teb
Micro: ntsis MU Vision Sensor rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Tus lej Cim: 6 Cov Kauj Ruam
Micro: me ntsis MU Kev Pom Kev Pom Zoo rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Cim Cim: Qhov no yog kuv phau ntawv qhia thib ob rau MU lub zeem muag pom kev. Hauv qhov haujlwm no peb yuav ua haujlwm micro: ntsis kom paub txog daim npav sib txawv los ntawm kev siv daim ntawv lo qhov tseem ceeb
ARUPI - Tus Nqi Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: 8 Kauj Ruam (nrog Duab)
ARUPI - Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi Tus Nqi Uas Tau Txais Tus Nqi/Tus Kheej Tus Kheej (ARU) rau Soundscape Ecologists: Cov lus qhia no tau sau los ntawm Anthony Turner. Txoj haujlwm tau tsim los nrog ntau qhov kev pab los ntawm Shed hauv Tsev Kawm Ntawv ntawm Kev Suav, University of Kent (Mr Daniel Knox tau pab zoo!)
Tus Kheej Tus Kheej Tus password rau Aruino Pro Micro lossis Vim Li Cas Khaws Yooj Yim Thaum Txhim Kho Txoj Kev Muaj!: 15 Cov Kauj Ruam (nrog Duab)
Tus Khaws Tus Kheej Tus Kheej ntawm Aruino Pro Micro lossis Vim Li Cas Khaws Yooj Yim Thaum Muaj Txoj Hauv Kev Zoo!: Zoo li, qhov teeb meem tseem ceeb nrog microcontrollers rau kiv cua ntawm cov khoom siv hluav taws xob (tshwj xeeb yog cov pib) yog nrhiav kom paub qhov twg los thov lawv :) Tam sim no cov khoom siv hluav taws xob, tshwj xeeb tshaj yog digital , yog ntau thiab ntau zoo li cov khawv koob dub. Tsuas yog 80-Lvl wisards ar
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: 4 Cov Kauj Ruam
Txuas tus Ipod lossis Lwm Tus Neeg Siv Mp3 rau Cov Hais Lus Hauv Tsev Ib Yam Tsis Muaj Tus Nqi kim thiab Bulky Amplifier!: Koj puas muaj cov hais lus tso suab ntxiv, uas yog tuaj nrog cheep stereos uas tawg lossis koj tsuas yog muaj yam tsis muaj laj thawj? Hauv Cov Lus Qhia Kuv yuav qhia koj yuav ua li cas koj tuaj yeem txuas lawv rau txhua tus neeg siv Mp3 lossis ib lub cuab yeej twg nrog lub suab nrov