Skip to content

xyzroe/ZigUSB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZigUSB

ZigUSB was developed as a device that allows you to control and monitor the power of a device connected via USB.

Using this device, you can remotely control the power of the USB port to turn on or off the connected device. And also monitor the current voltage and current. And it's not a bad Zigbee network router.

Frequent use cases: converting a "stupid" USB lamp into a "smart" one; connecting modems / sticks / adapters, which sometimes require a power reset; monitoring the current consumption of any connected device.

Possibilities:

  • Power on/off by push button and via Zigbee network.
  • Automatic restart loop of the connected device with a single Zigbee command.
  • Monitoring of voltage and current supplied to the connected device, INA219 chip.
  • Setting the maximum USB current using a variable resistor on the board (1.0-3.2A)
  • For power management, a MIC2545A USB switch chip is used.
  • E18-MS1PA2-PCB (CC2530 with +20dBi amplifier) ​​was used as the Zigbee chip, which allows it to be used in remote places, and at the same time act as a good router for other devices.
  • USB data transfer is available. This may be needed when connecting a USB modem to a router that does not know how to manage USB power, and the modem may need to be rebooted.
  • Designed for AK-N-12 case.
  • To re-pairing or reset to factory defaults:
    Power on (plug into power source), wait 2 seconds, power off (remove from power source), repeat this cycle three times.

Overview

Touch version

Button version

Photos

Touch version

Button version

Schematic

PTVO Config

Touch version

Button version

zigbee2mqtt & Home Assistant overview

Hardware files

Touch version

Gerber
BOM or iBOM 🚀

Button version

Gerber
BOM or iBOM 🚀

Firmware files

NEW z2m external converter 🎉 (for new z2m ext converter format) with NEW image
old z2m external converter

All FW .hex, PTVO .ini, .txt and converter .js files

Verified supported Zigbee systems:

  1. zigbee2mqtt - FULL support, no more need external converter ⭐⭐⭐⭐⭐
  2. Homey - FULL support, more info. Thanks to Arun Babu Neelicattu ⭐⭐⭐⭐⭐
  3. HOMEd - partial support. On-off control inversed. ⭐⭐⭐⭐
  4. ZHA - partial support. No current and voltage sensor, no ability to restart USB device, on-off control inversed. ⭐⭐⭐
  5. Samsung Smartthings Hub - partial support. No sensors, no ability to restart USB device, on-off control inversed. ⭐⭐⭐

other systems supported Zigbee should also work, but need testing.

Where to buy?

Tindie stopped supporting shipments from Ukraine, so now you can only buy on my partners’ website (shipping worldwide)

Go to mind.in.ua

Like ♥️?

"Buy Me A Coffee"


Made in Ukraine

Inspired by

  1. The original project of USB switch by Kasito
  2. Zigbee configurable firmware PTVO

ZigUSB is licensed under the

GNU General Public License v3.0