CuVoodoo

the sorcery of copper

User Tools

Site Tools


web-u2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
web-u2 [2019/09/09 10:46] – [WEB-U2] kingkevinweb-u2 [2019/09/09 13:48] – [WITRN U2 104083] kingkevin
Line 1: Line 1:
 The U2 is a USB power meter and tester. The U2 is a USB power meter and tester.
 +
 +{{:u2:qway-u2p_device_front.jpg?0x200|}}
 +{{:u2:qway-u2p_device_back.jpg?0x200|}}
  
 ===== Overview ===== ===== Overview =====
Line 32: Line 35:
   * [[http://www.witrn.com/witrn/u2/U2_Firmware.zip|Firmware]]   * [[http://www.witrn.com/witrn/u2/U2_Firmware.zip|Firmware]]
  
-There is also this thorough [[https://mysku.ru/blog/aliexpress/67123.html|review]] with a lot of information in the comments.+There is also this thorough [[https://diykitsblog.com/obzory-i-testy/u2-usb-tester-witrn.html|review]] and [[https://mysku.ru/blog/aliexpress/67123.html|another]] with a lot of information in the comments.
  
 ===== Hardware ===== ===== Hardware =====
  
-There are several slightly different versions of the hardware, with confusing names. +There are several versions of the hardware.
-I will us the names I can read on the device itself to identify them.+
  
 ==== WITRN U2 104083 ==== ==== WITRN U2 104083 ====
Line 53: Line 55:
 Software version 4.0 or later also do not work with this device. You need to use version 3.0.\\ Software version 4.0 or later also do not work with this device. You need to use version 3.0.\\
 This device can still be used to measure voltage and current, but since there is no update anymore it will not be able to be used to detect charger profiles. This device can still be used to measure voltage and current, but since there is no update anymore it will not be able to be used to detect charger profiles.
 +
 +There is also a footprint for an Bluetooth adapter behind the screen, but it was not placed yet (the software was probably not ready).
 +
 +{{:u2:web-u2_middle_top.jpg?0x150|}}
  
 I read out the FRAM (where the settings are stored) but did not find the serial number in there. I read out the FRAM (where the settings are stored) but did not find the serial number in there.
Line 58: Line 64:
 Sadly the firmware is read protected. Sadly the firmware is read protected.
  
-There is also a footprint for an Bluetooth adapter behind the screen, but it was not placed yet (the software was probably not ready).+Debug header pinout: 
 +<code> 
 +  _________ 
 +__|8 6 4 2| 
 +|9 7 5 3 1| 
 +----------- 
 +</code>
  
-{{:u2:web-u2_middle_top.jpg?0x150|}}+ 
 +  - SWDIO (SWD, STM32F072 pin 34/PA13) 
 +  - SDA (I²C, with FRAM at 0x50) 
 +  - SWCLK (SWD, STM32F072 pin 37/PA14) 
 +  - GND 
 +  - GND 
 +  - VDD 
 +  - VDD 
 +  - SCL (I²C, with FRAM at 0x50) 
 +  - nRST (SWD, STM32F072 pin 7/NRST, you must connect under reset since SWD is disable after boot) 
 +==== WITRN U2 V2.0 ==== 
 + 
 +Because the clone was bricked, I got a genuine replacement. 
 + 
 +{{:u2:witrn-u2_device_front.jpg?0x200|}} 
 +{{:u2:witrn-u2_device_back.jpg?0x200|}} 
 +{{:u2:witrn-u2_board-middle_back.jpg?0x200|}} 
 + 
 +A Bluetooth module could be placed on the front side of the bottom board. 
 +The front board could also be light bz LEDs from the back side. 
 + 
 +{{:u2:witrn-u2_board-bottom_front.jpg?0x150|}} 
 +{{:u2:witrn-u2_board-top_back.jpg?0x150|}} 
 + 
 +==== Qway U2p ==== 
 + 
 +The U2p version is a variant of the U2 with 4 button instead of 2, and a switch to enable Power Delivery probing 
 + 
 +{{:u2:qway-u2p_device_front.jpg?0x200|}} 
 +{{:u2:qway-u2p_device_back.jpg?0x200|}} 
 +{{:u2:qway-u2p_middle_back.jpg?0x200|}} 
 + 
 +Finally it was also possible to get a version with Bluetooth and some light next to the USB input (not sure when it is on though) 
 + 
 +{{:u2:qway-u2p_bottom_front.jpg?0x150|}} 
 +{{:u2:qway-u2p_top_back.jpg?0x150|}} 
 + 
 +==== Board ==== 
 + 
 +{{:u2:qway-u2p_middle_back.jpg?0x200|}} 
 +{{:u2:qway-u2p_ics.jpg?0x200|}} 
 + 
 +Here a list of the components present on the Qway U2p V1.1 board: 
 +  - input USB 3.0 type A plug 
 +  - input USB type C socket 
 +  - input USB type micro-B socket 
 +  - output USB 3.0 type A socket 
 +  - output USB type C socket 
 +  - data USB type micro-B socket, USB HID connection to the computer to read the measurements and flash the firmware 
 +  - 4 button to interact with the interface (back, ok, previous, next) 
 +  - PD switch to enable USB-C Power Delivery triggering 
 +  - [[http://www.microne.com.cn/en/ProductDetail.aspx?id=29|Micro One ME6203]] 3.3V LDO voltage regulator: one for the USB type A input, the other for the USB HID micro-B input to not affect the measurements 
 +  - input diode protection: not in-line, but shorting GND to VBUS when GND > VBUS 
 +  - R012F shunt resistor (12 mOhm): to measure the current 
 +  - 5R10 shunt resistor (5.1 Ohm): which can be switched in line to measure low currents 
 +  - [[https://www.onsemi.com/products/interfaces/usb-type-c/fusb302|ON FUSB302]] (marked PBAB) Programmable USB Type-C Controller with PD: this gets enabled by the PD switch 
 +  - [[https://www.ti.com/product/INA226|TI INA226]] current and power monitor: this makes the measurements 
 +  - [[https://www.nxp.com/docs/en/data-sheet/MMA8452Q.pdf|NXP MMA8452Q]] accelerometer: to automatically rotate the display 
 +  - [[https://www.fujitsu.com/downloads/MICRO/fsa/pdf/products/memory/fram/MB85RC16-DS501-00001-8v0-E.pdf|Fujitsu MB85RC16]] I²C FRAM: to store the settings and energy measurements 
 +  - [[https://www.st.com/en/microcontrollers-microprocessors/stm32f072cb.html|ST STM32F072CBT6]] ARM Cortex-M0 micro-controller: the brain of the device 
 +  - UART pins: to connect to the AT-09 Bluetooth module (with TI CC2541 chip). pinout, beginning with square pin: 3.8V GND RX TX
 ===== Software ===== ===== Software =====
  
web-u2.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1