Cov txheej txheem:

Siedle HTA 711-01 Intercom Smartified: 3 Cov Kauj Ruam
Siedle HTA 711-01 Intercom Smartified: 3 Cov Kauj Ruam

Video: Siedle HTA 711-01 Intercom Smartified: 3 Cov Kauj Ruam

Video: Siedle HTA 711-01 Intercom Smartified: 3 Cov Kauj Ruam
Video: Der Nuki Opener macht eure Gegensprechanlage Smart! | Lets do it 2024, Hlis ntuj nqeg
Anonim
Siedle HTA 711-01 Intercom Smartified
Siedle HTA 711-01 Intercom Smartified
Siedle HTA 711-01 Intercom Smartified
Siedle HTA 711-01 Intercom Smartified

IoT tau nthuav tawm thoob plaws txhua qhov thiab ntau yam khoom tau raug hloov kho kom ntse dua, intercoms tsis muaj qhov tshwj xeeb.

Peb yuav ntxiv lub qhov rooj qhib qhov rooj ua haujlwm kom muaj kev paub zoo sib tham ntawm tus microcontroller sab nraud. xws li siv koj lub xov tooj smartphone qhib lub qhov rooj los ntawm sab nraud, cia nws qhib rau qee lub sijhawm, feem ntau zam kom tsis txhob nias lub yuam sij ntawm lub cuab yeej.

Ceev faj: nco ntsoov tias koj nkag siab txog qhov txaus ntshai ntawm kev cuam tshuam nrog cov khoom siv fais fab thiab yog tias siv tau uas koj tham txog qhov no nrog koj tus tswv tsev raws li rooj sib tham intercom yuav raug qhib (tsuas yog ntxiv ob lub xov hlau, tsis tas yuav siv lub tshuab soldering).

Khoom siv:

  1. Siedle HTA 711-01 -
  2. P2N2222A transistor -
  3. 330 Ohm tus tiv thaiv
  4. Pawg thawj coj loj nrog rau xws li ESP32 WROOM -32 -

Kauj Ruam 1: Xaiv Cov Khoom Siv Hluav Taws Xob

Ua ntej tig rau ntawm cov hlau txuas, cia peb saib cov khoom siv hluav taws xob xaiv kom nkag siab zoo tias peb tab tom ua dab tsi.

Specifications ntawm Intercom

Los ntawm Siedle HTA 711-01 cov ntaub ntawv:

  • Tshooj "Kev xa mus rau lub davhlau ya nyob twg" muab cov pins ntawm kev txaus siab rau peb: "6.1/Kuv Hu rau lub qhov rooj tso lub qhov rooj".
  • Ntu "Cov Lus Qhia Tshwj Xeeb" muab rau peb: "Lub qhov rooj tso lub pob tsis muaj peev xwm, hu rau thauj 24 V, 1 A".

Kev ntsuas hluav taws xob Intercom

Qhib qhov rooj sib tham, siv lub ntsuas cua thiab ntsuas qhov ntsuas qhov nruab nrab ntawm "6.1" thiab "I" (ntawm kab ntawv koj tuaj yeem nyeem "Tö" uas yog lus German luv luv ntawm "Türöffner" piv txwv li "tso lub qhov rooj"), koj yuav tsum tau txais qee yam zoo li:

qhib kev sib cuag: 18.5V AC

kaw kev sib cuag: 0.0V AC

Kev sim

Kev luv "6.1" rau "Kuv" nrog xaim, yuav ua rau lub qhov rooj qhib.

Raws li feem ntau ntawm peb lub microcontroller yuav muaj 3.3V tso tawm ntawm nws GPIO, peb xav tau cov khoom siv hluav taws xob tshwj xeeb ua tus hloov pauv/tso cia qhov ntws tam sim no los ntawm "6.1" mus rau "I": transistor.

Kev xaiv transistor thiab cov lus qhia tshwj xeeb

Koj tuaj yeem xa mus rau cov lus piav qhia ntawm transistors hauv qab https://en.wikipedia.org/wiki/Bipolar_junction_tra… lossis

Kev siv dav thiab lub hom phiaj me me lub zog qis transistor rau microelectronic yog 2N2222A. Nov yog qhov peb yuav siv.

Los ntawm cov ntaub ntawv transistor, peb paub tias (~ 25 ° C):

  • Cov Khoom Siv Hluav Taws Xob Hluav Taws Xob Hluav Taws Xob: BVceo = 40 V (peb tab tom cuam tshuam nrog 18.5V)
  • Tus Neeg Sau Tam Sim No Nruam: Ic = 0.8 A
  • Base Emitter Saturation Voltage *Vbe (Sat) = 0.6V

ESP32 WROOM-32 GPIOs tuaj yeem tso tawm 3.3V @12mA (ntau lub rooj sib tham xov tau sib cav 12mA vs 40mA, cia peb mus rau txoj kev nyab xeeb raws li nws ua haujlwm).

Rb xam: Vb - Vbe_sat = Rb * Ib

Numerically: Ibmax = 12mA = (3.3V - 0.6V) / Rbmin => Rbmin = (3.3 - 0.6) / 12*10^(- 3) => Rbmin = 225 Ohm

Rau kev nyab xeeb, peb yuav siv tus tiv thaiv ntau dua 225 Ohm. 330 Ohm yog tus nqi ntau los ntawm E24 series.

Siv cov khoom sib txawv

Yog tias koj yuav siv lwm lub intercom, microcontroller nrog cov yam ntxwv sib txawv GPIO thiab/lossis lwm lub transistor, saib lawv cov ntawv teev tseg thiab ntsaws cov lej rau saum toj no. Hloov tus nqi Rb yog tias tsim nyog.

Kauj ruam 2: Schematic

Schematic
Schematic

Lob koj cov hlau txuas thiab ua (tom qab koj txheeb xyuas cov yam ntxwv sib xws siv) raws li cov txheej txheem.

nco tseg: ob lub xov hlau mus rau hauv intercom tsis tau muab pauv, yooj yim rau cov ntsia hlau thiab ntxiv lawv rau cov uas twb muaj lawm uas twb tau siv rau lub hom phiaj tseem ceeb ntawm lub cuab yeej.

Ib feem ntawm txoj haujlwm tsis tau piav qhia ntawm no thiab tsis pub dawb rau kev siv.

Kauj ruam 3: Tshaj

Cov peev txheej ntxiv txog cov ncauj lus no:

  • https://github.com/audef1/magicdooropener
  • https://forum.iobroker.net/topic/7660/siedle-kling…

Pom zoo: