Cov txheej txheem:
- Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
- Kauj Ruam 2: Daim duab qhia chaw thiab piav qhia
- Kauj ruam 3: Arduino thiab Code
Video: AC Voltmeter Siv Arduino: 3 Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Nov yog qhov yooj yim Circuit Court kom paub meej AC qhov hluav taws xob siv Arduino UNO yam tsis muaj AC voltmeter !! Zoo siab !!
Kauj Ruam 1: YUAV TSUM MUAJ NTAUB NTAWV
Nyeem cov lus piav qhia kom paub txhua tus siv…
1) Step-downTransformer (12V lossis 6V), kuv tau siv 6V ib qho
2) Resistor (2P- 1K ohm raws li kuv siv 6V Tx, rau 12V nws 1K thiab 4.7K)
3) Diode (1N4007)
4) Zener Diode (5V)
5) Capacitor (1uF nyiam dua lossis lwm yam 10uF ntau lub sijhawm kom tso tus nqi !!)
6) Adruino UNO lossis pom tseeb thiab qee tus dhia (2)
Tag nrho cov no yog cov khoom siv uas yuav tsum tau kos lub phiaj xwm mus rau hauv lub neej …
Kauj Ruam 2: Daim duab qhia chaw thiab piav qhia
Koj puas pom lub voj voog ntawd ?? OHHH … yog tsis muaj dab tsi hauv nws
1) Kauj ruam-nqis hloov pauv (220V rau 6V AC) tab sis arduino tsis tuaj yeem siv AC qhov hluav taws xob los nyeem uas tseem yog 6V
2) Cia tau txais 6V nqes mus rau 5V kev siv hluav taws xob ntawm Arduino kom nws tuaj yeem ntsuas lossis nyeem, yog li qhov faib hluav taws xob siv 2 1k resistor yog li nws los rau 3V AC (kwv yees)
3) Txhawm rau kom tau txais DC peb tau siv lub diode ua ib nrab nthwv dej rectifier
4) Tam sim no 5V DC yuav tsum tau khaws cia tsis ntau tshaj qhov ntawd yog li peb tau siv lub tshuab hluav taws xob kom ruaj khov qhov hluav taws xob thiab zenver diode ua tus tswj hluav taws xob uas ua rau 5V ntawm lub dav hlau ib txwm !!
Yog li, tam sim no ntu ntu tau ua tiav tam sim no peb yuav tshem tawm cov dhia los ntawm cov dav hlau uas tau qhia hauv daim duab qhia chaw (piv txwv li hla zener diode) thiab tso cov dhia (+) rau A0 analog pin ntawm Arduino thiab (-) rau GND ntawm Arduino.
Yog tias koj tsis paub anode thiab cathode ntawm diode xa mus rau internet nws yooj yim! nyiaj sab cathode (1N4007) THIAB dub sab cathode (zener diode).
Kauj ruam 3: Arduino thiab Code
Arduino tus pin A0 thiab Gnd raws li tau siv los tshuaj xyuas qhov yuav los tom ntej nrog kev hwm rau AC lub ntsiab …
5V cov tswv yim ntawm A0 tus pin hais txog 1023 ntsis tus nqi ntawm arduino…
Yog li, 220V AC (rmss) = 311V (ncov) sib xws rau 1023 ntsis
1 ntsis sib xws = 311/1023, Yog li peb tau coj, b = analogRead (A0) thiab ac voltage = a = (b*311/1023)
Tam sim no qhov hluav taws xob uas peb tau txais yog qhov siab tshaj kom tau r.m.s. peb faib ncov/sqrt (2).
TAB SIS, yog tias peb tsuas yog hais cov ntawv luam tawm Arduino yuav txuas ntxiv cov phiaj hluav taws xob yog li peb tau ua qhov program los qhia tawm tsuas yog hloov pauv.
Ua tsaug rau nyeem qhov haujlwm me me tab sis muaj txiaj ntsig yog tias koj tsis muaj ac voltmeter nyob ze koj.
Kuv yuav los nrog IoT cov haujlwm los ntawm ib qho tom ntej.
Code: Github txuas rau ino file
Pom zoo:
Txawb Xov Tooj Siv Yooj Yim Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: 14 Cov Kauj Ruam (nrog Duab)
Kev Siv Xov Tooj Ntawm Lub Xov Tooj Siv STM32F407 Cov Khoom Siv Tshawb Pom thiab GSM A6 Module: Koj puas tau xav tsim qhov kev ua kom txias txias? Yog tias yog, ua li cas txog kev tsim ib qho ntawm cov neeg nyiam tshaj plaws thiab txhua tus nyiam cov khoom siv xws li Lub Xov Tooj Txawb !!!. Hauv Cov Lus Qhia no, Kuv yuav qhia koj yuav tsim lub xov tooj txawb yooj yim siv STM li cas
Rechargeable Digital Voltmeter Siv ICL7107 ADC: 7 Cov Kauj Ruam (nrog Duab)
Rechargeable Digital Voltmeter Siv ICL7107 ADC: Hauv qhov kev qhia no kuv yuav qhia koj yuav ua li cas thiaj ua tau yooj yim super voltmeter uas tuaj yeem ntsuas qhov ntsuas hluav taws xob los ntawm 20 mV txog 200V. Txoj haujlwm no yuav tsis siv ib lub microcontroller zoo li arduino. Qhov chaw ntawm qhov ADC, piv txwv li ICL7107 yuav siv nrog qee qhov dhau los
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: 7 Cov Kauj Ruam (nrog Duab)
Rov Qab Siv Cov Duab Duab Nrog Virtual Asistent: Nyob zoo txhua tus! Cov lus qhia no tau yug los ntawm lub laptop faib ua ib nrab, yuav los ntawm ib tus phooj ywg. Thawj qhov kev sim ntawm txoj haujlwm no yog kuv Lego Digital Photo Frame, txawm li cas los xij, yog ib tus neeg mob siab rau Siri thiab Google Tam sim no, Kuv txiav txim siab coj nws mus rau qhov tshiab
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: 9 Kauj Ruam (nrog Duab)
Lub Suab Siv Cov Khoom Siv Media Siv Alexa: Chav tsim los ntawm no ua rau koj cov cuab yeej siv xws li TV, tshuab raj, CD thiab DVD players tswj nrog lub suab txib siv Alexa thiab Arduino. Qhov zoo ntawm chav tsev no yog tias koj yuav tsum tsuas yog muab lub suab lus txib. Chav tsev no tuaj yeem ua haujlwm nrog txhua yam khoom siv tha
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Zoo: 14 Kauj Ruam (nrog Duab)
Tes Thib Peb ++: Kev Siv Tes Siv Ntau Rau Cov Khoom Siv Hluav Taws Xob thiab Lwm Yam Ua Haujlwm Tsis Zoo: Yav dhau los Kuv tau siv tes thib peb/pab txhais tes muaj nyob ntawm cov khw muag khoom hluav taws xob thiab tau poob siab nrog lawv qhov siv tau. Kuv tsis tuaj yeem tau txais cov yeeb yaj kiab raws qhov kuv xav tau lossis nws siv sijhawm ntau dua qhov nws yuav tsum tau teeb tsa