Cov txheej txheem:

Wireless Illuminated Resistive Touch Button: 5 Kauj Ruam
Wireless Illuminated Resistive Touch Button: 5 Kauj Ruam

Video: Wireless Illuminated Resistive Touch Button: 5 Kauj Ruam

Video: Wireless Illuminated Resistive Touch Button: 5 Kauj Ruam
Video: Men's Casio G-Shock Magma Ocean Gold Rangeman | 35th Anniversary GPRB1000TF-1 Watch Review 2024, Kaum ib hlis
Anonim
Wireless Illuminated Resistive Touch Button
Wireless Illuminated Resistive Touch Button

Nov yog qhov haujlwm yooj yim nrog lub tswv yim ntawm kev tsim lub khawm tiv taus uas ua ke RGB Led. Thaum twg los xij lub pob no tau kov, nws yuav ua kom pom kev thiab lub teeb xim tuaj yeem ua raws. Nws tuaj yeem siv los ua lub teeb pom kev txav tau yooj yim los ntawm lub wireless network.

Los saib kuv cov video:

Kauj ruam 1: B. O. M

IB
IB

Kauj Ruam 2: SCHEMATIC & BOARD ASSEMBLY

Schematic

Duab
Duab
Duab
Duab

Pawg sib dhos

Qhov kov sensor yog tsim los ntawm tooj liab hlau 6mm2 thiab 10mm RGB coj. Cov tooj liab tau khoov ib puag ncig RGB coj nrog cov duab zoo li tau qhia hauv daim duab hauv qab no thiab muab txuas rau PCB tus qauv.

Kuv ntxiv ib lub pob ntxiv rau hom xaiv xaiv, yog li lub pob nyem no tuaj yeem tswj nrog qee qhov haujlwm xws li: LOCK MODE, ON/OFF MODE, TOGGLE MODE ….

Duab
Duab
Duab
Duab

Kauj Ruam 3: Piav Qhia

Cia peb pom schematic hauv qab no:

Duab
Duab

Thaum kov, tib neeg tus ntiv tes ua tus tiv thaiv thiab tso cai rau me me kom ntws los ntawm nws, ua qhov hloov pauv hluav taws xob me me ntawm Arduino analog pin. Xyaum, thaum kuv ntsuas qhov ntsuas hluav taws xob ntawm 2 lub xov tooj liab, nws tau qhia:

  • Tsis muaj ntiv tes kov: 3.29V
  • Nrog ntiv tes kov: 3.24V

Kev poob qis 0.05V (50mV) tuaj yeem kuaj pom los ntawm tus lej Analog A0 ntawm NodeMCU. Thaum kuv nyeem cov tswv yim analog A0 los ntawm chaw nres nkoj txuas, nws qhia tau tias:

  • Tsis muaj ntiv tes kov, nyeem tus nqi yog kwv yees li 3 hauv chav ua haujlwm engineering.
  • Nrog ntiv tes kov, kev nyeem tus nqi hloov pauv ib puag ncig 16 hauv chav ua haujlwm engineering.

Vim kev nyeem tus nqi hloov pauv, Kuv yuav tsum ua qhov nruab nrab kwv yees li 20 qhov kev kuaj kom tau txais tus nqi raug. Thov txheeb xyuas ntawm cov kauj ruam tom ntej kom pom cov lus qhia no.

Duab
Duab

Kev sib cuag ntawm qhov kov cov ntiv tes yog qhov tseem ceeb heev hauv qhov no. Tias yog vim li cas kuv khoov lub xov tooj sib koom tes nrog cov qauv tsim nyog kom nce kev sib cuag. Thaum ntsuas, qhov khawm tiv taus no ua haujlwm ruaj khov thiab raws nraim thaum nws kov los ntawm ob tus ntiv tes.

Duab
Duab

Qhov khawm tiv taus no ua haujlwm tau zoo txawm tias Arduino siv lub roj teeb lossis lub zog siv.

Pom zoo: