Reverse Engineering




About: I am a photographer, a tinker, an electronics technology engineer, and author; I write short stories and poetry for the love of writing. I started writing poetry in high school over thirty years ago where I ...

Many of the members here at Instructables ask about datasheets or pin outs of a device or display in answers, unfortunately you cant always get a datasheet and schematics, in these cases you only have one choice reverse engineering.

Reverse engineering is a skill that is not taught in college or university electronics courses and yet it is a valuable tool in an engineer’s tool belt. Many people working on electronic equipment search to no end for schematics for a device when if they knew how it in all probability it would take less time to make their own schematics and parts lists.

Take the flash circuit in this Polaroid Camera, if you wanted to model a capacitor charger after the flash circuit in this camera, unless you worked for Polaroid your chances of getting a schematic are next to impossible. Other than the resin covered custom IC the rest of the circuit was easy to trace and make a schematic of taking me just four hours.

You can hand draw your schematics, build them in paint like I do, or build your schematics a circuit simulator like 123D Circuits where they are easy to read and you can test them making sure you made the schematic correctly.

I am going to show you some of the things you need to know to reverse engineer.

Step 1: Reverse Engineering Surface Mount Device (SMD) Circuit Boards

Although through hole circuit boards and SMD circuit boards look quite different they work the same way and they are reverse engineered the same way. Through hole components are the first components engineers learn to read, however surface mount devices, (SMDs) are not as easy to read because of the small aria for a part number or color codes. To identify components correctly you need SMD code books and SMD codes I have attched these in PDF format.

SMD resistors codes are alphanumerical however they are not that different than resistor color codes, the first number is the first digit, the second number is the second digit, the third number is the multiplier, and the R is the decimal place. So 103 is 10 kΩ and 4R7 is 4.7 Ω almost like the code on ceramic capacitors only with capacitors the letter is the tolerance.

SMD ICs have more information on them like 74HC595 or HC595. The through hole device is SN74HC595 and most of the time the datasheet for the through hole will do the same thing however not all the time. To get the exact datasheet for most SMD ICs use the part number prefix MM, so SN74HC595 is MM74HC595 and you can get the datasheets at these web sites.

For SMD transistors and other semiconductors you need code books like the ones in PDF format here, on the semiconductor you will see a code like 2X F. When you look up the code in the code book it gives you the SMD part number MMBT4401 and the through hole part number 2N4401.

Step 2: The Schematic of the SMD Circuit Board

Now that you have the values and datasheets for your components you can make a schematic of the circuit board. For this part sometimes I remove the components, photograph the circuit board, and trace out the conductors in paint. Start at one pin and follow the conductor to the first component draw the pin and wire and the component if the conductor branches off draw it to the next component. Once you have drawn all the branches of that conductor go to the other side of the first component and draw the next conductor and its branches to the components it goes to. Continue this until you have drawn the schematic of the circuit board.

Three capacitors 10 nf
Two-4 bar 103 is two-4 x 10 kΩ resistors
Two-4 bar 75R0 is two-4 x 75 Ω resistors
Two x 392 is 3.9 kΩ resistors
Two x 51R1 to 2 LEDs is two 51.1 Ω resistors
Three x 82R5 to 3 LEDs is three 82.5 Ω resistors
Four x 68R1 to 4 LEDs is four 68.1 Ω resistors
One x 42A04F8, HC163 is MM74HC163 or SN74HC163 IC
Two x 42A74HT, HC595 is MM74HC595 or SN74HC595 IC
Two x 2X F is MMBT4401, SO4401, or 2N4401 transistors
Kingbright SA43-21GW  SA43-13GW one digit 7 segment LED display

Step 3: Reverse Engineering a Component

Sometimes you need to reverse engineer a component because you can’t find a datasheet for the component. This is common with components that don’t have part numbers on them like Chip on Glass Liquid Crystal Displays (COG LCDs) and Light Emitting Diode (LED) displays.

Many people salvage parts from used electronics like the display in this alarm clock and when they go to use it in a project they can’t find a datasheet for the display. All you can tell is it is a four digit seven segment display and they spend hours trying to use a meter to find the pin outs. Before removing a component from a circuit board find the datasheet for the component or reverse engineer the pin outs.

Weather a COG LCD or a LED display they are reverse engineered the same way, follow the conductors from the display to the driver IC and look up the IC.

Step 4: Cleaning the Circuit Board

Quite often the circuit boards are dirty with debris and scuffs on the components making the circuit board and components unreadable. To clean them I use a rag, a paintbrush, and methanol or rubbing alcohol, to clean the parts. This makes the components part numbers and color codes more readable and it is easier to see where the conductors go.

Do not smoke or clean the circuit board near an open flame, alcohol burns.

Do not rub to hard or printed on part numbers can be removed.

Step 5: Start Engineering

Now that you can read the part numbers, color codes, and conductors, it is time to start reverse engineering the component you cannot get a datasheet for.

Start by following the conductors from the component you cannot get a datasheet for to its driver, in this case a LM8560 IC.

Look up the IC and get the datasheet, you can do this by looking up the LM8560 in a data book or by looking it up at these two web sites.

Once you have the datasheets find the pin outs and start tracing out the conductors.

Step 6: Tracing the Circuit

Like I did in the SMD circuit board I photographed the circuit board and traced the conductor’s one or two at a time and drew the conductors and components in a partial schematic since I only wanted to make a datasheet for the LED display.

I repeated this process until I had all the pin outs of the LED display.

Step 7: The Final Pin Out

After I made partial schematic of the LED display and its connections to the IC and the rest of the circuit board I checked the circuits in the display with a meter and made a schematic of the display. Now when I go to use the LED display in a project I already have the pin outs.

Step 8: 4 Digit 7 Segment Display With Decimal Point

Some 7 segment LED displays are hard to get datasheets for and common anode and common cathode cannot be determined by just looking at the display. But when you look at the circuit board the transistors indicate which pin is the common cathode or the common anode by going from the pin to ground or Vcc. The SN74HC595 IC makes it a simple matter to decipher the LEDs segments a, b, c, d, e, f, g, & DP. 

With the SN74HC595 QA connects to segment a, QB connects to segment b, and so on until you get to QG to segment g. QH connects to decimal point, and QH’ connects to the second SN74HC595 to drive the anodes of the individual digits.

This LED display is a serial input parallel to the common anode 4 digit 7 segment LED display with decimal point. Now I can make my own datasheet for the Common Anode 4 Digit 7 Segment LED Display.

Step 9: Mystery Circuits

I look for things to do so I salvage, on one of my salvaging forays I came across this circuit. At first I thought it was an audio amplifier for a PC but when I looked at it more closely it only had power in and 4 outputs, no audio input. It had to be some kind of adjustable power supply, so I reverse engineered it.

Step 10: Mystery Circuit Schematic

As I explained in the earlier steps of this Instructable I started by looking up the components and making a parts list. Once I had a parts list I started at one pin and traced the conductors to the components and from the components to the outputs. As I traced the conductors I made the schematic.

Step 11: Adjustable PC Power Supply

Once I made the schematic and the parts list I built the circuit in a circuit simulator. Faster than doing the math a circuit simulator can give me test points and values I can use in the real world to determine if the circuit is working as designed.

This circuit is a 160 watt adjustable power supply for inserting into a PC beyond that I can only guess at its purpose, it is ether a supply for specialized accessories or converting a tower to a complete electronics lab with adjustable power supply.

Reverse engineering circuits and components gets you schematics for electronics you cant find schematics for and tells you pin outs for components you cant find datasheets for, a useful tool in your tool belt.

123D Circuits Contest

Second Prize in the
123D Circuits Contest

Full Spectrum Laser Contest

Participated in the
Full Spectrum Laser Contest

Makerlympics Contest

Participated in the
Makerlympics Contest

3 People Made This Project!


  • Fandom Contest

    Fandom Contest
  • Backyard Contest

    Backyard Contest
  • Beauty Tips Contest

    Beauty Tips Contest

49 Discussions


Tip 1 year ago

Hello Josehf,

I will follow the saying, as long as it works not worth touching :) everything works fine, i add a USB with mini module AMS1117 (5V to 3.3V) and everything works without problems.

So I did the same with a Lea Netsocket 200+ :) everything works perfectly. Now the only major problem is the partners because the Netgear is 85mbps and the Netsocket 200+ is 200mbps :) good already I removed the dangerous 220V for 3.3V, it's a great success for an amateur like me :)

Everyone is responsible for what he does, ipay attention and no problem.

Thank you and great respect for Josehf.

Josehf Murchison

Tip 1 year ago

Cool you have it working
From the picks I can see you still have some of the 220 voltage regulating circuitry on the board.
The 220 regulating circuitry may be drawing some current.
However there is an old saying where I come from, "If it works, don't fix it."


Tip 1 year ago

Here is the final result :)

