Has anybody Used this 7-seg display?

eclectic

Moderator
Knots - MPH

Here's a quick starter, using a conversion factor of 1.15

Say you download GPRMC or whatever, as

b0, b1 (tens and units)

Code:
symbol Knots = W2
Symbol MPH   = W3

For b0 = 0 to 9 
For b1 = 0 to 9

     Knots = b0 * 10 + b1

     MPH = Knots *115
     MPH = MPH / 100

Sertxd (#Knots,"  ",#MPH, cr,lf)

next
next
e

Runs OK in the Simulator.
 
Last edited:

buntay

Senior Member
Thanks guys,

via ronC
Never used that display, but I really like these from SparkFun http://www.sparkfun.com/products/9765
Ummmm thats the exact one I have and not impressed, the documentation IMO is terrible. in this project I need to get direction and speed (this part is done thanks to the latter posts) and trying to get it to display made up senerios turns into a scrolling jumbled mess and then somehow one of the senerios turned the brightness down about 70% and now I cant get it back. (0x76), (0x7a),bla,bla,bla, just want to serout b.1, n4800_8, ("n 70") and have it stay there until the next update cyle. if you know where there is idiot documentation for this module please point me to it as I am about to give up on it... LOL


ELectric, can you explain how this works?.... I understand how hippy's works but need it to be usefull of to say 90mph or aprox. 78 knots
 
Last edited:

eclectic

Moderator
ELectric, can you explain how this works?.... I understand how hippy's works but need it to be usefull of to say 90mph or aprox. 78 knots
My mistake.

I was rushing and should have commented more. :-(

I'll sort out an answer soon, but,
in the meantime,
run the program through the simulator.

e
 

eclectic

Moderator
The GPS downloads values for
Speed over ground. (SOG)

I assume that you already have these values.
I'm pretending that your SOG is 78 knots.

I 'm also pretending that you have downloaded
7 as b0
8 as b1

Multiply 7 by 10 = 70
Add 8 = 78

Multiply by 115 = 8970

Divide by 100 = 89.7 (89 in whole numbers)


e
 

fernando_g

Senior Member
It may be only me, but...
after reading both datasheets, I find the Sparkfun one easier to understand.
Again, a matter of preference.
 
Top