Forum

Incorporate mains v...
 
Notifications
Clear all

Incorporate mains voltage sensor and CT?


(@basline)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

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: 4 years ago
Posts: 7
Topic starter  

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: 5 years ago
Posts: 332
 

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.


ReplyQuote
Share: