Voltlog #155 – TL431 0-15V 0-5A Adjustable Power Supply Kit 3AG1 Xiaolin

A while ago I showed this power supply kit, which I ordered from ebay. It was being advertised as an LM317 0-15V 0-5A adjustable power supply kit and it looked promising. Upon receiving the kit and taking a closer look theres 2 thing to mention, one the power supply is not based on the LM317 but on the TL431, they used TL431s instead of op-amps in this power supply design and two there isn’t much documentation about this power supply.

The components used are low quality but that is to be expected from these cheap kits coming from china so no surprises there. If you would like to use some better quality parts I would suggest replacing the electrolytic’s and the TL431s with ones sourced from known sources. Also a nice upgrade would be to use some 10 turn pots instead of the supplied ones to get some finer adjustment. But I just used the originally supplied parts to see what kind of results we get with those.

Get the TL431 power supply from these links:

Here is a screenshot with the signal measured right on the bulk filtering capacitor (4700uF). Looks like this might be the cause of the 100Hz oscillation we we’re seeing on the output.

Here is a screenshot with the current overshoot. The power supply was set for CC 50mA and I suddenly shorted the output through a 1ohm resistor. The scope probe was placed across the resistor leads on the low side ( 1mV = 1mA ). As we can see we have a huge spike of current that could potentially fry an LED connected on this power supply. However the spike lasts less than 1mS which is good and I have observed similar behavior on my HP E3611A analog bench power supply.

Here is also a screenshot with the power supply regulating the current at 50mA in CC mode. This doesn’t look right at all.

Voltlog #154 – Making My Own Trezor Crypto Hardware Wallet

In this video I’m gonna show you how I build my own Trezor hardware wallet. If you would like to support the voltlog channel checkout the donations page where you will find my paypal address or different crypto wallet addresses.

If you encounter this error while trying to compile trezor firmware:

Traceback (most recent call last):
 File "nem_mosaics.py", line 6, in <module>
 from google.protobuf import json_format
ImportError: cannot import name json_format
Makefile:121: recipe for target 'nem_mosaics.h' failed
make: *** [nem_mosaics.h] Error 1

It can be fixed by installing googleapis-common-protos package like this:

sudo pip install googleapis-common-protos

This fix was posted in the comments section by a viewer, I verified and it works.

Voltlog #140 – ISDT Q6 Plus Lipo Charger Repair

Welcome to a new Voltlog, this will be a repair video, because my ISDT Q6 Plus battery charger has failed. If you remember Voltlog #109 I did a review of this charger and I’ve been using it quite often since I got it, with no issues whatsoever, until a few days ago, I think I was just storage charging some batteries, I did 2 batteries and when it was time for the 3rd battery to go on it would not start anymore, it was saying, “current operation is not supported”.

Get the ISDT Q6 Plus here:

Voltlog #128 – LM338 Constant Current Regulator Circuit

Welcome to a new voltlog, today we are building a very simple constant current regulator based on the LM338 linear regulator. This is a very robust and stable classical regulator that is being manufactured by many big names like ST and TI, it has quite a high output current  rating of 5A continuous, it even comes in a TO-3 can package but today we’re going to use a TO220 which is more commonly available.

To make a constant current regulator out of this, is very simple, the datasheet gives us the circuit we need to use and we only need a low value resistor to do that plus the optional input bypassing cap which is 0.1uF. We’re going to use this formula to calculate the value of the resistor, so the output current is equal to the Vref divided by the value of the resistor.

External references:

 

Voltlog #101 – S-993A 90W Desoldering Gun

This is a short review of the S-993A 90W Desoldering Gun which was sent to me for free by banggood.com. I was planning on getting one of these for a long time and I’m happy that I finally got it, it’s very useful in repair jobs as I’m showing in the review video below.

Links for buying this desoldering gun:

Voltlog #99 – Samsung TV Power Supply Board Repair MK32P5T BN44-00213A

In this video I am repairing a power supply board from a Samsung TV. The part number for the power supply board is MK32P5T (BN44-00213A). The TV was showing the stand-by led but refused to turn on. It turns out this was a common problem with a simple fix.

Here are links to some of the tools used in this video:

Voltlog #93 – Bluetooth Receiver Weekend Update

This week I build a DIY bluetooth 4.0 audio receiver. I used the CSR8635 bluetooth module, a recycled lithium battery cell that I got out of an old laptop, a TP4056 battery charging & protection IC and a DIY PCB I made myself.

Here are links to these items if you plan to build one yourself:

Or you can just buy a ready-made bluetooth receiver.

 

PCB Assembly Service Review 7pcb.com

I wrote this article to review the pcb assembly service offered by 7pcb.com (Bittele). They offered me a free of charge, complete turn-key pcb assembly service. I will start by discussing the advantages and disadvantages of professional pcb assembly services and then I will review the quality of the actual pcb they assembled for me. So if you are only interested in the review you can skip the first part.

Advantages of professional pcb assembly

If you are thinking about doing the pcb assembly in-house at a professional level you are quickly going to realize the initial investment cost is very high. You will need a minimum of: one pick and place machine, one stencil printing machine and one reflow oven. You probably also want other related equipment for inspection work and hand soldering tools. You will also need manpower and expertise which could raise the investment cost considerably. And finally when you consider there is very little ROI from this kind of investment you will quickly decide to outsource the pcb assembly service. In most cases outsourcing the pcb assembly service to an external company should be more cost effective.

