Cov txheej txheem:

Zigbee LED Sawb Dimmer (IKEA Trådfri Hack): 8 Cov Kauj Ruam (nrog Duab)
Zigbee LED Sawb Dimmer (IKEA Trådfri Hack): 8 Cov Kauj Ruam (nrog Duab)

Video: Zigbee LED Sawb Dimmer (IKEA Trådfri Hack): 8 Cov Kauj Ruam (nrog Duab)

Video: Zigbee LED Sawb Dimmer (IKEA Trådfri Hack): 8 Cov Kauj Ruam (nrog Duab)
Video: Zigbee LED Controller - универсальность за небольшую цену, Tuya, HomeKit, Home Assistant, биндинг 2024, Kaum ib hlis
Anonim
Zigbee LED Sawb Dimmer (IKEA Trådfri Hack)
Zigbee LED Sawb Dimmer (IKEA Trådfri Hack)

IKEA tau ua tiav qhia lawv kab ntawm Trådfri ntse teeb pom kev zoo thoob plaws ntiaj teb. Ib yam uas kuv ploj ntawm lawv cov kab ntawv yog ib qho yooj yim LED sawb dimmer. Vim li cas tsis hle lub paj hlwb los ntawm lub teeb thiab ua ib qho? LED dimmers yog txhua yam hais txog PWM (Pulse Width Modulation). Qhov dav ntawm cov mem tes txiav txim siab qhov ci ntawm lub teeb. Qhov ua kom yuam kev rov ua kom pom lub teeb yuav yog kom tshem tawm cov nti thiab pom PWM tus pin.

Yuav nyuaj npaum li cas? Tsis heev li nws hloov tawm! Nyeem ntawv kom paub ntxiv.

Kauj Ruam 1: Nqi Khoom

Nqi Khoom
Nqi Khoom

Txog qhov haujlwm no koj xav tau cov hauv qab no (tsis yog txhua yam hauv daim duab):

  • IKEA Trådfri GU10 Ntse teeb. Lwm qhov teeb tsa trådfri yuav tsum yog qhov zoo tab sis GU10 yog qhov pheej yig tshaj.
  • Tib xim LED sawb. GU10 tsuas muaj ib qho xim xwb.
  • LED Amp Cov. Cov cuab yeej no tau npaj los tsav cov kab ntev dua li tuaj yeem txhawb nqa ib tus tswj. Nws siv lub tswv yim los ntawm ib sab, ntxiv tsav tam sim no thiab tso tawm lub zog rau LED kab txaij nrog tib tus qauv PWM raws li cov tswv yim.
  • LD117 3.3v qhov ntsuas hluav taws xob
  • 100uF capacitor
  • 10 uF capacitor
  • 470 ohm tiv thaiv
  • 10 Kohm resistor
  • BC547 transistor (lossis sib npaug NPN)
  • Pawg thawj coj los yog lub rooj mov ci
  • Header tus pin
  • Hlau
  • Lub hwj chim txuas ntawm kev xaiv rau 12v fais fab mov

Kauj Ruam 2: Tshem Tawm Lub Teeb

Disassemble lub teeb
Disassemble lub teeb
Disassemble lub teeb
Disassemble lub teeb
Disassemble lub teeb
Disassemble lub teeb

Lub teeb yog yooj yim heev rau disassemble

  1. Siv lub taub hau ntswj taub hau nyias, ntswj lub yas yas sab saum toj tawm
  2. Pry lub txhuas npog qhib
  3. Rub lub teeb tawm
  4. De-solder LED los ntawm lub rooj tsavxwm thiab tshem tawm LED thiab txhuas npog
  5. Hauv qab daim npog tso lub rooj sib tham ntawm lub kaum sab xis 90 degree nrog cov tooj liab tooj liab txuas rau nws. Nov yog lub khoos phis tawj thiab cov khoom siv hluav taws xob tsis sib xws uas peb xav tau rau txoj haujlwm. Cov tooj liab yog tus kav hlau txais xov.