I followed the tracks according to your instructions, remove all the components for 220V (those on my way) and miracle :) it works as if it were powered with 220V :) it is also possible to feed from the 2 holes present in the rectangle opposite the pins. As the test battery is 3.7V the 2 smart chips have slightly heated, I will modify with current 3.3V and see the result before the final connection on RJ45 of the router, your opinions and advice are welcome, thank you for your help , cordially


Question 1 year ago

Hello and thank you, everything goes through your sharing Josehf.

I am having a problem with this wifi socket module PCB. The model is a Netgear XE103, it is used to have the wifi with 2 Netgear (1 connected with the router and the 2 is connected with the PC ...) the problem is that I have only one Netgear, so i thought it might be possible to control it from the RX / TX / VCC / GND outputs but difficult to find the pins unlike standard PCBs.

I saw on the net a lot of examples of reuse of Wifi devices but it is either indicated or easy to find, which is not my case. If you have any tips to help me find the Rx / Tx pins I would be very happy.

The Netgear is powered by 220V only I will try to remove the 220V to make it work with 5 or 3.3V. Here are the photos,

Thank you in advance.

3 answers
Josehf MurchisonCol68

Answer 1 year ago

This looks like a USB box Rx is D+ and Rt is D- Trace from the USB.

Connections USB.JPGUSB Box.jpg
Col68Josehf Murchison

Answer 1 year ago

Forgive me for the first images not visible, indeed it is a RJ45 port not visible on the images but it is the same principle. Thank you for your lighting, cordially.

Col68Josehf Murchison

Answer 1 year ago

Hello Dear Josehf

You are too much too strong, it's quite logical, how i do not think to find since the RJ45 connections :) I'm really bad at electronics, Thank you very much for the help, Josehf you are a genius. I will follow your fabulous instructions.

Finally i had to find another solution, as i have a cheap Chinese tablet but very slow i just wanted to recover the realtek wifi module and solder it to a USB cable (with 4 wires) to use as wifi usb dongle.

Otherwise i would like to successfully cut the Netgear PCB to keep only the power and the Ethernet port, only i'm afraid to cut useful mini resistor and i can not draw a good cutting plan, really difficult,

Thank you for your precious help, Respect to Josehf.


3 years ago

Hi, A request, since everyone has smart phone and especially dead smart phones :P It would be a great help if you can make an instructable on using smartphone screens. I have such a screen from old phone and its a pain to see it wasted. I was unable to find any pinouts after days of searching

480x800 - 4inch lcd
LCD number: BLU4003-20
for mobile: FLY iQ445 Genius

27 pins

1 reply
Archit B

3 years ago

I have a working at&t tochscreen phone eith a 1.3 mp camera and an arduino uno R3 board.How can i make a cctv camera using these as my budget is much low cause its my first time so PLEASE HELP !!!

1 reply

3 years ago

I have a dead Nokia lumia, any advice to try and get the camera to output a composite signal?

1 reply
Josehf MurchisonJavastar18

Reply 3 years ago

Is it totally dead, or can you charge the battery and bring up an image through the camera?

Depending on the camera it can have 4 to 30 pins.

4 pins is easy.

pin 1 Vcc

pin 2 clock

pin 3 data out

pin 4 ground

If you can bring up an image through the camera and you have a multi meter and an oscilloscope you can try what I did in this Instructable.

It takes a nice clear pic and it works well.

I am visually Impaired and just to see a circuit board I need a magnifying glass, on my computer I can blow up the pic and trace the conductors with ease.

When I trace a conductor I save as so I don't loose the original pic.

I also prefer the clear picture of a scanner I have a 4 input Tektronics oscilloscope but logic circuits are to irregular to make sense of the images to read the binary so I use a home made capture circuit.

something you can do if you're comfortable dissasembling your ipod, take it apart till you get to the camera, then screw the lense all the way in. It magnifies so much that you can see the Clusters of Red, green and blue pixels in an LCD screen. otherwise, pull apart a digital camera and get the zoom drum out. Perfect for it.

My wife won’t let me play with the Ipod in fact every time I get something she checks it out first and if she wants it I can’t play with it.

We got our first Ipod when I was driving truck, I stopped at a truck stop to use the john and coke was having a contest and I happen to pick up a bottle cap off the ground and it said win a free Ipod. Later she traded that one in when she got a new one that had the screen and camara.

The digital cameras I get are usually busted up but some of the phones I get have the neatest cameras with as little as 4 conductors +V –V clock and serial data out.

Haha, that figures, since the iphone 5 came out, you can generally get ipod and iphone 4's of ebay pretty cheap, so just grab one of them and you have an electric magnifying glass. And what I meant with the digital camera drum was to just use the drum like a magnifying glass, they do the same magnification.