Inconsistent readings

I've been trying to make a current sensor work with domestic appliances. I've used this tutorial for the circuit:

The detector is a non-invasive, 60A current sensor.

When using the examples provided and the sensor clamped on the cable of a lamp, switching the lamp on and off makes no difference in the readings. Strangely it worked a day ago. In the current_only sketch the variables won't change even if clamped to a live wire. Any ideas why? 

MartinR's picture

Re: Inconsistent readings

alkopop79's picture

Re: Inconsistent readings

 

Woops, fixed it. Once it was connected to the main line coming from the meter it worked instantly!

 

 

alkopop79's picture

Re: Inconsistent readings

I had successfully tried the CT sensor with the arduino to measure main current. This time however when I try the code and the circuit with an arduino, I get strange readings. Picture here (I cannot seem to insert a photo, dunno why). It seems that the voltage alternates between two values. I've used this tutorial for the circuit. What have I done wrong? How can I get steady readings? 

 

 

Robert Wall's picture

Re: Inconsistent readings

You "successfully tried the CT sensor with the arduino to measure main current." then "This time however when I try the code and the circuit with an arduino,"

So are you using the same setup again? What have you done differently this time?  

What readings do you get?  (Use the Serial monitor window in the Arduino IDE, copy a typical set of values and paste them into your post).

 

Comment viewing options

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