Contact
Home Electronics Software Miscellaneous
µServer
AIR
BluePrint
16x16 Matrix
µTetris MSP430
USB Power Monitor
WeatherDisplay
Winamp Control
CPC
AVR ISP Insulator
Logic Insulator
USB Insulator
USB UART Insulator
AVR: LCD Driver
AVR: USB Stuff
AVR: De-Bricker
Temp-O-Clock
Touch-O-Clock
Digital Analog Clock
Block Clock
Binary Clock
Module: Rambo-S
Module: INA226
current sensor
Module: Nokia LCD
Module: misc
voltage modules
Module: DS3231
RTC
Module: VS1011e
MP3 decoder
Module: OSD
Module: SD-Card
Module: USB<->UART
Auto Video Switch
Enctest
GB Camera
Robot: Gizmo
IR Remote Control
Keyboard Extender
Laser Tagger
UV Timer
Thermometer
Telephone Control
Telephone Spy
Games
Blinking Hearts
EGG Timer



One basic need of a computer scientist is to measure the power that a USB device drains off the PC. This device is plugged between the PC and a USB device and displays the current on an LCD. For currents under 100mA it is displayd in 0.5mA steps and 1mA steps for currents over 99.5mA. It is built with an AVR programmed in assembler.
picture

picture
It comes with a little adapter.
picture
It is built up with a Texas Instruments INA226 I2C current sensor. I got the chip as a free sample. The brain is an ATmega32. The AVR runs at 1MHz and drives the LCD (see this project). As the INA226 comes in a very small S-PDSO-G10 package with a 0.5mm grid it was essential to use an etched PCB.
picture
The layout made with EAGLE.
picture
The gut of the device. The LCD module is very compact and uses no more space than the LCD itself.
picture
Here the device is hooked up to the ATMEL JTAG ICE and displays a current of 217mA.
picture
One can nicely show the difference in the current of an inactive USB stick (left) and while copying files (right)
picture
Of course it is also possible to hook it up to a phone charger.
picture
BACK TO PREVIOUS PAGE