This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
3 posts • Page 1 of 1
I have an iei KEYPAD AND AM TRYING TO INTERFACE IT TO MY ccTV SYSTEM THROUGH A bs2. THE IEI KEYPAD HAS A SERIAL OUPUT AND LINE ACTIVE SIGNAL BUT I DONT KNOW THE FORMAT OF THE SERIAL DATA. WHAT SHOULD I USE TO LOOK AT THIS SIGNAL IE OSCILLOSCOPE)?
An oscilloscope would certainly be the easiest.<p>Apart from anything else you'll need to find the baud rate.<p>You might be able to work out the pattern with a logic probe - though I think you'll soon give up on that idea.<p>Another way if you're uC inclined would be to program the Stamp to record the signal and then play it back out to the debug screen.<p>To do that, you could have the Stamp wait until a start signal, have it start a timer until it detects the next signal. From that it'll be able to work out the baud rate. Then it is just a matter of reading the signal in - possibly to a 30 byte circular buffer as you don't know what you're going to be receiving.<p>The David Benson book serial pic'n has an auto baud rate detecting routine in it as does a uChip application note.<p>Colin
On a clear disk you can seek forever.
Users browsing this forum: No registered users and 11 guests