Cov txheej txheem:

S.H.I.E.L.D - Puas Muaj Ib Tus Neeg Saib Koj?: 4 Kauj Ruam (nrog Duab)
S.H.I.E.L.D - Puas Muaj Ib Tus Neeg Saib Koj?: 4 Kauj Ruam (nrog Duab)

Video: S.H.I.E.L.D - Puas Muaj Ib Tus Neeg Saib Koj?: 4 Kauj Ruam (nrog Duab)

Video: S.H.I.E.L.D - Puas Muaj Ib Tus Neeg Saib Koj?: 4 Kauj Ruam (nrog Duab)
Video: Cas Tsis Xaiv Koj - R-Lin Thoj New Song Original By Zaj Dub [Official MV] 2023 2024, Hlis ntuj nqeg
Anonim
S. H. I. E. L. D - Puas Muaj Ib Tus Neeg Saib Koj?
S. H. I. E. L. D - Puas Muaj Ib Tus Neeg Saib Koj?

Kuv pom ntau cov vis dis aus ntawm cov neeg txaj muag thaum lawv tsis pom tias lawv lub microphone lossis lub koob yees duab nyob, thiab nws tau muab kuv lub tswv yim rau txoj haujlwm no.

Kuv tau sau daim ntawv thov yooj yim hauv C# uas pom thaum lub koob yees duab lossis lub microphone tau siv thiab pop ceeb toom nrog lub npe program. Ib qho ntxiv, Kuv muaj lub rooj tsav xwm yooj yim nrog 2 WS2812B LEDs thiab lub suab nrov uas nrov thiab teeb thaum nws tau txais kev ceeb toom los ntawm software.

Kho vajtse yog Arduino raws thiab kev sib txuas lus tau ua tiav ntawm cov ntawv kom nws yooj yim thiab cia cov pib pib qhov program yooj yim los ua si nrog.

Thov txheeb xyuas qhov project GitHub chaw cia khoom kom ua tiav qhov chaws:

Khoom siv

  • 2 x WS2812B
  • 1 x5v hwb
  • 1 x Micro USB breakout board
  • 1 x Poj niam USB hom A pawg tswj hwm
  • 8 x 3mm x 1.8mm vajvoog neodymium hlau nplaum

Kauj ruam 1: Electronics

Electronics
Electronics
Electronics
Electronics
Electronics
Electronics

Cov khoom siv hluav taws xob ntawm no yooj yim heev Kuv tau siv 2 qhov chaw nyob LEDs (WS2812B), buzzer thiab micro USB txuas. Qhov txhua yam yog xaim raws li cov txheej txheem txuas.

Ntawm Arduino sab, nws tsuas yog ib qho yooj yim USB hom A txuas uas txuas rau 5v, GND thiab pins 8 & 9.

Kauj Ruam 2: 3D Luam Ntawv Case

3D Luam Ntawv Case
3D Luam Ntawv Case
3D Luam Ntawv Case
3D Luam Ntawv Case
3D Luam Ntawv Case
3D Luam Ntawv Case

Kuv tau tsim cov ntaub ntawv yooj yim uas muaj cov khoom siv hluav taws xob nrog ob qhov hlais rau cov cim acrylic. Rau ib puag ncig LEDs Kuv tau tso kev txhawb nqa rau cov paib kom lawv tsis txhob qaij. Hauv qab ntawm rooj plaub kuv tau tso 4 hlau nplaum li nws tuaj yeem haum rau lub mount ntawm lub vijtsam yooj yim.

Luam ib qho ntawm txhua daim ntawv stl.

Kauj Ruam 3: Acrylic Sings Engraving

Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving
Acrylic hu nkauj Engraving

Kuv siv kuv lub tshuab CNC tshuab, SainSmart CNC 3018-PROVer. Kuv tau tshawb nrhiav lub cim pub dawb thiab hloov lawv mus rau vector nrog software software.

Kauj ruam 4: Programming

Programming
Programming

Nov peb muaj cov neeg siv khoom thov uas yog C# (rau Windows) thiab Arduino code. Koj tuaj yeem pom lawv ntawm no.

Txhawm rau saib xyuas thaum siv lub koob yees duab lossis lub microphone, Kuv tab tom saib txoj hauv kev hauv qab no hauv Windows Registry: HKEY_CURRENT_USER / SOFTWARE / Microsoft / Windows / CurrentVersion / CapabilityAccessManager / ConsentStore / webcam

thiab

HKEY_CURRENT_USER / SOFTWARE / Microsoft / Windows / CurrentVersion / CapabilityAccessManager / ConsentStore / microphone

Txhua lub sijhawm peb tau txais kev hloov pauv ceeb toom peb yuav tsum tshawb nrhiav tsob ntoo kom hloov pauv. Thaum siv lub cuab yeej, LastUsedTimeStop yog 0, yog li peb tshawb nrhiav nws thiab cais qhov tseem ceeb kom tau txais daim ntawv thov lub npe los qhia nws hauv kev ceeb toom.

Kev sib txuas lus ntawm Arduino thiab C# program yog los ntawm cov lus. Qhov lus yog JSON yog li nws yuav yooj yim rau kev sib txuas lus mus rau lwm yam yog tias peb xav ua yav tom ntej.

Pom zoo: