hi everybody
i want to make ac wattmeter and i bought zmp101B to use for read ac voltage
but i cant use it correctly.
anybody have experince with this zmpt101B or sample code for read ac voltage between 95 up to 250 vac
hi everybody
i want to make ac wattmeter and i bought zmp101B to use for read ac voltage
but i cant use it correctly.
anybody have experince with this zmpt101B or sample code for read ac voltage between 95 up to 250 vac
Anyone got any links to the hardware that doesn't work?
Anyone got any code that doesn't work?
Anyone got an explanation of what the code actually does?
Anyone got an explanation of what they expect the code to do?
I Googled zmpt101B. It seems to be some kind of Karaoke song book.
aryanpour - Your quest for help can start here. - Scotty
This is datasheet and specification of this transformer voltage
Model
ZMPT101B
Rated input current
2mA
Rated output current
2mA
turns ratio
1000:1000
phase angle error
≤20'(input 2mA,sampling resistor 100Ω)
linear range
0~1000V 0~10mA(sampling resistor 100Ω)
linearity
≤0.2%(20%dot~120%dot)
Permissible error
-0.3%≤ f ≤+0.2%(input 2mA,sampling resistor 100Ω)
isolation voltage
4000V
application
voltage and power measurement
Encapsulation
Epoxy
installation
PCB mounting(Pin Length>3mm)
Operating temperature
-40ºC~+70ºC
0_2013_10_18_093344_2.pdf (112 KB)
does it anyway to solve problem?
this is picture of voltage transformer
NOBODY HAVE ANY IDEAS?
NOBODY HAVE ANY IDEAS?
Nobody has posted any links, yet. Pictures are next to useless.
PaulS:
Nobody has posted any links, yet. Pictures are next to useless.
Aryanpour has provided a link,
It's in the attachment to reply #3.
Repeated here
You need to add a current limiting resistor R' in series with the transformer primary.
(Details on how to select the value are given on page 2 of the datasheet.)
You need to add a sampling resistor R across the transformer secondary.
(Details on how to select the value are given on page 3 of the datasheet.)
Chose a value so that the peak to peak AC voltage is below 5V.
You then need to add an offset of 2.5V, so that the voltage that you supply to the analogue input does not go above +5V, or below 0V.
There is much useful information about this, on the openenergymonitor website.
Note:
that if you follow the schematic shown in the openenergymonitor link that I just gave, then the resistors R1 and R2 are replaced by the resistor R from the transformer datasheet.
You still need the resistor R' from the transformer datasheet.
THanks alot JohnLincoln
i have problem in my code
my circuit work correctly
how can write my code to calculate voltage and rms voltage
actually i want to measure input ac between 95 -256 votl ac
and i also read current by ct
then i want to show ac volt and current and power factor and also power in seven segment ,
but i have problem in my code how to calculate ac voltage and other......
nobody can guide me ?
It's been a while since aryanpour asked about this but since I also landed here when looking for a way to read the voltage out of a ZMPT101B-based module and eventually figured it out, I'll follow up here for the next person looking for answers.
I recently bought a $6 "Single phase voltage sensor" module manufactured by LC Technology which comes with no specs and no instructions at all but it saved me the need to add all the other required components listed on the very helpful openenergymonitor.org link from post #9 (thanks JohnLincoln).
Until I saw that link, I was trying to read the voltage as DC and wasn't getting anywhere, the adjustable pot on the module hardly had any effect, I kept getting values very close to Vcc/2.
Once I switched my voltmeter to AC, I started getting values between 0.01V (AC off) and 1.15V (120V AC).
In order to read the AC voltage on the Arduino UNO, I installed the Emon library for the Arduino from GitHub and using the example sketch that came with the library I was able to get some readings from the Arduino.
I had to make a few quick changes to the sketch to get more stable readings and don't have a current sensor, so I just plugged the LCTech module VCC pin to +5V, GND to GND and OUT to pin A2.
After a few tweaks I managed to get readings within 1% or 2% which is accurate enough for my needs. I have the little potentiometer screw opened all the way out until it clicks (100K Ohm), so the tweaked value in the attached sketch are based on that resistor value.
Ultimately I plan on using an ESP8266/Esp12e to read the voltage from the module, that way the readings can be read via WiFi.
Voltage.ino (1.54 KB)
hi,
i want to measure the AC voltage using zmpt101b transformer module...can anyone send the circuit diagram of the zmpt101b circuit diagram....?????? i have attached my circuit below..it gives wrong output....
I had bought Single-phase ac active output voltage transformer module ZMPT101B. I had tried connecting the ZMPT101B voltage sensor to the Arduino UNO. The ACC pin, OUT pin and Ground Pin of the ZMPT101B are connected to the 5 V pin, A0 pin and Ground Pin of the Arduino UNO respectively.
The ADC output should be around 512 (or 2.5 V from the OUT pin of ZMPT101B) at 0 V input voltage. However, I can't get this value, the ADC output of my Arduino Uno is only 35. This project is really important to me. Could you advise me on that matter?
Have a look at
https://openenergymonitor.org/forum-archive/node/58.html
It will probably make your purchased part redundant but will certainly provide you with the information you are looking for.
Did a google search "Arduino Power Monitor"
2001houkit:
I had bought Single-phase ac active output voltage transformer module ZMPT101B. I had tried connecting the ZMPT101B voltage sensor to the Arduino UNO. The ACC pin, OUT pin and Ground Pin of the ZMPT101B are connected to the 5 V pin, A0 pin and Ground Pin of the Arduino UNO respectively.The ADC output should be around 512 (or 2.5 V from the OUT pin of ZMPT101B) at 0 V input voltage. However, I can't get this value, the ADC output of my Arduino Uno is only 35. This project is really important to me. Could you advise me on that matter?
I'm also getting the same problem
KCHegde:
I'm also getting the same problem
donno (never used this module) but this link seems to have decent instructions to setting everything up