Forum

Incorporate mains v...
 

Incorporate mains voltage sensor and CT?  

  RSS

(@basline)
Active Member
Joined: 2 years ago
Posts: 7
September 7, 2019 6:04 am  

I'm working on planing my system, and would love to be able to track the control panels voltage and current in Brucontrol. There are cheap ac voltage sensor boards that output DC analog voltage at 5 or 3.3V. And I've used current transformers (CT) in past projects where a simple circuit can give analog DC voltage out.

My question is about processing the signals. Looking at the documentation it doesn't sound like there is a way I can use a script to calculate RMS values sampling at 60HZ.

Is there a clever way to do this without going to the device firmware? 

Thanks


Quote
(@basline)
Active Member
Joined: 2 years ago
Posts: 7
December 16, 2019 4:27 am  

Just to close this out for future readers: It looks like pbruno3 previously (maybe is still using) a CT to 5V out module. I think this is the model:
https://www.amazon.com/gp/product/B005CWOQV0/?tag=forumyield-20

I'm planning on going a different route. I'm using an additional microcontroller with two DAC outputs. This board will do the math to provide an average RMS value and use the DAC outputs to provide an analog signal to the interface. 


ReplyQuote
(@pbruno3)
Reputable Member Admin
Joined: 3 years ago
Posts: 253
December 16, 2019 4:34 am  

The current module you linked outputs DC voltage commensurate with the current being used - very easy to wire in.

However, voltage sensing is a bit trickier as there aren't many devices which measure AC voltage and convert it to DC analog voltage. Here is one: https://www.amazon.com/gp/product/B01ANV0RFI

Micros can be set to run to measure the peaks of the measured voltages at 50 or 60 Hz. We can't do it natively in firmware but a separate micro is a possible route as you mention.

This post was modified 2 months ago by pbruno3

ReplyQuote
Share: