Identifying & Replacing A Fake FTDI FT232R Chip | Voltlog #314

Lately I’ve been getting a few of these serial interfaces from aliexpress, this is just a RS232 to TTL level converter while this one is a USB to RS485 interface and it’s great that we can buy these for cheap for we are getting exactly that, something cheap. This converter chip is likely not of the best quality and not to mention this FT232 chip is certainly not a genuine one. 

There is nothing worse than having to deal with communication issues and debugging your tools instead of the actual project you are working on so I’ve decided to replace these chips with some genuine, good parts because the pcb and the rest of the circuit should be fine as long as we have a good conversion chip in there.

You might be wondering if there is any way to tell for sure that you’ve got an FTDI FT232R clone. There are at least 2 methods that I know you can use. First one is to install an older version of the driver which FTDI released in 2014, after plugging your fake FTDI depending on the driver version it will either disable the FT232 chip by writing something to it’s internal EEPROM or it will modify it so that it shows a custom alert message over serial instead of your actual data. I don’t like this method, because there is a better, simpler way, you can simply check for the serial number of the FT232 which you can get from the device manager under windows or by using the FT_Prog utility. If your serial number is A50285BI or 00000000 then you most certainly have a fake chip because that is a popular serial number which is written to fake chips. They don’t bother changing the serial number on the fakes, they mostly write the same number or set it to zero.

Choosing, Placing and Routing A Shunt Resistor | Voltlog #313

If you are looking for the correct way to select, place and route your current measuring shunt resistor on a PCB then stick around as I will be sharing a bunch of tips & tricks that I learned while designing and building my own boards over the past years.

A shunt resistor can be used in multiple ways but for the purpose of this video we are interested in using it for measuring current, this means it needs to be inserted in series with the device under test. It can either be inserted in a high side configuration as shown in this example but it can also be inserted in a low side configuration. These two typologies have their advantages and disadvantages.

Here is a side by side comparison, when used in a low side configuration there is a ground offset which depending on your application may or may not pose problems. When used in a high side configuration, you must use a differential input amplifier for sensing the voltage drop while in a low side configuration you can get away with single ended.

Another thing that might be important, in a high side configuration you have the ability to detect a short on the load, while on the low side configuration you can’t do that. Also in a low side sensing configuration, you are not able to sense and account for additional leakage currents through stray secondary paths from the load to ground. This list might not be complete, there might be other differences to consider, these are just the ones that I had to consider in my designs.

But let’s say you’ve figured out the topology you want to use and you are now faced with choosing your current shunt resistor. Can you just pick your typical metal film 1ohm resistor from your favorite distributor? You can, but you won’t get the best results. Probably the most important factor you want to consider when choosing your shunt resistor is the temperature coefficient or the temp co as engineers like to refer to it. This will tell you how much your resistor value is going to change with variations in temperature. 

Every system you build will probably see a variation in temperature at board level and so if you calibrate your system to calculate the current for a given resistor value and that resistor value changes with temperature, you are going to introduce significant errors in your measurement.

ScopeShunt Visualising The Current Waveform With Your Oscilloscope | Voltlog #310

We usually use an oscilloscope for visualizing a voltage over time but sometimes it’s also useful to visualize the current waveform over time. The right way to do it is to get a current probe which can sense the current and convert that to a voltage that the oscilloscope can display however such devices are pretty expensive, they can be around $1000 even for an entry level one like the Rigol RP1001C which is only rated up to 300KHz bandwidth.

But we can improvise something for a much lower cost and it should allow us to visualize the current waveform on the oscilloscope. You’ve probably seen me use a shunt resistor when testing power supply to take a look at the current waveform. Because as you know passing a current through a resistor will generate a voltage drop.

That voltage drop is directly proportional with the passing current and with a round value resistor we can have an easy to use transformation ratio between voltage and current. All we have to do is o introduce this resistor inline between our power supply and the device under test

