Show Posts
Pages: 1 [2] 3 4 ... 9
16  Using Arduino / General Electronics / Re: CT Clamp and AC to DC on: September 15, 2013, 06:52:29 pm
I guess accuracy as good as a plugin power monitor like you can buy for $20 would be good.

Form my simple test with the clamp as I said in the first email I received:

0.023v from 1000w load
0.046v from 2000w load

All I really want to do is convert the small AC to DC and then after that conversion amplify the signal so it is between 0 and 5v - so something like a 100X Multipler.

The article I referred to in the first post http://www.crmagnetics.com/Products/Assets/ProductPDFs/Precision%20Rectifier%20Circuit%20for%20CT%20Signal%20Conditioning.pdf shows the following diagram:



I am just not sure on the final two components a resister and capacitor I assume to filter the signal, but I do not know how to calculate this.

The pdf has this text

  • The CT secondary current is applied to the resistor R1, which generates a voltage equal to the primary current
    divided by the turns ratio and multiplied by the value of R1. This AC voltage is rectified by the first op amp,
    and then amplified by the second op amp.  
  • The gain of the first stage is always kept at 1 or unity (R2 = R3) to guarantee symmetry of the rectified
    waveform. R2 should be chosen at least 10 times greater than R1 for proper accuracy.  
  • The gain of the second stage is R5/R4 + 1. This gain is chosen to get the desired output DC voltage for the
    designed input voltage.  
  • The main advantage of this circuit is the removal of the diode drop as a variance in the signal. DC can be
    generated directly from R1 by applying the AC voltage to a diode bridge. However, the AC voltage required to
    do this must be greater than 2 diode voltage drops, or over 2 VAC. This limits the designer to use a silicon steel
    core that can generate enough voltage before going into saturation. By using the above circuit, the AC voltage
    input can be very low (10-100 mV) and then amplified to the level desired. This then allows the designer to
    choose smaller core devices and nickel core devices which saturate at low voltages. Accuracy and cost are both
    improved.  
  • Use standard op amp design guidelines when setting up this circuit. Keep resistors at 1 M ohm or less, and
    keep gains to 100 or less.  
  • The output must be filtered for pure DC. The RC output network shown should be designed with a time constant
    at least 10 times greater than the period of the waveform sensed. For 60 Hertz, use a time constant of 1/6.
    For 400 Hz, use a time constant of 1/40, minimum.

So for me I am thinking of using

Z1, Z2 = 1N4735A  - not sure if this Zener is OK, 6.2v 1W but I assume it is.

R1 = 10 Ohm
R2 = 100 Ohm
R3 = 100 Ohm
R4 = 1k Ohm
R5 = 100K Ohm (to give a 100 x multipler)

R6 = ?
C1 = ?

Technically with my 100 times multiplier I believe:

0.023v * 100 = 2.3v
0.046v * 100 = 4.6v

So I should be able to read this on an analog in on the arduino?

Chris
17  Using Arduino / General Electronics / Re: CT Clamp and AC to DC on: September 14, 2013, 11:51:08 pm
I am wanting to monitor it over time using my Arduino....

So these devices you refeered me to are good, but I simply want to monitor it using some simple circuit and log it to a database.

Chris
18  Using Arduino / General Electronics / Re: CT Clamp and AC to DC on: September 14, 2013, 11:35:31 pm
Complete control but no knowledge of how much power is consumed!

Since the filters and the air are on 24x7 and the lights are on at 7:15am and off at 8:45pm they are automated.

The heaters are on an off as required to keep the tank warm, which changes per day and per month.

So at the end of the day I am interested in how much this is costing me to keep running not controlling it!

Cheers

Chris
19  Using Arduino / General Electronics / CT Clamp and AC to DC on: September 14, 2013, 09:46:21 pm
Hi

I am wanting to monitor my aquarium power usage, this will be on a New Zealand 230v, 50 hz system. It all runs from a single power point.

In my setup there is the following:

  • 2 Filters - about 10 watts
  • 2 heaters - potentially 600w if both are on
  • Lights
  • Air

So I am wanting to use the CT Clamp with produces via a burden resister an AC voltage.

