Cov txheej txheem:

IKEA Bäve LED Spot Hack: 8 Kauj Ruam
IKEA Bäve LED Spot Hack: 8 Kauj Ruam

Video: IKEA Bäve LED Spot Hack: 8 Kauj Ruam

Video: IKEA Bäve LED Spot Hack: 8 Kauj Ruam
Video: {Failed} sealant to seal the gap between the glass roof and the wall without backer rod 2024, Kaum ib hlis
Anonim
IKEA Bäve LED Hnov Hack
IKEA Bäve LED Hnov Hack

Kuv yuav lub teeb no ob peb xyoos dhau los, tab sis yeej tsis tau siv nws txij li lub teeb ci dhau lawm. Tsis tas li ntawd tus hloov pauv ua suab nrov nrov nrov, uas yuav raug daws txij thaum ntawd los (lossis tej zaum tsis yog, saib:

Cov lus qhia no qhia yuav ua li cas hloov kho lub teeb siv Arduino thiab qee yam khoom siv hluav taws xob, yog li tsis muaj qhov ci lossis suab nrov yog qhov teeb meem ntxiv lawm.

Ceev faj: txawm hais tias txhua qhov kev hloov pauv tau ua rau qhov qis-voltage (12V) ib feem ntawm lub teeb, koj tseem yuav ua rau ib puag ncig ze qhov hluav taws xob loj, uas ib txwm yog qhov txaus ntshai.

Kauj Ruam 1: Tsim thiab Tsim Kev Tshawb Fawb Circuitry

Tsim thiab Tsim Kev Tshawb Fawb Circuitry
Tsim thiab Tsim Kev Tshawb Fawb Circuitry

Nov yog cov khoom siv yooj yim koj xav tau:

  • IKEA Bäve teeb
  • Arduino Nano Cov
  • Buck converter 12V -> 7V
  • N-channel MOSFET transistor nrog lub zog qis qis (qis R-DS). Xwb ntau lub transistors nyob rau hauv parallel (Kuv siv 3 IRF520)
  • Laub khawm/micro hloov
  • Capacitors 1000uF thiab 10nF
  • Resistors 220Ohm thiab 10kOhm

Kauj Ruam 2: Tsim Kev Xeem Teeb

Tsim Kev Teeb Teeb
Tsim Kev Teeb Teeb

Thaum koj sib sau koj cov khoom siv hluav taws xob ceev faj qhov ntawd

  • Koj tuaj yeem tuaj yeem tawm ntawm tus nqi hloov pauv, thiab khiav Arduino ncaj ntawm 12V (tej zaum nrog ob peb diodes nyob rau hauv series kom txo qhov hluav taws xob me ntsis). Kuv pib sim nrog LM7805 tab sis kuv tsis xis nyob nrog cov cua sov uas nws tau yaj
  • N-FET tau siv los tig lub LED me me rau thiab tawm ntawm tus nqi siab. Nyob ntawm seb hom FET, nws tuaj yeem ua rau kub dua. Txhawm rau zam qhov no, Kuv tab tom khiav 3 FETs ua ke. Txawm tias 2 FETs ua ke muab txo qis ntawm cov cua sov uas ploj mus piv rau siv tsuas yog 1 (P = I^2*R, yog li txo qhov tam sim no 'Kuv' 50% lossis 66% muaj txiaj ntsig zoo)
  • Qhov ntsuas hluav taws xob no yog qhov kawg ntawm qee qhov kev sim thiab saib xyuas qib teeb liab nrog oscilloscope. Tsis muaj ib qho txiaj ntsig ntawm kev tiv thaiv tau suav kom raug, yog li koj yuav xav kuaj ob yam.

Kauj ruam 3: Software

Lub software tuaj yeem rub tawm los ntawm no:

Qee qhov tshwj xeeb ntawm software

  • Lub teeb theem nce thiab txo qis tsuav koj nias lub pob
  • Cov teeb pom kev zoo xaiv tau khaws cia rau EEPROM tsuas yog thaum koj tso lub pob
  • Thaum siv lub zog, lub teeb nce mus txog qib xaiv. Hmoov tsis zoo, khau raj ncua (tuaj yeem ua tau txo qis/tshem tawm los ntawm qee qhov nyiag nkas ntxiv)
  • Muaj prell kuaj pom hauv software. Qhov no tej zaum tsis xav tau.

Kauj Ruam 4: Sib sau Cov Khoom Kho Kawg

Sib dhos Cov Khoom Kho Kawg
Sib dhos Cov Khoom Kho Kawg

Thaum koj tsim koj lub PCB nco qhov no hauv siab:

  • Nws yuav tsum haum rau hauv lub tsev uas nqaim. Ardiono Nano zoo haum. Kuv ESP8266 lub rooj tsavxwm yuav dav heev.
  • Lub tsev siab kuj tseem qis dua.
  • Ua kom ntseeg tau tias sab hauv qab ntawm koj qhov kev tsim kho yog ncaj ncaj (tsis muaj cov khoom ntse lossis cov ntsiab lus) kom tsis txhob luv luv thaum teeb sab hauv lub teeb

Kauj Ruam 5: Mount Micro Hloov

Mount Micro Hloov
Mount Micro Hloov

Laum ib lub qhov nyob rau ib kawg ntawm lub teeb thiab teeb lub micro hloov tsis sib xws.

Nco ntsoov nrhiav qhov hloov pauv kom nws yuav pom tseeb ntawm cov thav duab thav duab thaum sib dhos.

Kauj Ruam 6: Ua Chav Rau Koj Cov Khoom Siv Hluav Taws Xob

Ua Chav Rau Koj Cov Khoom Siv Hluav Taws Xob
Ua Chav Rau Koj Cov Khoom Siv Hluav Taws Xob

Nyob ntawm qhov ntev ntawm koj kev tsim kho, koj yuav tsum tau txav Bäve hloov pauv me ntsis kom haum txhua yam hauv.

Lub tshuab hloov pauv tau teeb tsa nrog ob daim kab xev nplaum, thiab koj yuav xav tau cov khoom nyias nyias kom thawb hauv qab lub tshuab hloov pauv. Kuv tau siv ib rab riam.

Kauj Ruam 7: Rhais Cov Khoom Siv Hluav Taws Xob kom nyab xeeb

Mount lub Electronics ruaj ntseg
Mount lub Electronics ruaj ntseg

Ntxiv 3-4 txheej txheej kab xev rwb thaiv tsev rau Bäve mounting thav duab (hauv qab thiab ob sab), kom tsis txhob muaj qhov luv luv. Tom qab ntawd muab cov khoom siv hluav taws xob tso rau hauv lub thav duab thav duab, thiab khi nws nrog tib yam rwb thaiv tsev.

Nco ntsoov tias koj nce Arduino ib txoj hauv kev, uas koj tuaj yeem yooj yim txuas USB cable rau kev hloov kho software.

Ceev faj: xyuas kom tseeb tias lub xaim hluav taws xob tau nyab xeeb ua ntej sib dhos lub teeb dua. Siv ib txoj hlua hlua los khi hlua lossis lwm yam.

Kauj Ruam 8: Teeb Lub Teeb Hauv Qab Nthab thiab Txaus Siab

Teem lub Teeb hauv Qab Nthab thiab Txaus Siab
Teem lub Teeb hauv Qab Nthab thiab Txaus Siab

Kuv tab tom khiav lub teeb ntawm ib qib qis tshaj, tej zaum txhais tau tias tsawg dua 10% ntawm lub zog nws tau xa thaum koj yuav los ntawm IKEA.

Hauv qib qis dua lub suab nrov tsis txaus ntseeg los ntawm kev hloov pauv tsis tuaj yeem hnov txhua. Lub suab nrov rov qab maj mam ntawm qib siab dua.

Daim ntawv ceeb toom: yog tias koj qhov kev sib txuas tseem ceeb muaj qhov ua kom dimmer, koj tuaj yeem sim coj tus cwj pwm coj txawv txawv, zoo li lub teeb kaw tsis ntev tom qab qhib lub zog, lossis tej zaum yuav tsis qhib txhua. Kuv yuav tsum rov txuas kuv lub teeb thiab tau txais lub zog los ntawm kab uas tsis muaj qhov ua haujlwm dimmer.

Pom zoo: