| Author |
Message |
|
|
Posted: Apr 02, 2012 - 05:51 PM |
|

Joined: Apr 02, 2012
Posts: 2
|
|
hey friends......
I am a student of final year and need help on interfacing a current sensor with ATMega16/32 please let me know how to do so and how to design circuit..........
it gives me 66mV for one Ampere of current..........
my email is sardar_azharmehmood@yahoo.com |
|
|
| |
|
|
|
|
|
Posted: Apr 02, 2012 - 05:52 PM |
|

Joined: Apr 02, 2012
Posts: 2
|
|
| sorry for not mentioning the sensor its ACS712T |
|
|
| |
|
|
|
|
|
Posted: Apr 02, 2012 - 06:08 PM |
|

Joined: Nov 02, 2009
Posts: 3239
Location: Zelenograd, Russia
|
|
| For exactly the same purpose I have successfully used the 28AWG copper wires. |
_________________ Warning: Grumpy Old Chuff. Reading this post may severely damage your mental health.
|
| |
|
|
|
|
|
Posted: Apr 02, 2012 - 06:11 PM |
|


Joined: Sep 20, 2003
Posts: 4115
Location: Surrey, England
|
|
| Connect the VIOUT pin to an ADC input on the ATMega, read the voltage. Take a look at the Sparkfun web site, they have a datasheet and schematics. |
|
|
| |
|
|
|
|
|
Posted: Apr 02, 2012 - 06:32 PM |
|


Joined: Nov 22, 2002
Posts: 12197
Location: Tangent, OR, USA
|
|
Try Allegro since they make the chip. That is the absolute first place I would go. Start with their spec sheet. It has application circuits in it.
I really don't understand why folks use these "data sheet sites" and distributor stuff since the manufacturer is the one who knows about it.
Jim |
_________________ Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA
"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
|
| |
|
|
|
|
|
Posted: Apr 02, 2012 - 08:53 PM |
|


Joined: Sep 20, 2003
Posts: 4115
Location: Surrey, England
|
|
The datasheet on the Sparkfun site IS the Allegro one.
It was the first reference Google found, and I didn't actually know it was an Allegro part to begin with.
Although I should have guessed, as I found it fairly quickly. |
|
|
| |
|
|
|
|
|
Posted: Apr 03, 2012 - 06:34 AM |
|

Joined: May 02, 2007
Posts: 3154
Location: Nieuwegein, Netherlands
|
|
so you as a final year should know how to make a design......
what building blocks do you need? you have the avr and sensor already, what orther blocks do you need to make your product?
next step: what are the interfaces needed per block connected to the micro controller? GPIO? Timer? ADC? UART? USB? TWI? SPI?
then and only then you can select what AVR you need to use.
After that you need to make the firmware for controlling each block the way you want to polling? interrupt based? dependencies between blocks like uart/usb and adc or gpio
The only difficult thing is writing the code for each block. I would suggest to write code step by step. not try to make everything work at once.... first get your lcd/uart/usb communication working, then you have a simple debug interface, then write the other blocks you might need. |
_________________ 1)Datasheet and application notes checked?
2)tutorial forum
3)Newbie start here
|
| |
|
|
|
|
|