Author Topic: $3 USB volt/ampere meter  (Read 9478 times)

0 Members and 1 Guest are viewing this topic.

Offline lpc32Topic starter

  • Frequent Contributor
  • **
  • Posts: 454
$3 USB volt/ampere meter
« on: May 05, 2014, 03:48:01 pm »



The MCU is Holtek HT46R064B.

What's that component to the right, next to the filter cap and the resistor? Looks like there's something metallic protruding from the top of it (see full size image). Not sure if it's from the inside, after the poor thing's been mutilated with heat, or if it's something that's dropped on it.

Any idea why only the MCU is reflow soldered? (Or maybe it's done manually by someone else.)

There are red spots under the components, I assume to glue them while soldering. Is that standard practice of some sort?

What's the 0.5ohm resistor for?
 

Offline 8086

  • Super Contributor
  • ***
  • Posts: 1084
  • Country: gb
    • Circuitology - Electronics Assembly
Re: $3 USB volt/ampere meter
« Reply #1 on: May 05, 2014, 04:20:20 pm »
What's that component to the right, next to the filter cap and the resistor? Looks like there's something metallic protruding from the top of it (see full size image). Not sure if it's from the inside, after the poor thing's been mutilated with heat, or if it's something that's dropped on it.

Probably a diode. I can't see the protrusion you're talking about.

Quote

Any idea why only the MCU is reflow soldered? (Or maybe it's done manually by someone else.)

Doesn't look reflowed to me. Probably drag soldered.

Quote

There are red spots under the components, I assume to glue them while soldering. Is that standard practice of some sort?

Yeah, that's glue. Not sure why it's been used in this case, maybe they prefer to have someone glue the component and then pass it to someone else for soldering...

Quote

What's the 0.5ohm resistor for?

Current sense presumably.
 

Offline lpc32Topic starter

  • Frequent Contributor
  • **
  • Posts: 454
Re: $3 USB volt/ampere meter
« Reply #2 on: May 05, 2014, 04:26:47 pm »
Probably a diode. I can't see the protrusion you're talking about.
The grey round dot near the top of the component (visible in the full image). Difficult to see what it is without an angled shot (bad light, all turned out blurry), but it definitely feels protruding.

Quote
Quote
What's the 0.5ohm resistor for?
Current sense presumably.
It's on the USB shield.
 

Offline Balaur

  • Supporter
  • ****
  • Posts: 525
  • Country: fr
Re: $3 USB volt/ampere meter
« Reply #3 on: May 05, 2014, 04:36:19 pm »
Quote
Quote
What's the 0.5ohm resistor for?
Current sense presumably.
It's on the USB shield.

It's on the GND path from input to output (low-side current sensing). This way, the MCU only has to measure a low analog voltage with one pin, as opposed to two pins needed for a sense resistor on the VDD, or a differential amplifier. The ADC's resolution could be also better.
 

Offline 8086

  • Super Contributor
  • ***
  • Posts: 1084
  • Country: gb
    • Circuitology - Electronics Assembly
Re: $3 USB volt/ampere meter
« Reply #4 on: May 05, 2014, 04:53:54 pm »
Probably a diode. I can't see the protrusion you're talking about.
The grey round dot near the top of the component (visible in the full image). Difficult to see what it is without an angled shot (bad light, all turned out blurry), but it definitely feels protruding.
Probably a stray bit of flux, or glue, or something. I don't think it's meant to be there.
Quote

Quote
Quote
What's the 0.5ohm resistor for?
Current sense presumably.
It's on the USB shield.

Low side current sensing, is easier to implement as Balaur said already.
 

Offline lpc32Topic starter

  • Frequent Contributor
  • **
  • Posts: 454
Re: $3 USB volt/ampere meter
« Reply #5 on: May 05, 2014, 06:16:07 pm »
Oh, because the shield's also connected to the GND. Thanks. Why better resolution?

Whatever it is on the diode definitely wasn't supposed to be there, but it does look very much like something metallic coming out from the inside of the distorted package. Oh well.
« Last Edit: May 05, 2014, 06:19:44 pm by lpc32 »
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16281
  • Country: za
Re: $3 USB volt/ampere meter
« Reply #6 on: May 05, 2014, 07:13:47 pm »
Current measuring has only a limited range as the voltage drop it has must be low so the USB device plugged in still has a power rail within the USB spec. So most of the ADC range is not usable as you only use the very lowest bits, the rest being unusable. Thus you might have 10mV resolution on volts, but the current will only have 10mA at best, and you will only have about 300 counts for current, while voltage will have 350 at a point where the ADC is less noisy as it is near the top of it's range.

Still they do work well enough, I bought 2 and they agree within 2 counts on voltage and 1 count on current. The mystery component is a diode, marked on my one as RA and with IV at right angles on the end. No idea what diode, but it still is readable. According to the one they draw around 10mA to 20mA depending on what is displayed.
 

Offline AmmoJammo

  • Frequent Contributor
  • **
  • Posts: 808
  • Country: au
Re: $3 USB volt/ampere meter
« Reply #7 on: May 05, 2014, 09:52:21 pm »
surface mount components get stuck on with glue, then the board is through hole loaded, and put through the wave soldering machine, which solders the through hole, and the surface mount stuff that's hanging off the bottom of the board ;)
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #8 on: May 06, 2014, 04:40:17 am »
I am using one of those and it's very useful to optimize charging speed. Some charger/cable combinations give higher charging currents than others.

Sent from my Nexus 5 using Tapatalk

 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #9 on: May 06, 2014, 03:16:06 pm »
What's the 0.5ohm resistor for?

0.5 ohm sounds too high, will cause a 0.5V drop at 1A. More likely 0.05 ohm.  Measure the voltage over it while charging and use the displayed current and ohm low to compute the resistance.
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #10 on: May 06, 2014, 03:18:26 pm »
Hey OP, thanks for pointing this out, I ordered one!

Do we need a "useful Chinese gadgets" thread?

Good idea. Here is a recent example https://www.eevblog.com/forum/reviews/another-helping-hand/msg0/#new . I would add the Bakku pcb holder http://www.dx.com/p/baiku-bk-687-stainless-steel-repairing-pcb-holder-for-cellphone-silver-284069#.U2j9LK1dUog
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #11 on: May 07, 2014, 06:27:16 am »
I think the person who did the soldering was having a fit of sneezing while doing it.  :-+
The larger the government, the smaller the citizen.
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #12 on: May 07, 2014, 11:13:13 am »
I think the person who did the soldering was having a fit of sneezing while doing it.  :-+

And I thought this was flux ,..

:)
 

Offline lpc32Topic starter

  • Frequent Contributor
  • **
  • Posts: 454
Re: $3 USB volt/ampere meter
« Reply #13 on: May 09, 2014, 10:03:02 pm »
Ammo: I guess they just seriously miscalibrated their thermal profile. ;) (And their pick-and-place broke in the middle.)

zapta: Right. I skipped the R. :)
 

Offline lu33390

  • Newbie
  • Posts: 1
Re: $3 USB volt/ampere meter
« Reply #14 on: March 03, 2015, 03:41:11 pm »
hello , an hand draw schema from france ... the componant to the right is a 2v5 regulator like TL431 , code RA (I do'nt find any .pdf on it) , is Q1 on my schema .
« Last Edit: March 03, 2015, 03:42:57 pm by lu33390 »
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3441
  • Country: us
Re: $3 USB volt/ampere meter
« Reply #15 on: March 04, 2015, 02:40:57 am »
What's the 0.5ohm resistor for?

0.5 ohm sounds too high, will cause a 0.5V drop at 1A. More likely 0.05 ohm.  Measure the voltage over it while charging and use the displayed current and ohm low to compute the resistance.

The photo shows R050 = 0.05 ohm.
 

Offline aargee

  • Frequent Contributor
  • **
  • Posts: 873
  • Country: au
Re: $3 USB volt/ampere meter
« Reply #16 on: March 04, 2015, 06:48:12 am »
What I find funny is that the silkscreen is all mirror imaged.
Not easy, not hard, just need to be incentivised.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf