This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

URGENT !!

anyone out there who can help me write a program to decode a waveform?...
i have a series of 1s and 0s from a TTL voltage eg 101010100101001101010 and they are coded in 5bit frames ie 10000= decimal 1 ( there are abt 15 characters, total of 75 bits)

problem is how do i use the capture mode to pick up the signal of the high and low voltages( high(5v)=0, low(0v)=1)
and put them into a string.

im using a low end magnetic swipe card reader, signal to 8052

Parents
  • I sorry to tell you that this encoding is probally much more complicated that you think.

    Since it sounds like you have a piece of hardware with no data sheet, you will have to hope it follows some standard. One technique to find infomation on standards is to try a web search engine. I tried goggle.com with the phrase "swipe card encoding". I got a hit to "http://www.virtualcard.co.nz/encode.html". Looks like a lot of good information there.

    Good luck.

Reply
  • I sorry to tell you that this encoding is probally much more complicated that you think.

    Since it sounds like you have a piece of hardware with no data sheet, you will have to hope it follows some standard. One technique to find infomation on standards is to try a web search engine. I tried goggle.com with the phrase "swipe card encoding". I got a hit to "http://www.virtualcard.co.nz/encode.html". Looks like a lot of good information there.

    Good luck.

Children
No data