For example if I have a 1ohm resistor, we have a 1:1 ration, for each mA passed through that resistor we will have  1mV of voltage drop that our oscilloscope can display. Such a circuit will of course have it’s limitations, for example it won’t work very well when testing low voltage low power devices because our resistor will introduce a burden voltage, which will drop our supply voltage to the device under test. This is also not an isolated measurement so it might not be safe when connected with higher voltage circuits.

But there are still a lot of scenarios where you could use this successfully on the electronics workbench so it might be worth building something like this. I want to make this nicer by building it inside an enclosure with the required bnc connector for connecting to the oscilloscope and 4mm banana plugs for passing the current through. I picked this small aluminium enclosure which would be enough to house the resistor, actually the resistors, because there are several advantages to using multiple resistors in parallel.

Alternative to this simple shunt resistor measuring method include the Joulescope which is a fully featured dc energy measurement test instrument with incredibly wide dynamic range that allows you to capture the smallest currents next to a jump to a higher current. I reviewed the Joulescope in Voltlog #211.

Reverse Engineering Gopher NPS-1601 Front Panel Circuit | Voltlog #305

In this video I’m gonna show you how I reverse engineered the front panel of the Gopher NPS1601. First I’ll show the method I used for reverse engineering and then I’ll show the results I got This is in my opinion the best power supply you can get in the $50 range and if you would like to know more about this, I did a review in Voltlog #255.

Why did I decide to reverse engineer the front panel of this power supply you might ask? Well it was a topic I had on my todo list ever since I got this unit because I feel like the user interface on this is not as nice as it could be if it had a color TFT display to show more info than what you get on those small 7 segment displays. And I’m not just talking about improving visibility cause you could do that just by using brighter 7-segment displays, I’m talking about showing more data like: calculated wattage or capacity, showing set current and voltage at the same time with actual current and voltage you know the kind of info you get on the more expensive Riden power supply but hopefully in a better color scheme.

Voltlog #297 – How To Parfocal A Trinocular Microscope

Welcome to a new Voltlog, in this video I’m gonna show you how to parfocal your trinocular microscope, this means getting both the eyepieces and the third camera port in focus at the same time and maintaining them in focus while adjusting through the zoom range of microscope from low to high. 

This is extremely useful if for example you are using the microscope through the eyepieces, soldering on some board and at the same time you are using the camera port for recording or live streaming. Once you do this procedure, the camera and the eyepieces will be synced in focus even as you adjust a different zoom level but with some limitations, as I will show in a moment, these are the result of the camera optics which will limit the effective zoom range in focus.

Now if you are using a 0.5x barlow lens like I do and like most people doing electronics will be using, you need to consider the fact that the working distance is about 16.5cm between the barlow lens and the work surface. So keep that in mind, because the adjustment we will do later will be happening around that working distance.

Voltlog #296 – Microscope Camera Focus Issue Fixed!

Welcome to a new Voltlog, as you may remember in Voltlog #282 I got a new trinocular microscope and then in Voltlog #292 I got a new camera because the one shipped with the microscope had issues. Banggood till this day did not replace the camera which I believe is defective, they kept asking me to try these various settings in the camera menu to improve the brightness but none worked.

Now to get a good image and have both the camera in focus and the eyepieces you will need some kind of reduction, an optical adapter between the camera and the microscope port. So first I got this SZMCTV 0.3X adapter, after reading some reviews who were claiming this will give the best field of view.

After installing this adapter I noticed the field of view was almost the same as through the eyepiece which is great but I couldn’t get it in perfect focus with the limited adjustment available on the adapter and I was getting this tunnel vision which I couldn’t quite explain but it was obviously not what you want to see.

And so I got this newer wide body 0.5 adapter and installed it on my microscope and the problem was solved I could now get my camera into focus at the same time with the eye pieces but with a loss in the field of view due to the 0.5x adapter. Getting the SZMCTV 0.5X adapter would probably also work, that’s a bit cheaper, but I went with the recommendation of getting the newer type of adapter with better optics.