In my testing with a 1000w/2000w fan heater which would draw close to 5 Amp at 1000w

Now running the heater at 1000w I see an AC voltage of 0.023, if I switch the heat to 2000w it jumps to 0.46 volts AC

I have been looking around and playing with some circuits to try to convert this to DC. At the moment I am running this on a multimeter but I want to use an Arduino to save this data.

Since the voltages are so low what are induced from the CT Clamp I am thinking of a precision rectifier circuit to convert to DC. I would like to make 10amp = 5v.

So 5 amp (heat running at 1000w) = approx 2.5 volts.

Looking at https://www.sparkfun.com/products/11005 there was a comment that pointed to a PDF at http://www.crmagnetics.com/Products/Assets/ProductPDFs/Precision%20Rectifier%20Circuit%20for%20CT%20Signal%20Conditioning.pdf

I have tried to follow along but I am confused.

The diagram mostly makes sense and the description.

But there is a Capacitor and a Resister on the right edge of the diagram that I do not know what to use.

Also the diagram has two inputs from the CT Clamp - but only 1 output - and this confuses me as well.

If I run the LM324 (or LM528 in my case) from 5v so I use the ground from the power supply source?

Chris


20  Using Arduino / Sensors / Re: Trying to control Mitsubishi Heat Pump Air Conditioning Unit on: September 05, 2013, 11:03:37 am
Thanks for the web site - I may look into that.

Cheers

Chris
21  Community / Exhibition / Gallery / Re: Solar power for your arduino on: September 03, 2013, 12:37:21 pm
Great, keep them coming....

Chris
22  Using Arduino / Sensors / Re: Trying to control Mitsubishi Heat Pump Air Conditioning Unit on: August 20, 2013, 12:49:52 am
Hi Guys

I can not longer help with any details on this project as my Mitsubishi died - $2000 NZD to fix - so it is not getting fixed.

All that for a fan and a fuse!

What is the point of a fuse if it blows you have to replace the whole circuit board- sounds like a con to me!

Chris
23  Community / Exhibition / Gallery / Re: Solar power for your arduino on: August 04, 2013, 03:56:37 am
Can't wait fr some more articles - good

Chris
24  Using Arduino / Sensors / Arduino PH Meter for Aquarium - What is the best/cheapest option on: July 20, 2013, 10:39:40 pm
Hi

I am wanting to implement an Arduino PH Meter and I know there are a lot of these out there that people have made and some details published online.

Is there a good cheap product(s) that can be recommended?

From what I can see I need an Arduino + a PH Meter board + a Ph sensor normally BNC connector. Is there a specific type/quality I should look for?

Can all ph sensors be permanently placed in an Aquarium? What happens if they are not suppose to be permanently submerged and they are?

I do not have a reef aquarium but a simple Community Tank - about 300 litres.

I have done some searching and there are a number of products that people mention but is there a known good set of products that people can recommend?

Do you need to buy calibration liquid? Or do some support not needing this? or is this bad?

Circuits for Arduino

http://www.ebay.com/itm/pH-Circuit-Sensor-for-Arduino-/200779624796#ht_1673wt_1161 - About $28 + Shipping (stupid shipping price on Ebay)
http://www.phidgets.com/products.php?product_id=1130_0 - $30 + Shipping (not yet checked price to NZ)
http://www.robotshop.com/bnc-ph-sensor-shield-arduino-3.html - $38.55 shipping  (not yet checked price to NZ)

PH Sensors (BNC)

http://www.phidgets.com/products.php?product_id=3550_0 = $25 + shipping (not yet checked price to NZ)
http://www.ebay.com/itm/K1BO-PH-Electrode-Probe-BNC-Connector-for-Aquarium-PH-Controller-Meter-Sensor-/251269399186?pt=LH_DefaultDomain_0&hash=item3a80d2c292 - $9 incl shipping - Quality?

I know there are lots of different products but is there any recommended products from people who have already done this?

Chris
25  Using Arduino / Sensors / Re: Using a Piezeo Element to read analog values on: July 19, 2013, 08:59:34 pm
OK I have found that if I put a 1M resister between the Red + Black legs of the Piezieo element then I get good data.

