Cov txheej txheem:

Lub Suab Tswj Teeb Hluav Taws Xob RGB Led Strips thiab Ntau Nrog Cortana thiab Arduino Tsev Automation: 3 Kauj Ruam
Lub Suab Tswj Teeb Hluav Taws Xob RGB Led Strips thiab Ntau Nrog Cortana thiab Arduino Tsev Automation: 3 Kauj Ruam

Video: Lub Suab Tswj Teeb Hluav Taws Xob RGB Led Strips thiab Ntau Nrog Cortana thiab Arduino Tsev Automation: 3 Kauj Ruam

Video: Lub Suab Tswj Teeb Hluav Taws Xob RGB Led Strips thiab Ntau Nrog Cortana thiab Arduino Tsev Automation: 3 Kauj Ruam
Video: RGB Electronic Clock Bluetooth Speaker rau lag luam khoom plig, Xov tooj Accessories Tuam Tshoj Hoob 2024, Kaum ib hlis
Anonim
Image
Image

Zoo li lub tswv yim ntawm kev tswj hwm yam nrog koj lub suab? Los yog tsis nyiam tawm ntawm lub txaj los tua teeb? Tab sis txhua qhov kev daws teeb meem zoo li google tsev yog kim heev? Tam sim no koj tuaj yeem ua nws tus kheej rau qis dua $ 10. Thiab txawm tias zoo dua nws yog qhov yooj yim heev los ua!

Nws yog txhua qhov ua tau ua tsaug rau qhov ncaj ncees tso tawm dawb CoRoom Windows 10 daim ntawv thov uas muaj nyob hauv Windows Store, thiab ua raws 3 cov kauj ruam yooj yim hauv qab no koj tuaj yeem ua rau koj tus kheej.

Txheeb xyuas saib CortanaRoom hauv kev tshuaj xyuas cov vis dis aus saum toj no lossis hauv qab no:

www.youtube.com/watch?v=38VDIR3he6g&feature=youtu.be

Ob peb yam CortanaRoom tuaj yeem ua tau:

  • Tswj Teeb nrog koj lub suab
  • Tswj tej yam xws li TV nrog koj lub suab
  • Tswj lub RGB Led Sawb nrog koj lub suab
  • Siv CortanaRoom app los teeb tsa Tswb uas yuav ua rau koj sawv los ntawm kev maj mam nce qhov ci ntawm RGB Led sawb hauv cov xim ntawm lub hnub.
  • Siv 3 tsim hauv Led teeb meem zoo li flashing lossis ploj
  • Kev koom ua ke nrog Cortana rau kev sib xyaw ua ke nrog Windows 10.
  • Thiab ntau ntxiv!

Txhawm rau ua CortanaRoom koj xav tau ob peb ntu yooj yim:

5V relay cov

www.ebay.com/itm/5PCS-SRD-05VDC-SL-C-PCB-5PINS-5V-DC-Coil-Power-Relay/292258586190?hash=item440bf81e4e:g:8RcAAOSwYHxWM6gD:rk:12: pf: 0 ib

Arduino uno lossis nano

www.ebay.com/itm/UNO-R3-ATmega328P-Development-Board-With-Boot-Loader-For-Arduino-UNO-CW4/264107006108?hash=item3d7e01189c:m:m9gMjVajKJYMc3dUnsK2: pf: 0 ib

CoRoom App dawb

www.microsoft.com/nl-nl/p/coroom/9phh4hfrrm8d?activetab=pivot:overviewtab

Thiab lub Windows 10 khoos phis tawj nrog lub microphone

Ntau cov xov hlau

Yog tias koj xav tau kev xaiv RGB Led sawb koj kuj xav tau:

3 N-Channel MOSFET Zoo li IRFZ44N

www.ebay.com/itm/10Pcs-IRFZ44N-IRFZ44-N-Channel-49A-55V-Transistor-MOSFET/381375026221?hash=item58cbb9142d:g:TdMAAOxyfCBSCC18:rk:1:pf:0

Ib qho Anode RGB Led Sawb

www.ebay.com/itm/DC12V-5M-SMD-5050-RGB-LED-Strip-Waterproof-300LED-RGBW-RGBWW-LED-Light-Strips

Lub hwj chim muab rau koj cov hlua LED nrog qhov Voltage raug. Piv txwv li 12V 3A no zoo txaus

www.ebay.com/itm/220-110V-DC-3A-4A-6A-Charger-Lighting-LED-Driver-Switch-Power-Supply-Adapter-12v