Voltlog #295 – Weekend Update

Welcome to a new Voltlog, this will be just a short weekend update video, to let you know what I’ve been doing in the past couple of weeks. So I’m staying at home and only going out for important stuff, which gave me more time to tinker and work on projects. I hope you are doing the same because social distancing is a good way to slow the spread of this disease.

One of the things I’ve been thinking of doing for a long time is a bench tool holder, the kind that will hold my tweezers, soldering iron tips, flux syringes, stuff like that. So far I’ve been keeping them in one of these pen holding cups but they fill up and it’s hard to grab the thing you need quickly. So I’ve started designing my own in Fusion 360, I included 6 deep pockets, 2 shallow ones in the front and 5 tubes for holding syringes. 

The next thing I did with my 3d printer is related to the current pandemic, as you may know, medical staff in many countries which have been hit hard are lacking protective equipment, they just don’t have enough mask or suits or face shields, not to mention enough ventilators which are desperately needed for those in critical condition. 

In parallel I’ve been designing the battery monitor circuit for the power drill I reviewed in Voltlog #285, this is the first revision of the PCB, the circuit works as expected but I’m still waiting on some parts to be delivered and I’ll do a separate video on this subject. It probably needs a second revision of the PCB because this one doesn’t quite fit in, the way I thought it will.

I also started designing a T10 automotive LED bulb. It’s using a linear  constant current driver and some decent LEDs, because what I’m currently using in my car are the aliexpress bulbs which kinda start dying after a few months of usage. I’ll probably place an order for this panel today but who knows when I’ll receive it.

Voltlog #291 – Buying From Aliexpress Tips & Tricks

Welcome to a new Voltlog, today I’m gonna share with you some tips and tricks about buying from Aliexpress and I might follow up with another video about Ebay and Banggood. I received requests for doing such a video several times as the subject was brought up and I think I can share a few useful things with you because as you may know, some of my most popular videos are my InTheMail videos where I show you the stuff I purchase from China and I get a lot of stuff which allowed me to learn a few tricks over the years. 

Voltlog #288 – New BLTouch 3DTouch Plastic Pin Sensor Upgrade

Back in 2018 I installed a Bltouch sensor on my Creality CR10 3d printer and I showed the process in Voltlog #177, that video is one of the most popular videos on the channel and now after using the printer with the upgrade for a couple of years I can clearly say it’s probably one of the best upgrades you can do to your 3d printer and it’s pretty cheap. I won’t go into too much detail about what the sensor does and how to install it because that is discussed in Voltlog #177.

However I did experience a downside after this upgrade, some users are reporting the same problem while others don’t face this issue. It’s important to note I am using a BLtouch clone called 3D touch, purchased from Aliexpress. It’s the type that has a metal push rod through the middle. The issue I’m having is a vibration noise coming from that metal pin vibrating inside the sensor when the printer moves on the Y axis. This issue might or might not be present on a genuine sensor or just another unit which might have tighter tolerances.

Voltlog #287 – Switching From Eagle To Kicad

Welcome to a new Voltlog, today I’m gonna talk a bit about my process of switching from EagleCad to Kicad. So i’ve been an EagleCAD user for years, I’ve practically learned how to do pcb layout in eagle cad so there is that emotional attachment to a piece of software because it’s what I used while developing this skill. And to be honest there wasn’t any better alternative years ago, Eagle was the first decent piece of cad software to offer a freeware license and it quickly became popular for hobbyists. It didn’t have all the bells and whistles of the expensive software like Altium or Candece but it did the job while being user friendly.

Since it quickly became popular for makers and hobbyists it also meant there was an abundance of support on the forums as well as many user generated scripts and libraries freely available. It was similar to the popularity Arduino got but it was never open source and if you needed some extra features like 4 layer layout or pcb sizes larger than 8x10cm you needed to pay for a license.