Thanks for the info on the knock sensor - it helped but I found it on a youtube video and not on here.

cheers


I have also changed the loop to

Code:
void loop() {
  // read the value from the sensor:
  sensorValue = analogRead(sensorPin);  
if (sensorValue >= 5)  
  Serial.println(sensorValue);
  // turn the ledPin on
  delay(100);                  
  
}

So I now have

A0 connected to 1 Leg of 1M resister and then connected to RED leg of Piezo
GND connected to other leg of 1M and then connected to BLACK leg of Piezo



chris
26  Using Arduino / Sensors / Using a Piezeo Element to read analog values on: July 19, 2013, 07:35:54 pm
Hi

I am using an UNO and a piezeo element connected directly between ground and A0



The additional wires (red + orange) are only being used to hold the very small Piezeo wires in place - nothing else.

My code is

Code:

int sensorPin = A0;    // select the input pin for the potentiometer
int sensorValue = 0;  // variable to store the value coming from the sensor

void setup() {
  // declare the ledPin as an OUTPUT:
  pinMode(ledPin, OUTPUT);  
  
  Serial.begin(9600);
}

void loop() {
  // read the value from the sensor:
  sensorValue = 1023-analogRead(sensorPin);    
  // turn the ledPin on
  
  Serial.println(sensorValue);

delay(100);
}

This runs full speed and generally returns 0 if nothing is going on. But if I touch/tap the piezeo element it changes values say jumps to 600 and then slowly reduces back to 0.

This reduction to 0 can take 30 seconds.

I would have expected a much quicker drop to 0

If I was using this to record audio (such as a rain drop or hail) I would need much quicker reduction to 0 since one strong hail stone would be only a few ms not 30 seconds.

Any ideas on what I need to ensure a quicker drop and why it is doing this?

Could there really be that much energy being released over 30 seconds?

Chris
27  Community / Products and Services / Re: Xboard Relay: making Internet Of Things easy (iphone ready) on: July 09, 2013, 02:31:09 pm
You say the relay board is discounte to $17.00 but your web site does not offer this price!

Chris
28  Using Arduino / LEDs and Multiplexing / Re: Driving LEDs from external power supply on: April 21, 2013, 02:34:42 pm
Thanks for your comments - it has helped me a lot.

Cheers

Chris
29  Using Arduino / LEDs and Multiplexing / Driving LEDs from external power supply on: April 20, 2013, 11:39:46 pm
I have a basic understanding of leds and current but I always confuse myself when working out how much power something will use.

I am looking at creating a LED lighting unit for my aquarium.

I am looking at this Arduino Shield - Arduino 6 channel led shield 0,35-0,7-1A

So it can be configured to run at:
  • 350ma
  • 700ma
  • 1000ma



It can be bought on EBAY at this http://www.ebay.com/itm/Arduino-6-channel-led-shield-3-currents-can-be-set-0-35-0-7-1A-/370745850727?pt=LH_DefaultDomain_0&hash=item56522cbb67#ht_401wt_892

It requires external power.

I assume from this I can run all channels at 1amp - which would require 6 amps.

So I have been looking at power supplies as well on Ebay

I could buy an external power supply like 24v @10a @ 240w but I could also buy a power supply like 24v @5a @120w

So 5 amp may be able at a stretch run to 6 amp, but if I was only running 4 amp is there a negative to me buying the 10amp version?

Will it cost me more electricity to run? Or is it just capable of producing more power?

Also when talking about LEDs:

If I want to run 1 channel at 700ma and 1 led can consume 700ma does that means I can only run 1 led on this channel?

If I wanted to run 10 leds on a single 700ma channel does that mean each led although could consume 700ma each led will now will only get 70 ma?

Chris
30  Using Arduino / Sensors / Re: Trying to control Mitsubishi Heat Pump Air Conditioning Unit on: April 09, 2013, 11:44:10 pm
I am not getting to far.

I have gone though 24 hours of values for the ON TIMER, with the off timer set to the same value.



So far I am not seeing a good pattern for the times.

Chris
Pages: 1 [2] 3 4 ... 9