acs712 entegre
Merhaba arkadaslar
ACS712 entegre hakkinda dokuman lazim akim trafosu olmadan 30 ampere kadar akim olcuyormus sanirim. Kaynak bulamadim dogru duzgun. |
Cevap: acs712 entegre
Alıntı:
Akadşım ben döküman buldum umarım işini görür..:cool: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] |
Designing the PC Power Monitor - Part I
After the near mishap with the last GPS bush walk I have pondered how I was going to monitor the battery power usage. This blog is my first go at it.
I found this neat [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!]. The ACS712 runs off of 5V and can monitor up to +- 5A with an internal resistance of only 1.2m Ohms. Unfortunately it comes in a SOIC-8 package which is something I haven't used before. Maybe it's time to build a [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!]? I don't have a milling machine so the next quickest thing was to solder up my own. It is build by hand soldering some wire rap wire to pins 5-8 and cat5 wire to pins 1-2 and 3-4. I used some male header pins soldered onto a small piece of vero board. All very messy (no pics) but it works. Really I should be using the [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] as that monitors from 0 to 10 Amps. unfortunately I don't have one of those at the moment. I am using a PICAXE-8M chip to handle the AD conversion. There is also a resistance divider so I can monitor the 12V battery voltage. At the moment I am thinking it will just average out the measurements and output a current/voltage string on the serial port roughly once a second or maybe just output the string upon request. Here is an EAGLE schematic of it all: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] Here is the test board layout for it all: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] The board layout is not quite correct as I need to create a better ACS712 SOIC device layout. Anyway you get the idea. Testing the circuit on my bread board I found out that I can measure the voltage in steps of around 196 mV and current to 100 mA steps. Here is the test PICAXE-8m program I used to monitor the battery voltage and current usage: Kod:
' this will monitor and report the 12V Battery and Current being used Also check out [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] in this series on the design and building of the PC Battery Monitor. I have attached a set of Eagle schematics for those that are interested: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] |
Designing the PC Power Monitor - Part II
In [Sadece Üyelere Linkler Açıktır.Üye Olun !!!
Tıklayarak Üye Olun !!!] of this project I developed a test circuit that proved that it would all work. In Part II I actually redesign the bread boarded prototype into the final product.
I had thought to integrate the Motor battery V/A and the PC battery V/A onto the General Purpose PICAXE-40X board. However I was struggling to come to terms with bringing the power cables into the PC housing. I thought it would be best to locate a sub-board close to the motor battery and route the serial output back to the GP PICAXE-40X board. Also this small board can be used right now in my GPS exploring walks etc. Whilst the first circuit did work it relied on the PC to monitor the Battery Voltage and Current being used. It would be nice if I could display the actual values - live and have a buzzer that would alert me when the battery falls below a set voltage. This required me to upgrade to a PICAXE-18X chip. I also took the opportunity to redo the ACS712 SOIC-8 layout within my Eagle library. After a few iterations at designing building prototyping on the breadboard and then writing up the schematic diagram and board lay out etc I ended up with this layout: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] I enjoy doing board layouts. Nothing quite like playing around in a good maze of copper! At each stage I have uploaded a copy of the files to my Subversion repository. Incidentally there are about 328MB of files in this section of the repository. The project has now been running for over 2 years. And here is the board layout (as it stands today): [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] You can find a copy of the Eagle files at the bottom of this page. The PICAXE program didn't have to change all that much and is still quite small: Kod:
' this will monitor and report the 12V Battery and Current being used out to a serial port Lastly here is a shot of the bread board testing setup: [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] I am loading down the 12V 5A/Hr battery with a 5 ohm resister (near the top right hand corner - yellow alligator clip). I am drawing 2.1 Amps and the battery is reading 11.15 Volts. I also have a cable running to my PC. All good fun! [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] [Sadece Üyelere Linkler Açıktır.Üye Olun !!! Tıklayarak Üye Olun !!!] |
Cevap: acs712 entegre
Konunun mesajları tekrardan düzenlenmiştir.
|
Bütün Zaman Ayarları WEZ +3.5 olarak düzenlenmiştir. şu Anki Saat: 04:37 PM . |