Kauj Ruam 3: IKEA Zigbee Circuit

IKEA Zigbee Circuit
IKEA Zigbee Circuit
IKEA Zigbee Circuit
IKEA Zigbee Circuit

Tam sim no peb muaj lub hlwb ntawm lub teeb ntse. Lwm tus tau ua qhov kev tshuaj xyuas tob dua thiab txiav txim siab tias hauv qab cov ntaub ntawv hlau muaj lub hom phiaj dav 32 ntsis processor uas tuaj yeem siv tau ntau yam zoo ib yam li Arduinos thiab ESP8266 units. Txawm li cas los xij, rau lub hnab nyiaj ntawm txoj haujlwm no peb tsuas yog txaus siab rau peb tus pin. Ntxiv rau, GND thiab PWM tso tawm. Saib daim duab rau tus pinout. Lub voj voog khiav ntawm 3.3v. Pin PB13 is PWM out.

Txhawm rau ua kom lub khob cij ua phooj ywg zoo, Kuv hais kom siv lub taub hau 3-pin rau ntawm lub rooj tsavxwm. Khoov tus pin me ntsis txhawm rau txhawm rau txo qis qhov sib nrug ntawm lub rooj tsav xwm hauv Circuit Court.

Muaj cov ntaub ntawv ntau ntxiv ntawm no:

Kauj Ruam 4: LED Amplifier

Qhov LED Amplifier
Qhov LED Amplifier

Cov kauj ruam no tsis tas yuav tsum tau ua. Txawm li cas los xij, Kuv hais kom txiav cov yas tawm ntawm LED amp Circuit kom tso cai ncaj qha nkag mus siv tau.

Cov kab hluav taws xob zoo li hauv daim duab.

Kauj Ruam 5: Teeb Duab Circuit

Teeb duab Circuit Court
Teeb duab Circuit Court

Lub voj voog (ntawm sab laug mus rau sab xis):

  1. 12v zog
  2. 12v rau 3.3v Circuit Court siv tus tswj hwm LD117
  3. IKEA Zigbee Circuit
  4. Qib hloov kho transistor (BC547) Circuit rau PWM tawm. Nws hloov 3.3v tso zis rau 12v rau kev sib raug zoo nrog LED amp.
  5. Ib qho ntxiv, transistor Circuit inverts lub teeb liab. LED amp thiab feem ntau cov hlua LED teeb thaum lub zog nkag 0v. Qhov no yog hu ua nquag anode. IKEA Circuit Court yog qhov rov qab. +3.3v yog nyob.
  6. LED amp yog qhov kawg ntawm qhov Circuit Court. Peb qhov kev nkag tau luv vim peb xav tau tib lub teeb liab rau tag nrho peb qhov kev tso tawm.

Cov pins ntawm LED amp tau sau tias BRG tab sis qhov no nws yog txhua yam dawb.

Kauj Ruam 6: Hlau Nws

Hlau Nws
Hlau Nws
Hlau Nws
Hlau Nws
Hlau Nws
Hlau Nws

Ua raws li daim duab kos. Tej zaum koj yuav xav pib los ntawm xaim txhua yam ntawm lub khob cij thiab thaum koj ua haujlwm ntawd, txav nws mus rau ntawm pawg thawj coj. Qhov tom kawg xav tau cov txuj ci yooj yim soldering.

Kauj Ruam 7: (xaiv tau) Ntxiv Case

(yeem) Ntxiv Case
(yeem) Ntxiv Case
(yeem) Ntxiv Case
(yeem) Ntxiv Case

Muab qhov project rau hauv rooj plaub. Yog tias koj muaj lub tshuab luam ntawv 3D (thiab teeb tsa koj cov khoom ib yam li kuv tau ua) koj tuaj yeem rub cov ntawv STL ntawm no thiab luam tawm rooj plaub uas pom hauv daim duab.

Pom zoo: