89Views15Replies

Author Options:

Is it possible to convert a PCB board of an electronic device into computer code? to see how the device works? Answered

Hello guys, My name is Danish, I have never met electronics in my entire life until now but its seems like electronics is not easy going to be my friend, I need your help guys and i would highly appreciate and will always love you.

I am trying to find out how a particular device works? for example. There is a camera or a remote control or any electronic device, and If I want to see how these devices works so that I can make a computer program to do the same. Is there any software which can do the same or i need a schematic diagram or anything else? 

I am not even sure that my question is valid or stupid but please if somebody could give me little hint or direction. 

Thanks alot. 

15 Replies

user
RavensCraft (author)2012-10-02

I don't know if this is the direction you need /want to go or not, but do a web search for the term " jtag"

Select as Best AnswerUndo Best Answer

user
danishsoomro (author)RavensCraft2012-10-02

brother I did, it looks similar to what I want, but it sounds very advanced to me? do you have any idea about using Jtag to scan the firmware of the device?

Select as Best AnswerUndo Best Answer

user
RavensCraft (author)danishsoomro2012-10-07

I'm a total noob to JTAG. I found out about it while researching some satellite receivers. If I remember correctly they were revising firmware with JTAG.

Select as Best AnswerUndo Best Answer

user
CrLz (author)2012-10-01
I used to have a circuit modeling software program, would allow you to place components and connect wires, then "see" the output. Was way to abstract for me to use effectively! But, there is definitely people who do this.

Electronic circuit simulation uses mathematical models to replicate the behavior of an actual electronic device or circuit.
(from Wikipedia)

My experience was that small sections of circuitry could be modeled. True to life equipment was too complex to understand / much less model.  But I was just a hobbyist.  Part of my difficulty was to abstractly model the real world in terms of inputs.  Most software I've seen is made for professionals who are very comfortable with this abstract thinking.

Select as Best AnswerUndo Best Answer

user
danishsoomro (author)CrLz2012-10-02

CLRZ thanks alot buddy for your input, it sounds like the thing I am looking for.

There is a simple device which outputs electric signals or pulses at different variations I just want to read all those variations and then make a computer program to output the same variations via audio jack.

can you guide to any electronic simulation program? I'd really appreciate bro.

Thanks

Select as Best AnswerUndo Best Answer

user
CrLz (author)danishsoomro2012-10-04

Sounds like a signal generator / waveform generator. Looks like there is software sims for signal generators, but I haven't used any. Just keep in mind, for serious engineering, you want very clean signal generation. Lots of cheap solutions are messy waveforms.

Select as Best AnswerUndo Best Answer

user
jbaker22 (author)2012-10-02

http://www.vansairforce.com/community/printthread.php?t=51383

https://www.circuitlab.com/

Select as Best AnswerUndo Best Answer

user
jbaker22 (author)danishsoomro2012-10-03

Am I the best answer or do you want more?

Select as Best AnswerUndo Best Answer

user
iceng (author)2012-10-01

Welcome to ibles community.
I'm an Integrated Circuit ( IC ) engineer, you are talking about reverse engineering.
Some time, clients would pay money to understand how a particular code worked.

The conclusion was and still is that it is less expensive to design code from scratch
rather then to discover the actual existing code..

There are many different programming languages that eventually become the
computer binary code that makes a device perform a useful set of actions.

Depending on the CPU the add command can be 1011 or 0110 or 0010 or 1101
and that only for a binary type machine.

A

Select as Best AnswerUndo Best Answer

user
danishsoomro (author)iceng2012-10-02

Thanks ICeng for your response. Its not a very complex device it just output current or electric pulses at different variations I just want to read all those current variations. I was thinking there would be a simpler way to read all those current variations :0

really apprecaite if you could help me further :)

Select as Best AnswerUndo Best Answer

user
iceng (author)danishsoomro2012-10-02

So look into
https://www.instructables.com/id/%5BIdea%5D-Turn-an-obsolete-PC-into-an-Electronics-Eng/step4/Logic-analyzer-using-parallel-port/
this ible programing.

It will let you use your PC as a Logic analyzer through
the parallel port and that can give you the timing
  ie READ THOSE TIMING VARIATIONS !
Easy :-)

A

Select as Best AnswerUndo Best Answer

user
bwrussell (author)2012-10-02

It will be much easier to just look up how to do each task from scratch. Some small circuit boards could be easy to follow, if it has 10 or less components, but most consumer electronics have 1000's of components and often they are not labeled in a standard format.

What purpose does this serve? I know you said "I want to see how these devices works so that I can make a computer program to do the same." but that doesn't really make sense. If you want a computer program to act as a remote control or camera, you still need a physical camera or remote control. Are you trying to control these devices with a computer o do you want to model their behavior as a computer program?

If you are a beginner with electronics I would consider starting somewhere a little more basic.

Select as Best AnswerUndo Best Answer

user
danishsoomro (author)bwrussell2012-10-02

Thanks Russel for your response, the device is sort of utility which output different variations of current at different volts and ohms I just wanted to scan all those variations of output current and design the computer program which does the same.

i am very beginner in electronics and trying to absorb as much as I can but it seems harder :)

Select as Best AnswerUndo Best Answer