What the Fucking Product Assembly Work!!
Recently I am debugging an encoder for a test purpose.
But what the hell problem is that it cannot output a valid result which should include the how many rounds it rotated.
So I just tear it down to check what happened inside. Now I discovered a installation problem. Here is the photo.
sigh... What a fucking assembly work here.

You can see that the pin and socket are not aligned together. So that's the problem what I encountered.. That's so time consuming work..
How to Charge a Battery and Switch Power Supply from Adapter to Battery
Recently I've designed a system that use a battery as a backup power. It can shutdown the power supply by software. And also automatically switch power supply from adapter to internal battery.
so here is the circuit diagram.
STM32 Multiple USART Driver
Recently, I am developing a small project which utilize many many uart device. The core controller chip is a STM32 Cortex-M3 Chip which has 5 UARTS. In order to make full use of these UART interface, I just customized a small USART Driver which can make full control of 5 UARTS.
Due to STM32’s restrictions , only UART1 to UART 4 has the ability of DMA Write, so
EDN Design Ideas – Download Them All from 1999 to 2009
Recently, My favourite magazine EDN have changed their website style. But it caused many problem. Now I cannot find new design ideas from the website. So I just make a google , it tell me that they just hidden the design ideas to magazine issue page. here is the link.
But for your convience, I uploaded all design ideas from Year 1999 to Year 2009, 11 years in all. You can download them all
Study Notes | How to reduce the ripple noise voltage
Recently, I need to design a filter to deal with the problem of a ripple voltage caused by a SMPS(Switch Mode Power Supply). But it need so much tricky to solve this problem. So here is a guideline to make it more easily to slove this problem.
1. How to measure the ripple voltage ?
The methods to measure the ripple voltage are diverse, but there is a standard which is developed by a Japan Power Module Manufacturer (TDK Power). It provide a standard procedure called JEITA-RC9131A to measure a power supply’s output ripple voltage. Here is the detailed method.
Zener Diode Part List
Recently, I use some zener diode as a reference source to drive my comparator circuit.
So I made a Zener Diode List which from my "Search Job".
Here is the spreadsheet:
1N4099 ~ 1N4135 LOW CURRENT OPERATION 6.8V@250uA IZT LOW REVERSE LEAKAGE AND LOW NOISE CHARACTERISTICS 1N4158 ~ 1N4193 6.8V@37mA IZT
1N4400 ~ 1N4426 6.8V@37mA IZT
1N4614 ~ 1N4627
1N4678 ~ 1N4717
1N4728 ~ 1N4763
1N5225 ~ 1N5281
1N5333B~1N5388B
They are all Zener Diode, which can be easily got the stores. Here is a PDF which covers all diode
HOT!! That Chip burned my finger
Recently, I solve a problem which make a DA converter very very hot boiler. But thanks god, it works very well.. so other guys just ignore that problem, errr, I want to fix it.
Study Notes | Cadence Allegro SPB
After nearly 3.5 years working in Creative, I finaly decided to change a job with more challenge which I never encoutered.
In a new company, I decide to use OrCAD + Allegro to finish all projects. In next 3~4 weeks, I will write some notes about how to use Allegro to draw a PCB Board. Orcad is somebit of easy job for me because of that I've used a lot with the pspice simulation jobs.
Topic which covers: (Updated 2010-03-29)
1. How to draw Component’s footprint in Allegro
2. How to link a Component’s footprint with a schematic's symbol
3. How to Draw a board outline
4. How to Import a netlist from Capture
Study Notes | High Speed PCB Layout Guideline
As you all know, I am a heavy search-depent person which got almost information from Google. So in my last year, I give a present a KeyNote to my colleagues on the Topic of "How to Google Everything".
And as an electronics engineer myself, I also have collected many design rule from Internet. Most of them coming from Semiconductor Corp (TI, NSC, LT, Onsemi, ... ). So here I gave my version of PCB Design GuideLine.
It will be the first one of my series Guide Book called - TGuide Book Series.
So Here is the 1st one. High Speed PCB Layout Guide Book
Very First Post of My Very First Blog
Hi, everybody. This is a blog site which mainly focus on the Technical stuff ranges from electronics design example, principle behind a circuit , how to program, and so on.
My Name is Chenxiang Hsu. And I am an electronics designer which work in a small company dealing with hardware design job. If you wanna to talk with me, just write a email to me