Then there is the aspect of quality; a company specialized on pcb assembly services will have the expertise and manpower to provide excellent quality. They will also invest in their development by always having the latest technology so you the customer get all the benefits from the new assembly technologies. It is likely that you will hit a equipment related limitation doing in-house assembly if you do not upgrade the equipment regularly, for example you might end-up in a situation where you cannot reliably assembly the latest BGA package for a new processor.

There is also the aspect of quality control. A reputable pcb assembly house will also have a good established quality control service which you might benefit from by not having to do the quality control in-house. Sure you might want to do an extra quality control step in-house but it’s good to know at least the pcb’s are all functioning correctly when they leave the assembly line.

Disadvantages of professional pcb assembly

  • One reason you wouldn’t want to outsource the assembly of your project is to protect intellectual property. If you are working on some top secret project or the newest idea that will revolutionize something, you might want to keep that as secret as possible so in that case you might do the pcb assembly in house.
  • There are also cases when the turnaround time of a prototype is critical so you might not afford to wait a week for your pcb to come back from a professional assembly line. In that case it might make more sense to do the assembly in house.
  • Cost is also an important reason you might not want to go with a professional pcb assembly house, especially for small businesses or hobbyists. Prices for pcb assembly services have lowered considerably in the past few years so this is less of an issue these days but still you won’t see too much individuals sending their one off hobby projects to a board assembly house.

How is the ordering process?

When working with board assembly houses they will generally start by requesting 3 things from you: the gerber files for fabricating the pcb(including the solder paste layer for creating a stencil), the component placement list and a BOM(bill of material), The pcb I used for this review was designed in eagle so I had to export the gerber files using the cam processor, next I generated the component placement list using mountsmd.ulp. I continued with generating the BOM by running bom.ulp.

I sent these files by email to someone at 7pcb.com and part of their process is to run an initial DFM (design for manufacturing) check. They detected I had in my bom an inductor that was larger in size than the actual placement I used on the PCB. Luckily they notified me about the issue and I was able to correct that but due to my mistake another day was added to the total processing time.

Another thing to consider when outsourcing work to China is their local holidays. It happened that this collaboration started right before the Chinese new year holiday. So if you are in a hurry don’t order something just before their holidays because that will add delays to the processing time. If I were to exclude the holiday, I think from start to finish they took about 10 days to assemble this board, and that includes the full service: pcb manufacturing, parts sourcing, my mistake with the inductor and the actual assembly.

Review

My design of the pcb originally included a mix of 0805 and 0603 passives but since was going to be assembled in a pick and place machine that can handle the smallest passives easily I designed to switch everything down to 0603. This way it’s small enough to easily place passives close to other components and it’s still accessible for debug & probing.

On the pcb I had a mix of smd and through hole parts and that is not desirable if you want to lower the cost. Generally speaking placing smd components is cheaper than soldering through hole parts. In my case, since this was a review, it didn’t matter because they offered me a free of charge service but you might want to optimize your design for manufacturing and include only smd components.

BOM consolidation is another aspects that might lower your cost. Instead of using separate 10K, 11K and 12K resistor, see if you can use 10K for all of those resistors. Same goes for all the passives on your board, try to use as few different values as possible because the final cost will depend on the number of different values you use.

The assembled board was packed very nice with lots of foam protection and inside an antistatic bag. Shipping was done by FedEx so it arrived very quickly.

I wanted a matte black soldermask finish and I know there are not allot of pcb houses that offer a matte black finish but it seems they work with one that does. As you can see in the picture above it looks very nice with this finish.

Component placement and alignment seems to be perfect and that is to be expected from a good quality pick and place process. I asked 7pcb.com and they said every pcb goes through the pick and place machine even if it’s a single piece that gets assembled.

The through hole components were hand soldered, that is the usual process with small volume runs. But look at the solder joints, they look perfect. The person doing this is certainly very experienced and was probably using very good tools and materials.

Regarding the solder paste and the solder wire used in the assembly, they are no-clean, low residue, lead free. The no-clean part is important, as you can see from the previous 4 images, there is very little flux residue left from the soldering process so the board doesn’t need to go through an extra cleaning step. The lead free part is important for meeting current regulations regarding the usage of hazardous substances in electronics.

Even the fine pitch components like this 64 pin LQFP microcontroller is perfectly aligned and soldered. It seems like they have a pretty good process because these joints look like top quality.

The big bluetooth module that you see missing on the board was left out because I am using one of those cheap HC-05 bluetooth modules from ebay. This kind of module cannot be sourced from a known supplier, only from ebay and grey market china and 7pcb.com do not source parts from those sources. It was either send them the part or leave it out. Sending them the part would have taken too long so I decided to leave it out and just assemble it after I receive the board.

I was curious what was the cost for assembling this board, what would it cost me to have this board assembled if I were to pay for it? They said the cost is $336, this includes all NRE and setup charges. This will reduce significantly as you order more pieces because a big part of the cost are those setup charges. To this cost you would add the BOM cost, which in my case was something like $25 on DigiKey.