Adafruit USB Power Gauge Mini-Kit

Similar documents
Adafruit Metro Mini. Created by lady ada. Last updated on :12:28 PM UTC

Adafruit 1-Wire GPIO Breakout - DS2413

Adafruit Powerboost 1000 Basic

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

TLC5947 and TLC59711 PWM LED Driver Breakouts

Adafruit INA219 Current Sensor Breakout

Adafruit Terminal Block Breakout FeatherWing

Installation Instructions for: Channel Thermocouple Amplifier

Adafruit BMP280 Barometric Pressure + Temperature Sensor Breakout

Arduino Panel Meter Clock. By Russ Hughes

Adafruit PowerBoost Charger

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

Adafruit PowerBoost Charger

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

ARDUINO MEGA ADK REV3 Code: A000069

Adafruit HMC5883L Breakout - Triple-Axis Magnetometer Compass Sensor

Adafruit PDM Microphone Breakout

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Adafruit DS3231 Precision RTC Breakout

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

ARDUINO MEGA 2560 REV3 Code: A000067

Arduino ADK Rev.3 Board A000069

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

keyestudio Keyestudio MEGA 2560 R3 Board

Mailbox Notification Service. Created by Adam Kohring

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

SPIRIT. Phase 5 Analog Board Computer and Electronics Engineering

Adafruit BME680. Created by lady ada. Last updated on :10:23 AM UTC

An open-source hardware+software project. For design files and additional documentation, please visit:

Lab 2.2 Ohm s Law and Introduction to Arduinos

Adafruit Mini TFT " 160x80

Introducting Itsy Bitsy 32u4

Adafruit Optical Fingerprint Sensor

Installation/assembly manual for DCC/Power shield

ARDUINO MICRO WITHOUT HEADERS Code: A000093

