arduino current sensor
There are, I think, three types. This is the 5 amp there’s, also a 20 amp and a 30 amp type. And now, if you want to buy this chip on eBay, just the chip you’re looking at about four or five pounds, but due to the wonders of Chinese economics, if you want it mounted on this board, with all the connectors in place, you’re looking at about 2 Pound 50. Now one gripe I do have with this type of terminal block is that when you try and turn the screws, the whole block twists on the board and that’s, because there are no locating plastic lugs and it just turns on the the metal work that’s. Underneath but fortunately, the supplier of this Court has very kindly not soldered the connector in so I think I’m going to use it like this, where I’ll just put ring terminals directly onto the holes in the circuit board. Now my plan is to mount the current sensor. Sort of here on my solar panel voltage and current test rig, the voltage sensor is already mounted there. The microcontroller is here with the display and I’m going to use it to measure solar panel voltage and current now. The conventional way to measure current and it’s used in this cheap nasty multimeter on the tenant range is to measure the voltage across a low value resistor and the resistors here it’s. This thick piece of copper wire that spans the common connection and the 10 amp socket, and the voltage across a thick piece of wire, like that with an extreme Nilo resistance, is going to be very low.
So the chip up here will have an amplifier to increase that voltage and make it measurable, and the same technique is used with this. On this DC power supply. You can see there is a low value, resistor it’s, a 0.01 ohms and the current will flow through it. The voltage across it will be measured, but of course, that voltage is very small, so here down there there’s an op amp and that scales the voltage up, multiplies it up, but of course, that’s, subject to interference by noise temperature drift and other problems like that. So I now have the Hall effect current sensor attached to my circuit. Here it is, and this module will have solar panel on the left hand, side and a battery on the right hand, side and the current needs to be measured on the high side of the circuit. So I don’t want to be measuring current in the ground line. Now this chip works a little bit like an opto isolator, in the sense that the current sense element on the left hand, side is electrically isolated completely from the measuring device. On this right hand, side – and you can have something like 1.2 kilovolts between the two sides and the chip will still function completely. Normally it isn’t opto isolation in this case it’s magnetic isolation, there’s a magnetic field surrounding the piece of wire when current flows, through here and there’s, a Hall effect sensor on this side of the chip which detects that current and through a little bit of integral electronics, Provides a signal on these pins, that is between 0 and 5 volts, and you can ground or have to ground this ground, pin here to system, ground and that’s perfectly OK, it doesn’t interfere with the high side measurement of current right, so I’ve put 5 volts onto The VCC and ground pins on the module there and I’ve got the voltmeter connected to the center pin measuring volts coming out of the sensor now.
The way this works is that it’s bi directional so currently there’s no current flowing through the yellow and red wires. So the voltage coming out sits at the midpoint between VCC at 5, volts and ground at 0. So you can see that it’s 2 and a half volts now without putting a current through it I’m just going to disturb the magnetic field using a magnet attached to a screwdriver, and you can see that if I get the magnet really near the chip, the voltage Swings right down almost to zero. I spin the magnet round and bring it in again. Then the voltage shoots up so you do have to be a little bit careful of magnetic fields because they will disturb the operation of this device. And now I’ve got some current flowing through the current sensor: it’s a bit of a lash up it’s, just a 12 volt bulb and I’ve got 12 volts coming round the circuit and it’s reading 2.1 9 volts. Now that doesn’t tell you anything, but you have to know that this current sensor has a scale of 185 million bucks per amp. So all you need to do is take the original 2.5 volts subtract. The 2 point 1 9 volts that is reading now and then divide by point 1, 8 5, which will finally give us amps. So there are 1 point 6 7 amps flowing through this circuit. Now. That might seem an extremely difficult way to read current and, of course, it is by just putting a DVM on the output of the current sensor module.
But of course, this sense module is designed to work with a micro computer microcontroller like the Arduino and so in part 2 of this video.
arduino current sensor Video
arduino current sensor news
Posted on Monday October 07, 2019Best CNC Software for Arduino All 3DP … Continue Reading »
Posted on Thursday June 13, 2019Using Precision Current Sensing to Optimize System Performance Elektor … Continue Reading »
Posted on Saturday July 06, 2019Phase Shift Pump Control? There’s An App For That. Hackaday … Continue Reading »
arduino current sensor Social
🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr