Cov txheej txheem:
Video: PCB Handheld Nrog Arduino (Nrog Kev Xaiv Mus Wireless!): 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hloov kho 28.1.2019Kuv tam sim no tab tom ua haujlwm txuas ntxiv ntawm cov khoom siv no. Koj tuaj yeem ua raws txoj haujlwm ntawm kuv tus YouTube channel lossis Twitter.
Ceeb toom! Kuv pom qhov yuam kev hauv PCB txheej txheem. Cov laug thiab cov nyees khawm tau txuas nrog analog nkaus xwb. Kuv tsau qhov ntawd los ntawm kev ntxiv ob qhov rub tawm-resistors rau ob lub tswv yim. Qhov ntawd tsis yog cov tshuaj zoo tshaj tab sis nws ua haujlwm.
Kuv tsim PCB rau tus tuav tes uas ua raws ATmega328P-AU microcontroller (tib yam li hauv Arduino Nano), SSD1306 OLED zaub thiab qee cov nyees khawm. Kuv kuj tau ntxiv qhov kev xaiv ntxiv NRF24L01+ xov tooj cua qauv rau kev ua si ntau tus. Koj kuj tseem tuaj yeem siv lub tes tuav no ua tus tswj hwm wireless. Kuv tau ua cov tswj hwm wireless ua ntej thiab txawm tias muaj ib qho Lus Qhia txog lawv. Txhua yam koj xav tau yuav yog Arduino Leonardo lossis Pro Micro.
Tus tuav tes yog qhov qhib kiag. Txhua qhov ntawm cov cai tau siv dawb nrog rau PCB tsim. Kuv kuj tau pib coding qhib qhov pobzeb-based game game rau lub console. Tam sim no txhua yam ua haujlwm tshwj tsis yog lub tshuab physics muaj qee qhov teeb meem nrog nrawm nrawm. Qhov ntawd tsuas yog vim tias lub tshuab physics tau ua haujlwm los ntawm tus ncej ntawm qhov nrawm tib yam li cov duab kos. Lub tshuab lub cev yuav tsum muaj lub npe hu ua microstepping (txav ib lub pixel thaum lub sijhawm tshuaj xyuas yog tias muaj kev sib tsoo), tab sis kuv tseem yuav tsum tau ua haujlwm rau nws.
Raws li koj tuaj yeem pom los ntawm daim duab, Kuv tseem tsis tau txais cov khoom SMD. Tam sim no kuv tab tom tsim txoj cai nrog tus qauv.
Kuv tsis xav tau tus kws tshaj lij PCB. Kuv puas tseem tuaj yeem tsim qhov no?
Tau kawg. Kuv tau ua tiav cov lus qhia yuav ua li cas los tsim lub console no rau prototyping PCB nrog dotted tooj liab. Koj tuaj yeem pom qhov haujlwm ntawm no:
Kauj Ruam 1: Tau Txais Txhua Qhov
Ua ntej tshaj koj xav tau txhua feem. Koj tuaj yeem xaj PCB los ntawm JLCPCB lossis qee qhov chaw uas siv cov ntaub ntawv Gerber. Gerber cov ntaub ntawv tau siv los piav qhia PCB rau cov chaw tsim khoom. Lawv tsuas yog. ZIP cov ntaub ntawv uas muaj txhua yam qhia meej ntawm PCB tsim.
Nov yog qhov txuas rau PCBs:
Nov yog cov npe ntawm cov khoom koj yuav tau yuav txhawm rau ua kom nws ua haujlwm:
- ATmega328P (TQFP-32)
- 8 pcs 6 x 6 x 6 mm cov nyees khawm
- 16 MHz siv lead ua oscillator
- 2 pcs ntawm 22 pF 0603 qhov loj me capacitor
- SSD1306 zaub nrog SPI-interface. (128 x 64, xim dub)
- Ob 0603 10 kΩ resistors
Nov yog cov npe ntawm cov khoom siv xaiv tau:
- NRF24L01+
- AMSD1117-3.3 (3, 3 V tus tswj rau NRF24L01+)
- 1206 680 nF capacitor (NRF24L01+ xav tau qhov ruaj khov ua haujlwm kom raug.)
- 2 pcs 1206 coj (yog tias koj xav nyem qee lub teeb)
- 2 pcs ntawm 0603 resistors rau lub leds
Kauj Ruam 2: Sib sau ua Pawg
Qhov no yuav nyuaj piav qhia txij li kuv tseem tsis tau tsim ib qho PCBs ເທື່ອ. Kuv tsis muaj qhov qhia meej tias cov khoom mus qhov twg, tab sis kuv vam tias lawv yuav tuaj sai sai.
Raws li feem ntau nrog cov laug, siv qee yam fume extractor thiab ntxuav koj txhais tes tom qab kov cov dej ntws los yog cov laug. Thiab ceev faj nrog cov hlau phom. Nws yuav ua rau mob hnyav yog tias koj kov nws thaum nws nyob ib puag ncig 350 degrees Celsius. Txawm li cas los xij yog tias koj tau raug mob los ntawm cov hlau txuas, siv dej txias kom txias qhov chaw hlawv
Yog tias koj tsis tau siv cov khoom seem SMD, Kuv pom zoo kom saib qee qhov kev qhia los ntawm YouTube. Txoj cai yooj yim yog siv cov laug txuas rau ib lub ncoo, muab lub nti tso rau hauv thiab muab tus pas txhuam hniav. Tom qab ntawd tsuas yog ua rau sab nraud thiab yog tias muaj ntau tus pin ua rau lawv. Koj kuj tseem tuaj yeem siv cov dej ntws los pab nrog cov txheej txheem soldering.
Koj kuj tseem yuav xav tau cov khoom siv hluav taws xob txhawm rau txhawm rau txhawm rau txhawm rau lub microcontroller. Tsuas yog ntws cov pins nrog cov kab laug sab thiab siv cov laug txuas kom tau txais qhov tshaj tawm.
Nco ntsoov tias koj tau siv cov khoom seem kom raug. Feem ntau microcontrollers muaj tus lej los qhia thawj tus pin. Feem ntau PCBs kuj tseem muaj qhov taw qhia rau kev coj ua.
Rau SMD qhov koj feem ntau xav tau muab cov khoom me me ua ntej. Yog tias koj muab lub taub hau tso ua ntej, tej zaum koj yuav tsoo lawv nrog cov hlau txuas thiab tso qee cov pa phem. Kuv tuaj yeem pom zoo cov ntu no los ntawm kev paub. Koj tsis tas yuav ua raws cov npe no, tab sis nws tau ua nrog kev nkag siab:
- Capacitors
- LEDs thiab resistors rau lub leds (yeem) [ua ntej koj yuav tsum tau muab cov tshuaj tiv thaiv pov tseg)
- Tus tswj hwm thiab tswj hwm microcontroller (Nco ntsoov tias koj tso MCU txoj hauv kev! Lub teev yuav tsum tau ntsib ib yam nkaus li tus cim [dot dawb] ntawm PCB.)
- Crystal
- Nyees khawm
- Headers (Lub taub hau ntawm NRF24L01+ tsuas yog qhov uas koj tus ntiv tes yuav so, yog li kuv pom zoo siv qee cov xov hlau kom tso cai qee qhov hloov pauv rau nws.)
- Qee cov xov hlau rau roj teeb. Lub hwj chim tseem ceeb yog cim nrog VCC thiab GND. VCC yuav tsum nyob ib puag ncig 3, 6-6 volts. Qhov hluav taws xob ntawd ncaj qha mus rau lub microcontroller, yog li nco ntsoov tias koj tsis tso qhov hluav taws xob ntau dhau los ntawm nws.
Kauj ruam 3: Software
Kuv tau ua ob peb qhov kev ua si rau lub platform zoo li no ntau xyoo. Koj tuaj yeem pom cov lej qub-game ntau ntawm no (Nws yog lub npe hu ua mushroom_mcp_continued_v10_converted):
github.com/Teneppa/handheld_open_source
Lub tshuab qhib qhov chaw tuaj yeem nrhiav tau ntawm no (Kuv siv Visual Studio los cim nws yog li muaj ntau cov ntaub ntawv weird):
Pom zoo:
Arduino OLED Cov Ntawv Qhia zaub mov Nrog Kev Xaiv los Xaiv: 8 Cov Kauj Ruam
Arduino OLED Display Menu With Option to Select: Hauv qhov kev qhia no peb yuav kawm paub yuav ua cov zaub mov li cas nrog kev xaiv xaiv siv OLED Display thiab Visuino.Watch the video
Arduino RGB Xim Xaiv - Xaiv Xim Los Ntawm Lub Neej Lub Hom Phiaj: 7 Cov Kauj Ruam (nrog Duab)
Arduino RGB Xim Picker - Xaiv Xim Los Ntawm Lub Neej Lub Hom Phiaj: Yooj yim xaiv cov xim los ntawm cov khoom siv lub cev nrog rau Arduino raws li RGB xim xaiv, ua rau koj rov tsim cov xim uas koj pom hauv lub neej tiag tiag ntawm koj lub PC lossis xov tooj. Tsuas yog nias lub pob kom luam theej duab xim ntawm cov khoom siv pheej yig TCS347
Cov cuab yeej siv Ultrasonic txhawm rau txhim kho Kev Nkag Mus Los ntawm Kev Pom Kev: 4 Cov Kauj Ruam (nrog Duab)
Cov cuab yeej siv Ultrasonic txhawm rau txhim kho Kev Tshawb Fawb Kev Pom Kev: Peb lub siab tawm mus rau cov neeg tsis muaj zog raws li peb siv peb cov txuj ci los txhim kho thev naus laus zis thiab tshawb fawb daws teeb meem txhawm rau txhim kho lub neej kev raug mob. Txoj haujlwm no tsuas yog tsim los rau lub hom phiaj no.Lub hnab looj tes siv hluav taws xob siv ultrasonic txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau txhawm rau ua haujlwm
Yuav Ua Li Cas Rov Qab Xaiv Cov Ntawv Xaiv Hauv Cov Tswj Vaj Huam Sib Luag: 10 Kauj Ruam
Yuav Ua Li Cas Rov Qab Xaiv Cov Ntawv Xaiv Hauv Cov Tswj Vaj Huam Sib Luag: Tus kab mob hauv lub computer yog tus kheej-rov ua dua qhov haujlwm uas ua rau puas lossis txawm ua kom puas cov ntaub ntawv lossis disks. Nws ib txwm nyob ntawm qhov chaw disk thiab qee zaum lub cim xeeb tseem ceeb. Muaj qhov sib txawv los tiv thaiv tus kab mob softwares uas tuaj yeem tshem tawm cov kab mob zoo li No
Kev Taw Qhia rau Kev Ua Duab: Pixy & Nws Cov Kev Xaiv: 6 Cov Kauj Ruam
Kev Taw Qhia rau Kev Ua Duab: Pixy & Nws Cov Kev Xaiv: Hauv kab lus no, Peb yuav piav qhia lub ntsiab lus ntawm Kev Ua Duab Duab (DIP) thiab yog vim li cas siv kho vajtse zoo li Pixy thiab lwm yam cuab yeej los ua cov txheej txheem ntawm cov duab lossis yeeb yaj kiab. Qhov kawg ntawm kab lus no, Koj yuav kawm: Yuav ua li cas cov duab digital