Nah, there are always more projects begging for time and interest!!!
LOL
Will using the pic allow an "on" delay as well as an "off" delay? I assume that its just a matter of programming since the wiring to the relay is in place.
Right. You just let me know what you want it to do.
Can the ACS712ELCTR-30A-T be substituted for the 20A model? The only difference I noted in the spec sheets was the sensitivity of the 30a version is 66mV/A vs. 100mV/A on the 20A unit.
Yes, that's fine if we use the PIC12F1571. Since we don't need to detect the actual value of the current, just detect that something is happening, it doesn't really matter which scale we choose for the ACS712 - we could even use the 5A version. They can all handle up to 100A peaks. We just need to choose one. If you would rather use the -30A that's fine.
I wondered why pins 1 and 2 are tied together internally as well as 3 and 4 (ACS712)? More lines for signal resolution - prevention of noise?
Increased current handling. Those little "gull-wing" pins aren't really designed to carry heavy currents!
Since this ic senses current, I should be able to use the same build on my 110v machines, correct?
Yes. Is that the only difference - the operating voltage of the motor that the circuit needs to detect? In that case, the same circuit will work for both.
I also saw a table in the data sheet titled "Output Voltage versus Sensed Current" - it shows a linear rise from 0.5v to 4.5v when current rises from -30A to 30A.Two questions, 1. Was your thinking to program the pic to "start" its function when voltage exceeds a certain threshold? 2. What is negative current? Is this current moving in the opposite direction than what was intended? I don't understand the concept of negative power...
Yes. The ACS712's output sits at about half VCC (i.e. 2.5V) when it's not sensing any current. Positive current causes it to increase proportionally; at full scale positive input current the output has increased from 2.5V to 4.5V. Negative current causes it to decrease proportionally; at full scale negative input current the output has decreased from 2.5V to 0.5V.
Yes, negative current is current flowing in the other direction. With AC, the voltage and current are constantly varying, following the sinewave shape. With a simple resistive load such as an incandescent light bulb, current and voltage are "in phase", i.e. they follow the same shape at the same time; at every instant in time, current and voltage are proportional to each other, and have the same polarity.
So as the voltage is rising, falling, reversing polarity, rising, falling, reversing polarity, etc, the current is doing the same thing. At every moment in time, "positive" power is flowing from the source to the load, because when the current is negative, the voltage is negative too. Since power is voltage multiplied by current, two negatives cancel each other out, and power is always positive.
It's not exactly the same for motor loads, because the voltage and current are somewhat out of phase with each other, but it's close enough for the analogy to be useful.
Judging by the consolidation of parts and their sizes, I think the largest space consumer will be the connectors
Yes, definitely. And the input capacitor (C1) and the relay.
Do you advocate programming the chip offboard saving the need to have the connector, or is its purpose there for tweaking after the build?
I would program it on-board. You need a special socket to program SMT devices. A programming connector on the board doesn't waste much space and could be useful down the road.
I am really excited Kris! Thanks for taking me along the design process, I am learning loads
Cool! That's great.
I can't spend a lot of time on this at the moment, but we can make a start with the PCB layout. Are you going to do that? I think the preferred option is the free version of Eagle at
http://www.cadsoftusa.com/download-eagle/. Another option is KiCAD at
http://www.kicad-pcb.org/ which is intended to be free at all levels. I don't think it's widely used yet and when I tried it, I couldn't get very far with it, but YMMV and they're probably both worth a try.
We need to settle on components, so you know which outlines to use on the PCB. Do you have any supplier preference? If you want someone local, try
http://www.yellowpages.com. I looked at
http://www.westfloridacomponents.com/ but they don't have a suitable PIC. I tried Pridmore but their web site was down. There are the old standbys
http://www.digikey.com and
http://www.mouser.com who both carry the PIC12F1571 as well as everything else. Let me know who you want to buy from.