close-circle
Close
0%
0%

Smart, 6 port USB Power meter with 4 port USB 2.0

Smart, Wi-Fi manged 6x USB port Power Meter with 4x port USB 2.0 hub, 2x charging ports with touch 2.4" LCD

Similar projects worth following
This is a continuation of my already started project, but more powerful.

While I started working with Raspberry Pi's and Arduinos i get some problems with devices consumption and I want to see how every device need power, to get later correct batteries and PSU.
The device can:
power up your Raspberry Pi;
power up your Arduino;
control designed USB devices power;
monitor how charges your battery;
remotely monitor and if needed restart any USB port.

6 port USB power meter with 2.4" LCD display will monitor every USB port and show real time used current (A) and power (W) measuring up to 3AMPS and battery charging (mAh).

With added 4xUSB 2.0 hub to it you can use it with your's Raspberry Pi or PC for connecting external USB flash or HDD, Wi-Fi or Bluetooth dongles and others devices, like USB port extension and USB PSU/charger. It will help you to project any USB device and control it's consumption.

I decide to make this device while working with 3 Raspberry Pi (2, 3 and Zero) and Arduino boards. I have all devices connected to external 4 port USB hub with power supply and often seen what it's not enough power for 2 Pi's and Arduino at one time and I think what will be great option to see every connected device power consumption. To calculate later needed batteries and power supplies.


So how it works?

It consist from Five parts:

  1. 6x port power meter which have 6x Current sense amplifiers (LT6106) connected to Atmega32L ( I take exactly Atmega but none Arduino because I wanted to make device smaller). It can measure up to 12A (depending on the capacity of the connected power supply). The maximum current for each port up to 3.5A;
  2. 4x port USB 2.0 hub with Terminus Fe1.1s chip. Yes it's exactly USB 2.0 standard (I have studied and designed a board according to the specified standard for USB 2.0);
  3. This devise power supply which have "Low Loss PowerPath" (LTC4412) for interrupted power switching between USB port (if you want to power it or use with USB hub) and external power supply (which designed with Texas Instrument WEBENCH tool) made from Step-Down (Buck Converter LM3150) with up to 12-A Continuous Output Current;
  4. Connected 2.4" LCD display with touch screen for real time monitoring what's happening with each USB ports with an opportunity to turn On/Off any of 6 ports;
  5. ESP8266 based Wi-Fi module for remote monitoring and management.

For device powering need use power supply with 9-12v and up to 12 Amps. Output make to 6 USB ports with every port displayed on the 2.4" touch LCD display current and power, there you can monitor what's happening with any device connected to this USB PSU, turn On/Off or just restart any of 6 USB ports.

This can be like:

  • Arduino boards,
  • Raspberry Pi,
  • Wi-Fi or Bluetooth dongle,
  • USB flash or external 2.5" HDD/SSD,
  • Or any other device with 5V power.

Design and monitor your device consumption... whatever it will be.

Future Options

  • Added ESP8266 Wi-Fi module, - DONE
  • Add on/off switches - Added remotely controlled MOSFET switches, - DONE
  • Add bigger LCD 1.8" or bigger? - Added 2.4" color LCD with touch screen, - DONE/configurating
  • Change Buck Converter to more powerful (already in project), - DONE
  • Make limitation for 5th USB port to 1A and 6th port to 2A for charging,
  • Design and 3D print case for it,
  • Adding and testing MicroPython on ESP8266 WiFi module, - In process
  • What else...? ;)k

webench_design_4493365_19_740347768.pdf

Texas Instrument WEBWNCH designed power ubit

Adobe Portable Document Format - 99.72 kB - 08/27/2016 at 09:37

eye
Preview
download-circle
Download

ILI9341.pdf

LCD Single Chip Driver 240x320

Adobe Portable Document Format - 3.28 MB - 08/27/2016 at 09:36

eye
Preview
download-circle
Download

ER-TFT024-3_Datasheet.pdf

ER-TFT024-3 TFT LCD Display datasheet

Adobe Portable Document Format - 371.97 kB - 08/27/2016 at 09:36

eye
Preview
download-circle
Download

ER-TFT024-3_Interfacing.pdf

ER-TFT024-3 TFT LCD Display connecting interface

Adobe Portable Document Format - 376.85 kB - 08/27/2016 at 09:36

eye
Preview
download-circle
Download

Adobe Portable Document Format - 206.28 kB - 08/27/2016 at 09:36

eye
Preview
download-circle
Download

View all 15 files

  • 6 × USB-A ports
  • 1 × Micro USB-B
  • 1 × Atmega32L (TQFP-44) Microprocessors, Microcontrollers, DSPs / ARM, RISC-Based Microcontrollers
  • 6 × LT6106 (SOT-23-5) Amplifier and Linear ICs / Operational Amplifiers
  • 1 × LTC4412 Power Management ICs / Power Supply Support

