# Ads1115 with zmpt101b converter

**URL:** <https://discourse.nodered.org/t/ads1115-with-zmpt101b-converter/26368>\
**Category:** Hardware\
**Created:** [9 May 2020 10:42 UTC](https://discourse.nodered.org/t/ads1115-with-zmpt101b-converter/26368 "2020-05-09T10:42:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tods09](https://avatars.discourse-cdn.com/v4/letter/t/59ef9b/32.png) [@Tods09](https://discourse.nodered.org/u/Tods09)\
**Post date:** [9 May 2020 10:42 UTC](https://discourse.nodered.org/t/ads1115-with-zmpt101b-converter/26368/1 "2020-05-09T10:42:46Z")

</div>

Hello.

Does anybody know how to configure my Ads1115 node which is conected to zmpt101b converter (with this I convert voltage 220V) to read corectly the values of voltage (220V)?

I used a debug node and it gave me random values like 1.12, 1.55, 1.70, 2.1 V then these values decrease (like they convert a values of a sinus which increase and Decrease). I don't know to interpret them.

Ads1115 is conected to 3,3 V (Vin) . Without connecting Zmpt101b converter IT gave me a fix value of a half of Vin(1.61V). After I connect on A0 input the Zmpt101b converter, The values are going to oscillate, like they follow a sinus.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [9 May 2020 12:34 UTC](https://discourse.nodered.org/t/ads1115-with-zmpt101b-converter/26368/2 "2020-05-09T12:34:11Z")

</div>

> [@Tods09](#):
>
> The values are going to oscillate, like they follow a sinus.

That's then correct.  
You are measuring 220V AC and then means that the voltage will change 50 or 60 (\*2) times a second from polarity.  
So you need to program some peak detection and avareging to get a stable reading.

Not sure if NR is suitable for such realtime tasks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 July 2020 12:34 UTC](https://discourse.nodered.org/t/ads1115-with-zmpt101b-converter/26368/3 "2020-07-08T12:34:12Z")

</div>

Closed on 8 July 2020 12:34 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
