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
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.