View all 33 components

  • Working on sketch... almost finished

    Aleksejs Mirnijs10/03/2016 at 23:42 0 comments

    So my work is going on;) Sketch for new LCD almost ready for finall upload to the controller. :) Need a little bit relax and finish it...

  • LCD shield test

    Aleksejs Mirnijs10/03/2016 at 05:32 0 comments

    Finally I found time to test ordered from @oshpark my 2.4" LCD shield. Work great. Now I'm working on new graphics on this new 2.4" LCD.

  • My first work on 3D case

    Aleksejs Mirnijs09/11/2016 at 12:40 0 comments

    The first 3D case is printed. I draw it with #solidworks. This was my first work with any 3D CAD software, so something goes wrong and not all is ideal.

    Of course thanks for our great Hackerspace comunity #MakeRiga!

    Next step is to a little bit change design and project top cover with LCD screen.

  • 2.2" LCD shield ready

    Aleksejs Mirnijs08/17/2016 at 11:06 1 comment

    Finally I got my lcd shields from @oshpark

    They looks really cool 😆

    And after little soldering work it's ready for next step...

    ... connecting and working with new firmware.

  • Pcb's revision v. 2.1

    Aleksejs Mirnijs08/12/2016 at 14:11 0 comments

    My next PCB revision components soldered

    But I'm still waiting for LCD shield from @oshpark, soon it will arrive.

    Can't wait to work with next level :)

  • My next PCB revision

    Aleksejs Mirnijs07/27/2016 at 14:46 2 comments

    Today I get my new pcb revision with integrated ESP8266 WiFi module, mosfet switching, updated usb hub with new genuine datasheet from manufacturer, updated power bug converter. Recalculated all pcb traces.

    ...And drawed new PCB Shield for 2.2" LCD display and ordered from @oshpark


    Thanks for our Latvian manufacturerer AMIKO. For firs maked error with PCB's they made to me corrects 5 pcs in 2 (TWO!) days! WOW!

  • New release

    Aleksejs Mirnijs07/07/2016 at 14:48 0 comments

    After some hard work and more manuals studing my next PCB release are ready for creating.

    Of course there are some new addons.

    Added Wi-Fi ESP8266 module for remote current consumption monitoring and port power controlling.

    Added 2.2" inch LCD with touch screen... I'm still working ot it.

  • USB hub working now

    Aleksejs Mirnijs06/09/2016 at 16:16 0 comments

    After the failure to launch the hub, Arsenij helps me with it and with his professional experience has found my errors with the schematic and Board.

    USB hub started working!

    I test it for speed... On reading speed was average 30MB/s, and on writing average speed 18MB/s. I test it with large files up to 2GB and with big amount of smile files up to 10MB x 100 files.

    I didn't have very fast usb Flash, but mine also not so slow =) I have Kingston 32gb Dtse9.

    Now I can say what USB 2.0 standard are met and works!

  • More changes on project

    Aleksejs Mirnijs06/08/2016 at 09:01 0 comments

    So the first I change Buck Controller to better - now can load it up to 12A (old have very big working temerature and was only 5A);

    Added indication for connected and working power suply (or it's PSU or it's USB, or both connected and showing which is working);

    Changed components wrong footprints and corrected some PCB's errors.

  • Yes! It's working!

    Aleksejs Mirnijs05/29/2016 at 20:40 0 comments

    Finally I found time for soldering. :)

    All parts are soldered, except USB hub controller :( I still didn't get it from China seller. When I ask him what is with my order because I didn't recive the order? He without any discussion refund my money back. So I need order from other sellers.

    So I am thinking or make order and wait one more month, or select other USB 2.0 hub chip and design other Pcb? Other chips not so expensive.

    But it looks great :)

View all 16 project logs

Enjoy this project?

Share

Discussions

SteF wrote 08/15/2016 at 01:26 point

Really good work !!

We expect your news ....

  Are you sure? yes | no

Aleksejs Mirnijs wrote 08/15/2016 at 05:25 point

Thanks!

I hope thak soon I'll recive my LCD shield and then I'll make more new logs...

  Are you sure? yes | no

Daniel Hoffman wrote 08/03/2016 at 06:52 point

Thanks! puts my idea for the comp to shame so Ill just settle on building a few of these for my lab at home. 

  Are you sure? yes | no

Aleksejs Mirnijs wrote 08/03/2016 at 08:25 point

Ok! Please just wait a little bit for all my tests...

  Are you sure? yes | no

Daniel Hoffman wrote 08/03/2016 at 09:29 point

no problem, send me a private message when you are happy to have alpha testers.

  Are you sure? yes | no

Aleksejs Mirnijs wrote 08/03/2016 at 06:46 point

Hi! Yes it's can be purchased. But now I'm waiting for all ordered parts, later I'll do the BOM file. I'm also startin to realise micropython on ESP8266 (how you see I'm in micropython contest :) ).

There is only one BUT! While I didn't recive all new parts I still didn't test my fully new desing for stability, speed, temerature...

Only after this all I can sell this board.

  Are you sure? yes | no

Daniel Hoffman wrote 08/03/2016 at 05:14 point

Love the project. I would be really keen to make some of these for my system at home. Can the printed boards with the ESP be purchased? Keen to have some time with this and possibly even install micropython onto that chip to control the platform.

  Are you sure? yes | no

Aleksejs Mirnijs wrote 05/20/2016 at 23:11 point

How do you think maybe need add bigger lcd? To add more info. 

  Are you sure? yes | no

Aleksejs Mirnijs wrote 05/20/2016 at 23:11 point

How do you think maybe need add bigger lcd? To add more info. 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates