4 ms·
Yeah they are live. I honestly didn't think it was that big of a deal. I mean they have photo of that exact setup on the current sensor product page. http://
by trafficlight 15y ago
Yeah they are live. I honestly didn't think it was that big of a deal. I mean they have photo of that exact setup on the current sensor product page.
http://www.pololu.com/catalog/product/1185 http://www.pololu.com/catalog/product/1185
- jrockway 15y agoYes, but they aren't connecting it to line voltage. I imagine the intended application for this particular chip is to be part of a battery charge circuit, and so those pins are going to be at 1.2V instead of 120V as in your application. (The datasheet doesn't mention this because the IC can theoretically sink infinite voltage. The input current is put into the chip only to go through a carefully-placed piece of copper that maximizes the effectiveness of the Hall effect sensor. The only limit that matters to the chip is heat production, which depends on the resistance of that piece of copper and the amount of current flowing through it. Voltage simply doesn't affect the chip in any way, so there's no reason to set any limits.) The problem I see with your current design is that isolating the line voltage from the container is going to be difficult. Line voltage appears on 8 different places; the four connection areas (top and bottom), and the four input pins on the IC itself. Without potting it in epoxy, you're not going to be able to isolate all that from an errant chip of metal that happens to enter the enclosure. And that's all it would take to burn down your house; a little chip of metal gets between the pins but doesn't make very good contact. As current flows, it gets hotter and hotter until it sets the enclosure on fire. (Your circuit breaker will trip if this causes your device to draw more than 20 amps, as a clean short would, but 2400W is more than enough to start a fire.) Ultimately, you have to keep in mind that you can pull a lot of power out of your house's outlets. This power can kill you or start a fire, so when you are wiring it up to something, you need to think about how your device could possibly fail and protect against it. What if the cover falls off? What if a piece of metal shorts the line voltage to your Arduino's USB port? What if a connection is faulty and gets hot? This much paranoia is warranted when a minor mistake could kill someone. Is knowing that your TV is on worth dying in a fire for? :) Now, the good news is that you can make a device that works just as well as this one without having to touch the wire going to the TV. The only reason you have the TV connected through the current-sensing chip is to get the current that the TV's drawing very close to the Hall effect sensor. This will let you make milliamp-level measurements very accurately. But you don't need that accuracy, so taping a Hall effect sensor to the TV's cord will be just as good, and will be intrinsically safe. (I think a few loops of wire will work too, but I just tried this and it didn't work. YMMV. I didn't have any magnet wire, so I used a long piece of wire stolen from a radio antenna.) (This is assuming that my photoresistor-near-the-TV's-power-LED idea doesn't work, of course.) Finally, the Arduino is likely overkill for this application. Something like an op-amp set up as a comparator and connected to a free serial port pin would work just as well, and cost you 1 cent instead of 20 bucks :) Anyway, I'm looking forward to version two; this is a great project and your proof of concept is excellent. But you can make the device simpler, safer, and cheaper; so why not spend an afternoon doing that. The increase in sleep from not having nightmares about the thing catching on fire should definitely make up for the time invested in doing so :)
- trafficlight 15y agoI really appreciate your input. This is extremely helpful. I also picked up some epoxy this afternoon to do exactly what you said. I realize the Arduino is overkill, but I'm complete newbie and it seemed like the quickest solution. Whenever my next revision is ready, can I send you an email?
- jrockway 15y agoYes, please send me email. I find this project very interesting and you've done a great job documenting it. I'm going to order some Hall effect sensors and see what results I get with them. I'll let you know what I find out. Also, be careful with the epoxy. You need to get some specific kind (that is non-conductive), and I'm not sure what that is. There are all sorts of effects materials have on electronics; the epoxy could add resistance, capacitance, inductance, and any of those could adversely affect your circuit. Hopefully you can get specific advice from someone more qualified than I am.