Project - House Automatization - Help with current sensor programing

Hi everyone.

 

I'm from Brazil, and I developing a project for home automatization. This almost done, only need a programming model for this voltage meter:

http://img.dxcdn.com/productimages/sku_161183_1.jpg

 

can you please provide me a programming model of ARDUINO to check whether there is current in the wire?

 

Tank you

 

 

Sergegsx's picture

Re: Project - House Automatization - Help with current sensor programing

wow thats asking just to do all the work for you.

I have also asked questions in this forum, but I always try to put all my information and work in advance.

You say your project is almost done, so I guess you have very good Arduino experience. Im sure you can try to put some code lines together and paste them here. This website has all you need. search

igorayres's picture

Re: Project - House Automatization - Help with current sensor programing

I' m sorry about that.

 

I know that asking without search or something its not the correct posture. I do this because my english it's very bad, and it's very hard to get those kind of information in my country. 

 

I'll try to be more specific.

The project its a home automatization controlled by arduino and Asterisk.  The asterisk receive and interprets de DTMF singnal (comands to turn ON/OFF or open/close) after the user sends  the comand, Asterisk provides an audio message "the room light it's ON" or something. So , before I turn ON or OFF the light's, or open/close the gate,i need to know they status (ON/OFF open/close).

For this project is using the following:

 

- An Arduino MEGA 2560:

http://img.dxcdn.com/productimages/sku_144185_1_small.jpg

- A 16 relay board

http://www.elecfreaks.com/wiki/images/b/bf/BK-Relay16-07.jpg

- 16 current sensor (I accept sugentions to know if the gate it's open/close, thoses it's only to know if the light or the appliances it's ON)

http://img.dxcdn.com/productimages/sku_161183_1_small.jpg

 

So i really need help for the programing Arduino to know the status of the wire in the current sensor. 

 

Tank You

Robert Wall's picture

Re: Project - House Automatization - Help with current sensor programing

Get a data sheet for your sensor. You can do nothing without one.

Then, if it is a current transformer, look at http://openenergymonitor.org/emon/buildingblocks/ct-sensors-introduction and http://openenergymonitor.org/emon/buildingblocks/ct-sensors-introduction  You can get ideas for the code from the sketch Arduino sketch - currently only.

Sergegsx's picture

Re: Project - House Automatization - Help with current sensor programing

do you want to know if something is ON/OFF? or how much power is using?

- 16 current sensor (I accept sugentions to know if the gate it's open/close, thoses it's only to know if the light or the appliances it's ON)

each CT reading takes around 200milliseconds, if i remember correctely, so 16 would mean 4 seconds of arduino doing this each time

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.