Thaum koj tau sau tag nrho cov ntu mus rau theem 1 kom pib.

Kauj Ruam 1: Ua Cov Khoom Siv Hluav Taws Xob

Ua Electronics
Ua Electronics
Ua Electronics
Ua Electronics
Ua Electronics
Ua Electronics

Ua ntej tshaj plaws peb yuav tsum ua cov khoom siv hluav taws xob. CortanaRoom tau tshwm sim tawm ntawm 3 tus qauv. Muaj Cov Tub Ntxhais ib feem uas yuav tsum tau ua thiab tom qab ntawd muaj 2 qhov sib cais uas yog RGB Led Sawb thiab IR Sensor. Vim qhov no kuv tau cais cov khoom siv hluav taws xob ua peb ntu me me.

Cov Tub Ntxhais Kawm

Lub hauv paus tseem ceeb tshwm sim tawm ntawm lub hlwb ntawm qhov haujlwm uas yog Arduino, thiab tus ua haujlwm uas yog tus xa tawm. Ua qhov no yog qhov yooj yim heev. Tib yam uas koj yuav tau ua yog ua raws cov txheej txheem saum toj no. Cov txheej txheem no tuaj yeem saib nyuaj tab sis rau qhov tseem ceeb koj tsuas yog yuav tsum ua cov kab liab liab nyob hauv daim duab thib ob saum toj no.

Tom qab txuas nrog txhua qhov txuas mus rau Arduino peb yuav tsum txuas lub teeb thiab / lossis lwm yam khoom siv rau Relay's. Txhawm rau ua qhov no kom tau txais lub hwj chim qaum ntawm koj lub teeb, Tom qab ntawd txiav lub tes tsho los ntawm lub xov tooj hluav taws xob kom koj tuaj yeem pom cov xov hlau sab hauv kab. Feem ntau koj yuav pom xiav, xim av thiab qee zaum xaim ntsuab daj. Tam sim no txiav cov xaim xiav thiab hle qhov xaus. Tom qab cov laug ntawd ib qho ntawm qhov xaus ntawm tus pin nquag ntawm Relay thiab lwm qhov kawg ntawm NC (ib txwm kaw) tus pin ntawm Relay. Saib daim duab saum toj no kom pom cov pins twg koj xav tau siv.

Tam sim no koj tuaj yeem txuas ntxiv ua qhov no rau tag nrho koj cov teeb. Tib cov kauj ruam tseem siv rau TV. Tab sis hauv kev xav koj tuaj yeem nqes tau txhua yam koj xav tau. Piv txwv li lub tshuab kas fes lossis lub khoos phis tawj computer yuav tsum ua tau los ntawm kev ua raws cov theem no.

Yog tias koj muaj lus nug txog ntu no tawm tswv yim hauv cov lus hauv qab no thiab kuv yuav teb nws hauv ib hnub

Yog tias koj tsis xav tau RGB Led sawb lossis IR Sensor koj tuaj yeem hla tus so thiab mus rau theem 2

RGB coj sawb

CortanaRoom kuj tseem muaj kev txhawb nqa rau RGB Led strip. Ntxiv qhov no yuav muab txoj hauv kev rau koj siv lub Wake Up Light tshiab muaj nuj nqi. Lub Teeb Pom Kev yog qhov tswb uas tsis siv lub suab tsis txaus ntseeg yuav ua rau koj sawv los ntawm kev ua piv txwv lub hnub tuaj. Qhov no yuav ua rau muaj kev zoo siab sawv thiab tuaj yeem kho koj li kev xav thaum sawv ntxov. Dhau li ntawm Wake Up Light koj kuj tseem tuaj yeem tswj cov xim ntawm Led sawb nrog koj lub suab thiab siv ib qho ntawm 3 qhov ua tau zoo.

Txhawm rau ua nws koj yuav tsum xub ua Tus Txheej Txheem. Tom qab ntawd ntxiv cov phiaj xwm nrog lub voj voog ntsuab ncig nws rau koj qhov haujlwm.

- Nco ntsoov siv ib qho anode RGB coj sawb thiab N-channel mosfets!

- Nco ntsoov siv lub zog muaj zog txaus, tsawg kawg 1A rau 1m RGB Led Sawb.

- Tsis tas li tsis txhob hnov qab txuas hauv av ntawm Arduino mus rau hauv av ntawm Led sawb fais fab mov.

Yog tias koj tsis xav tau IR Sensor, hla tus so thiab mus rau theem 2

IR Sensor

Qhov kawg yog IR-Sensor. Nrog lub ntsuas ntsuas no txuas nrog lub teeb RGB yuav qhib rau thaum koj taug kev hauv chav. Cov yam ntxwv no ua haujlwm tab sis nws tseem kab laum. Thiab yog tias koj txiav txim siab ua kom nws paub tias nws yuav tsis ua haujlwm 100% raug.

Ua tiav?

Thaum koj tau ua raws cov kauj ruam saum toj no koj tau npaj mus rau qib tom ntej! Txheeb cov duab kawg saum toj no kom pom tias nws yuav tsum zoo li cas tam sim no.

Kauj ruam 2: Software

Lub Software
Lub Software
Lub Software
Lub Software
Lub Software
Lub Software

Tam sim no peb tuaj yeem pib ua haujlwm ntawm software. hmoov zoo qhov no kuj yooj yim heev. Thawj qhov peb yuav tsum tau ua yog upload qee cov cai rau Arduino.

Tso Cai

Txhawm rau ua qhov no ua raws cov kauj ruam yooj yim hauv qab no:

  1. Txuas koj Arduino
  2. Qhib Arduino IDE
  3. mus rau cov piv txwv - Firmata thiab nyem Standard Firmata (zoo li hauv daim duab saum toj no)
  4. tam sim no nias lub pob upload thiab koj ua tiav!

Rau kev qhia ntxaws ntxiv:

www.instructables.com/id/Arduino-Installing-Standard-Firmata/

Txuas nrog CoRoom app

Tam sim no Arduino muaj txoj cai raug cai ntawm nws peb tuaj yeem txuas nws mus rau CoRoom app. Koj tuaj yeem rub tawm CoRoom app los ntawm lub khw qhov rai ntawm no:

www.microsoft.com/nl-nl/p/coroom/9phh4hfrrm8d?activetab=pivot:overviewtab

Tom qab ntawd txuas koj Arduino rau koj lub PC. Tam sim no qhib App thiab koj yuav tsum pom qee qhov coj ua ntsais ntawm koj li Arduino. Yog tias qhov no tsis tshwm sim tsis txhob txhawj. Nws yuav yog vim koj muaj pawg Arduino sib txawv. Txhawm rau kho qhov no mus rau nplooj ntawv teeb tsa hauv CoRoom app thiab hloov 'PID_7523' tus nqi rau 'PID_0043' thiab hloov 'VID_1A86' tus nqi rau 'VID_2341'. Tam sim no nias lub voj voog liab ntawm sab xis lub thawv txuas thiab nws yuav tsum txuas.

Thaum txuas nrog koj tau ua tiav! Tam sim no koj tuaj yeem tswj hwm yam nrog koj lub suab. Yog tias qee yam tsis ua haujlwm koj tuaj yeem tshawb xyuas cov kauj ruam hauv qab no los yog koj tuaj yeem tawm tswv yim hauv qab no nrog koj cov lus nug.

Teeb meem

Tau kawg yeej ib txwm muaj teeb meem thaum tsim qhov project. Nov hauv qab no kuv yuav sim npog cov teeb meem feem ntau koj tuaj yeem muaj.

Qhib thiab tawm yog thim rov qab?

Puas yog koj lub teeb tig thaum sim tua nws thiab nws puas tua thaum nws xav tau qhib? tom qab ntawd koj tau hloov tus lej nquag qhib nrog tus lej kaw ib txwm nyob ntawm Relay. Sim hloov tus pin ntawm qhov txuas thiab qhov no yuav tsum kho nws.

Cortana tsis teb rau "Hav Cortana"

Yog Cortana tsis teb rau "Hav Cortana" kos yog tias qhov kev xaiv no tau qhib rau hauv Cortana cov ntawv qhia zaub mov. Txhawm rau pom qhov no mus rau cov ntawv qhia zaub mov los ntawm kev ntaus chaw nyob hauv qhov rai tshawb nrhiav bar. Tom qab hom ntawd hauv kab ntawv tshawb fawb hauv cov ntawv qhia zaub mov Cortana thiab nias Cortana ntu ntu. Hauv Cortana ntu ntu saib rau cov lus teb rau "Hav Cortana" xaiv thiab qhib nws.

Cortana tsis tau teeb tsa lossis muaj?