XBee USB Adapter Board (#32400)

VLSI AppNote: VSx053 Simple DSP Board

Voltage Regulator Board User Guide

ARDUINO UNO REV3 Code: A000066

QRPometer Assembly Manual Copyright 2012 David Cripe NM0S The 4 State QRP Group. Introduction

Adafruit INA219 Current Sensor Breakout

Building the RGBW LED Controller

Supplement for module D061 incl. ATMega128 Prozessor

K191 3 Channel RGB LED Controller

PN532 NFC RFID Module User Guide

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

Chill Interface PCB Assembly Instructions

Adafruit Powerboost 1000C

ARDUINO LEONARDO WITH HEADERS Code: A000057

7I74 MANUAL 8 CHANNEL RS-422 INTERFACE

Building the VMW Time Circuitry Meter by Vincent M. Weaver 6 May 2014

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

um-fpu64 Floating Point Coprocessor 28-pin Breakout Board Introduction Bare um-fpu64 28-pin Breakout Board

SRI-02 Speech Recognition Interface

Microsystems. SCI-6 Sound Card Interface Kit Version 1.09 January 2015

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Operating Bulletin. Model BB3-232 and BB3-I-232 USB Multi-Drop Box. The Fastest Flow Controller Company in the World!

2.2" TFT Display. Created by lady ada. Last updated on :19:15 PM UTC

Onwards and Upwards, Your near space guide Overview of the NearSys Two Sensor Temperature Array Figure 1. A complete Two Sensor Temperature Array

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

ARDUINO PRIMO. Code: A000135

Building the Super-VMW CPU Meter by Vincent M. Weaver 18 May 2011

Figure 1. A complete Temperature Sensor

Adafruit MAX98357 I2S Class-D Mono Amp

Bill of Materials: Turn Off the Lights Reminder PART NO

A3-TFFCBL-02 USB-to-UART Adapter User Manual

Adafruit CAP1188 Breakout

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

Adafruit INA219 Current Sensor Breakout

Prototyping Module Datasheet

Tutorial AR Drone Miru Mod on Windows7 with DX6i DRAFT Part 1, V1.5 UFO Doctor, July 4th, 2011

7I44 MANUAL 8 CHANNEL RS-422 INTERFACE

Post Tenebras Lab. Written By: Post Tenebras Lab

How-To #7: Assemble an H-bridge Circuit Board

BMS: Installation Manual v2.x - Documentation

Building and using JasperMIDI

USB Type A Female Breakout Hookup Guide

Features: Analog to Digital: 12 bit resolution TTL outputs, RS-232 tolerant inputs 4.096V reference (1mV/count) 115K max speed

Onwards and Upwards, Your near space guide. Figure 1. CheapBot Line Follower

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

CONSOLE CONNECTOR KIT 9501 INSTALLATION INSTRUCTIONS

Dwarf Boards. DN001 : introduction, overview and reference

Adafruit HUZZAH32 - ESP32 Feather

Adafruit Analog Accelerometer Breakouts

Arduino Diecimila Pinouts 697B B8D-A50A-61944C26074F

The BASIC Stamp and other 5 V controllers need an adapter that:

Robotic Kits. AVR SWARM Robot Kits

Adafruit 4-Channel ADC Breakouts

IS-S0108 Single Switch Solution

Adafruit TB A DC/Stepper Motor Driver Breakout Board

The SilverNugget is a servo controller/driver for NEMA 17 & 23 frame microstep motors.

ICM-400 Series Intercom Stations

Modtronix Engineering Modular Electronic Solutions SBC28DC. Single board computer for 28 pin DIP PICs

Digital Pins and Constants

ARDUINO LEONARDO ETH Code: A000022

Introducing Pro Trinket

Datasheet for PAS12 Serial Adaptor rev 1.50

MODEL 8000MP LEVEL SENSOR

Transcription:

Adafruit USB Power Gauge Mini-Kit Created by Bill Earl Last updated on 2017-07-14 11:55:04 PM UTC

Guide Contents Guide Contents Overview Assembly Basic Assembly Solder the female connector. Solder the male connector In-Line Assembly Cut and strip the cable Wire in-line Serial Data Monitoring Connect the USB/Serial Cable: Use it! LED Power Indicators Analog Output Serial Output Example of serial output: Hack It! Power Gauge Breakout Holes: Connect to your programmer: Schematics: 2 3 5 5 6 7 8 8 8 9 9 11 11 12 13 13 15 15 15 16 Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 2 of 17

Overview This little USB port go-between is like a speed gauge for your USB devices. Instead of hauling out a multimeter and splicing cables, plug this in between for a quick reading on how much current is being drawn from the port. Great for seeing the charge rate of your phone or tablet, checking your battery chargers, or other USB powered projects. Data is passed through transparently from end to end, so you can use it with any USB device at any speed. The power line has a 0.1 ohm current sense resistor an an INA169 high-side current sensor that is tracked by a little ATtiny85 chip. The microcontroller is programmed to read the current draw as well as the bus voltage and light up the strip of LEDs on the side. The LED strip gives you a quick visual "power OK" and an indication of your power usage. But we also stream the data to a serial port so you can monitor, log and/or plot it on your Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 3 of 17

computer! The gauge comes as a mini kit with an assembled & tested PCB plus a separate USB jack and plug as shown above. The instructions on the following pages will show you how to assemble and use this handy gauge. Please note: this is a handy gadget but it isn't a multimeter! We do some basic calibration during test, but the serial output readings are not precise and should be used as a basic guide rather than lab-grade data plots. Assume a variance of at least 0.1V and 50mA due to noise, thermal changes, etc. Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 4 of 17

Assembly The USB Power Gauge comes in kit form so that you can customize it to your needs. There are only 3 parts to the kit and basic assembly takes just a few minutes. Basic Assembly Assembling the USB Power Gauge is pretty simple. Just solder the male and female USB connectors on either end. Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 5 of 17

Solder the female connector. This connector goes on the end marked "Device". Be sure to solder all pins, as well as the mounting tabs for a secure connection. Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 6 of 17

Solder the male connector This goes on the end marked "Computer". Be sure to solder all pins, as well as the mounting tabs for a secure connection. With a connector on each end, your gauge is ready for use. Proceed to the next page for Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 7 of 17

usage instructions, or read-on for other assembly options. In-Line Assembly Optionally, the USB Power Gauge can also be spliced right into a cable for a more compact package without all the connectors. Cut and strip the cable Trim back the outer insulation and foil shield. Then strip and tin each of the 4 inner wires. Wire in-line Solder the cut and stripped cable ends to the board - taking care to assure that the wire positions Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 8 of 17

correspond exactly to the pins on the connectors. Caution: Standard USB color coding is shown in the diagram on the left. But it is best to verify conductivity with a multimeter because your cable may vary. Some 1/2" clear shrink-wrap tubing can be used to protect your wiring while still allowing you to see the indicator LEDs. Serial Data Monitoring For real-time monitoring of voltage, current and wattage over a serial link, you can connect an FTDI cable, FTDI Friend or even an XBee using the breakout holes on the side of the power meter board. Connect at 9600 Baud - data will be spit out automatically! Connect the USB/Serial Cable: You can solder the wired directly Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 9 of 17

to the breakout holes, or add a header as shown here: You will only need to connect a ground wire and a signal wire to your serial device. Connect: GND -> GND (Black wire on an FTDI cable) Tx -> Rx (Yellow wire on an FTDI cable). Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 10 of 17

Use it! LED Power Indicators The green led indicates that you have power of at least 4.5v. This is the minimum effective voltage for charging or running most USB devices. If the green LED goes out, you know you should check your port, shorten the USB cable, or reduce the current draw. The blue LEDs give you an indication of the total power draw. They will light in sequence with increasing intensity. Each fully lit LED indicates 1 Watt of power ( ~200mA at 5V nominal). 1A represents a full-scale reading with all 5 blue LEDs lit. Most USB ports are rated for 500mA. Although the indicators will max-out at 1 Amp, the gauge is safe to use with devices drawing as much as 2 Amps. Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 11 of 17

Analog Output The A0 breakout hole next to the computer-side connector outputs the voltage across the 0.1 ohm current sense resistor. This give you an analog signal of 1 Volt per Amp of current through the gauge. This is handy if you want to measure more precise current draw using any multimeter, or connect it to a different kind of gauge that takes voltage input Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 12 of 17

Serial Output Voltage, current and wattage data are streamed in ASCII text on the TX pin at 9600 baud. Connect an FTDI friend, USB console cable, microcontroller, XBee, whatever you want that can read 9600 baud TTL serial data for datalogging, plotting or display. Note that the logic level for the serial data out is 5V. If you are connecting to a 3.3V logic device, use a resistor divider or level shifter to bring it down from 5V to 3.3V Example of serial output: V: 5.5 I: 0 ma Watts: 0.0 V: 5.2 I: 383 ma Watts: 2.0 V: 5.1 I: 717 ma Watts: 3.6 V: 5.1 I: 587 ma Watts: 3.0 V: 5.3 I: 414 ma Watts: 2.2 V: 5.3 I: 487 ma Watts: 2.6 Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 13 of 17

V: 5.3 I: 297 ma Watts: 1.6 V: 5.3 I: 383 ma Watts: 2.0 V: 5.3 I: 192 ma Watts: 1.0 V: 5.4 I: 174 ma Watts: 0.9 V: 5.4 I: 169 ma Watts: 0.9 V: 5.4 I: 452 ma Watts: 2.4 V: 5.3 I: 208 ma Watts: 1.1 V: 5.4 I: 157 ma Watts: 0.8 V: 5.5 I: 157 ma Watts: 0.9 V: 5.3 I: 181 ma Watts: 1.0 V: 5.4 I: 207 ma Watts: 1.1 Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 14 of 17

Hack It! The USB Power Gauge is powered by an ATTiny85 processor (the same one used in our Trinket and Gemma!). You can find schematics and source code in the github repository so that you can customize your power meter too! https://github.com/adafruit/usb-power-gauge (http://adafru.it/d3v) USB Power Gauge Github Repository http://adafru.it/d3v Power Gauge Breakout Holes: All of the ICSP connections for in-circuit serial programming are available in the breakout holes on the edge of the board. These can be used with programmers such as our USBTinyISP. Connect to your programmer: Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 15 of 17

Using the 6-pin connector on your USBTinyISP, connect: MISO -> Tx VCC -> 5v SCK -> Clk MOSI -> SI RST -> Rst GND -> GND Note! The ICSP pinouts diagram is viewed from the TOP of the connector. Note the position of pin 1. For details on programming with the USBTinyISP, see this guide (http://adafru.it/cla): Schematics: Adafruit Industries https://learn.adafruit.com/adafruit-usb-power-gauge-mini-kit Page 16 of 17

Adafruit Industries Last Updated: 2017-07-14 11:55:03 PM UTC Page 17 of 17