decoding a gray code.
Archiver
Posts: 46,084
OK, I give up. I have looked everywhere and need a shove in the
right direction.
An aircraft blind encoder puts out an 8 bit gray code for the
altitude its pressure transducer sees. The gray scale is in 100 ft
increments and all I want to do is read the code, look up the
altitude and then display it in 4 digits on some kind of screen.
I saw this someplace and I just can find it.
Any help would be appreciated.
tia
Jim
right direction.
An aircraft blind encoder puts out an 8 bit gray code for the
altitude its pressure transducer sees. The gray scale is in 100 ft
increments and all I want to do is read the code, look up the
altitude and then display it in 4 digits on some kind of screen.
I saw this someplace and I just can find it.
Any help would be appreciated.
tia
Jim
Comments
http://www.opticalencoder.com/pdf/CP300%20size%2015%20encoder.PDF
Nuts & Volts article #8 explains how to read a 2-bit encoder, so it should
give you a start. Might also check the LOSA (list of Stamp Applications) to
see if its been done.
http://www.hth.com/losa/
Original Message
> OK, I give up. I have looked everywhere and need a shove in the
> right direction.
>
> An aircraft blind encoder puts out an 8 bit gray code for the
> altitude its pressure transducer sees. The gray scale is in 100 ft
> increments and all I want to do is read the code, look up the
> altitude and then display it in 4 digits on some kind of screen.
--- In basicstamps@yahoogroups.com, Rodent <daweasel@s...> wrote:
> This should explain the gray code:
>
> http://www.opticalencoder.com/pdf/CP300%20size%2015%20encoder.PDF
>
> Nuts & Volts article #8 explains how to read a 2-bit encoder, so it
should
> give you a start. Might also check the LOSA (list of Stamp
Applications) to
> see if its been done.
>
> http://www.hth.com/losa/
>
>
>
Original Message
>
> > OK, I give up. I have looked everywhere and need a shove in the
> > right direction.
> >
> > An aircraft blind encoder puts out an 8 bit gray code for the
> > altitude its pressure transducer sees. The gray scale is in 100
ft
> > increments and all I want to do is read the code, look up the
> > altitude and then display it in 4 digits on some kind of screen.
http://www.emesystems.com/BS2fsm.htm
There is a stamp routine for conversion binary<--->gray.
>This should explain the gray code:
>
>http://www.opticalencoder.com/pdf/CP300%20size%2015%20encoder.PDF
>
>Nuts & Volts article #8 explains how to read a 2-bit encoder, so it should
>give you a start. Might also check the LOSA (list of Stamp Applications) to
>see if its been done.
>
>http://www.hth.com/losa/
>
>
>
Original Message
>
> > OK, I give up. I have looked everywhere and need a shove in the
> > right direction.
> >
> > An aircraft blind encoder puts out an 8 bit gray code for the
> > altitude its pressure transducer sees. The gray scale is in 100 ft
> > increments and all I want to do is read the code, look up the
> > altitude and then display it in 4 digits on some kind of screen.
>
>
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the
>Subject and Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/