Yog tias nws zoo li Cortana tsis muaj lossis teeb tsa vim tias piv txwv li koj tsis pom nws hauv lub qhov rai tshawb nrhiav bar lossis lwm qhov twg nws tuaj yeem yog qhov koj cheeb tsam tsis teeb tsa kom raug. Vim tias Cortana tsuas muaj nyob hauv qee thaj tsam koj yuav xav hloov koj cheeb tsam thiab tej zaum kuj yog koj li lus. Ua raws cov ntawv qhia no kom pab Cortana hauv koj lub tebchaws:

techjourney.net/enable-windows-10-cortana-to-work-in-unsupported-region-language/

Cortana tsis hnov kuv?

Yog Cortana tsis hnov koj xub tshuaj xyuas yog tias koj lub microphone teeb tsa raug. Koj tuaj yeem rov ua dua koj lub mic los ntawm kev siv tus daws teeb meem koj tuaj yeem pom hauv Cortana teeb tsa hauv Windows 10.

Ib lossis ntau xim ntawm RGB Led sawb tam sim no ua haujlwm?

Ua ntej tshaj txhua qhov txheeb xyuas koj cov kev sib txuas. Puas yog txhua lub xov hlau txuas nrog kom raug? Tom qab tshawb xyuas yog tias hauv av ntawm lub hwj chim tseem txuas nrog Arduino? Tom qab ntawv txheeb xyuas yog tias koj muaj Lub Rooj vag, Dej thiab qhov chaw txuas nrog raug. Qhov chaw yuav tsum mus rau RGB Led sawb, Ntws rau hauv av thiab Rooj vag mus rau Arduino. Yog tias nws tseem ua haujlwm tam sim no nws tuaj yeem yog koj li MOSFET tawg. Sim hloov nws thiab nws yuav tsum tam sim no ua haujlwm.

Arduino tsis txuas txawm tias tom qab hloov PID thiab VID qhov tseem ceeb

Yog tias koj Arduino tseem tsis txuas txawm tias tom qab hloov PID thiab VID qhov tseem ceeb hauv cov ntawv qhia zaub mov nws yuav yog koj li PID thiab VID sib txawv. Txhawm rau nrhiav koj li PID thiab VID ua raws cov theem hauv qab no.

1. qhov tseem ceeb windows + x thiab xaiv tus thawj tswj ntaus ntawv

2. mus rau chaw nres nkoj

3. ncaj nyem koj lub cuab yeej (tej zaum zoo li "Arduino" lossis "CH340g" thiab xaiv cov khoom

4. mus rau cov ntsiab lus tab

5. hauv cheeb tsam xaiv cov cuab yeej nyem kho vajtse lds

6. tam sim no koj yuav pom koj li VID thiab PID

Kauj ruam 3: Koj Ua Tiav lawm

Image
Image

Nrog koj zoo siab ua tiav

Thaum qhov ntawd tsis nyuaj ua qhov yog? Tam sim no koj tuaj yeem hloov pauv ntawm koj cov phooj ywg lossis tus hluas nkauj nrog koj txoj haujlwm tshiab. Yog tias koj nyiam txoj haujlwm no tseem txheeb xyuas kuv lwm qhov haujlwm zoo li qhov qhib thiab kaw qhov rooj tsis siv neeg no koj tuaj yeem ua rau koj tus kheej pheej yig heev:

www.instructables.com/id/Make-a-Automatic-Self-Sensing-Opening-and-Closing-/

Chaw taws teeb tswj

Ib yam uas koj tuaj yeem sim tam sim no txhua yam tau ua haujlwm yog siv lub ntsej muag tswj chaw taws teeb. Qhov no tsuas yog ua haujlwm ib puag ncig uas ua rau nws muaj peev xwm tswj hwm koj lub teeb los ntawm txhua qhov chaw hauv ntiaj teb. Txhawm rau siv nws rub tawm teamviewer ntawm koj Windows 10 PC thiab ntawm lub cuab yeej koj xav tswj koj chav los ntawm:

www.teamviewer.com/nl/download/windows/

Tam sim no yooj yim txuas rau koj lub khoos phis tawj Windows 10 thiab qhib CoRoom app. Tam sim no nias ntawm lub voj voog kom tig lub teeb rau thiab tawm.

Youtube

Yog tias koj nyiam ntau txoj haujlwm zoo li qhov no txheeb xyuas kuv tus youtube channel rau cov ncauj lus ntxiv:

www.youtube.com/channel/UC5WWg2B9fS-JXo-9NTveePA?view_as=subscriber

Hloov cov cai

Yog tias koj xav xav nrog tus lej koj tus kheej nws muaj txhua yam ntawm kuv GitHub ntawm no:

github.com/sieuwe1/CortanaRoom

Pom zoo: