HOME > > ELECTRONICS MAIN PAGE    
ARDUINO MAIN PAGE

Details of a struggle with some arcane use of

a simple, inexpensive four character 7-segment
LED display from Sparkfun.

file: ec1led4x7ser-detail.htm

LED display

I hope that few people will read this page!

It recounts some struggles I had with a device. I rarely need to struggle with devices from the source concerned, and usually track my problems down to errors made by me.

I've used the device concerned before, doing the same thing I tried to do again 12/18. I don't (yet!) know why I had trouble the second time.

The device is a serially driven 4 character LED display, with the characters each created by 7 segments, from Sparkfun.com.

I have another page, a main page, about the Sparkfun serially driven 4 characters x 7 segment LED module. If you haven't come here from there, go there before reading the rest of this page. (It will open in a new tab).

Details... what was "wrong"

I could have sworn that in the past, I happily turned the colon on and off. 12/18, I couldn't "do dots" sensibly, at all.

The command I thought would turn just the colon on DID turn it on.... but also some other dots. As far as I noticed, always the same dots. But they shouldn't have come on with the command I issued.

Worse: Once some dots were on, I couldn't turn them off except by cycling the power to the device.

The misbehavior was consistent, at least.

There is a command to turn colon, decimal points, the apostrophe on or off, selectively, in any combination. Excellent. I was just not able to get it to work, 12/18.

I couldn't even get the dots I'd turned on off again with the general "clear display" command...

The clear display command performs two functions:

    Clear the display - all LEDs, including segments and decimal points, are turned off.
    Reset the cursor to position 1, the left-most digit.

The clear display command byte is 0x76

That comes from one page of the well written wiki about using the Sparkfun serially driven 4 character (7 segment) LED display.

In passing.... I believe that "0x76" is the ASCII code, in hex, for "v". I just sent "v" to the display previously. And it worked to clear the digits, even if the dots stayed on. But, in quick... possibly flawed... trials, 12/18, sending 0x76 didn't work for me.

The details... environment

I was using an old Sparkfun LED display. The predecessor of the one they now sell. But it was that one I wrote my other essay, my "How to use Sparkfun LED display" with. And, as far as memory and study serve, the "new" (current 12/18) displays use the same protocols, command sets.

I had the Arduino IDE in a Windows 10 computer. I was programming an Arduino Pro Mini, 5v. Arduino IDE 1.8.5

And remember: I LIKE the device. It works FINE for simple "display some digits".

Some more "stuff"...

As usual, if customers will RTFM, there's a lot of Good Stuff in the Sparkfun guide to the device.

They are even willing to admit the possibility... and offer solutions... when things aren't performing entirely to plan.

In the case of the current (12/18) display, there are some remarks in the guide just quoted, to the effect that if you try to do certain arcane things, some instances of the new display, presumably just one batch? may not "play nicely" in the arcane fields. But! There is a cure! Apparently, you can replace the code in the device. Whew! (I still hope it won't be something I have to do!) And wasn't it good of them to be "up front" with the possible nuisance?)

That's it!...

Remember: I was working with an old component. Maybe what I was having trouble with is no longer an issue. And in any case, the module is fine for many jobs. But if you, too, tried to play with the dots, I hope the above was at least consolation, if not "an answer".




   Search this site                 powered by FreeFind
 
Site Map    What's New    Search


Ad from page's editor: Yes.. I do enjoy compiling these things for you... hope they are helpful. However.. this doesn't pay my bills!!! If you find this stuff useful, (and you run an MS-DOS or Windows PC) please visit my freeware and shareware page, Sheepdog Software (tm), download something, and circulate it for me? At least (please) send an 'I liked the parallel port use page, and I'm from (country/ state)' email? (No... I don't do spam.) Links on your page to this page would also be appreciated!
Click here to visit editor's freeware, shareware page.

Don't forget to check out the programs for controlling the state of the parallel port at my shareware site. There are two free programs there... one for toggling bits, the other for using the computer as a timer via the parallel port.


Here is how you can contact this page's editor.
Click here for more Arduino specific material.
Click here to go up to general page about electronics by editor of this page.
Click here to go up to general page about electronic projects by editor of this page.
Why does this page have a script that loads a tiny graphic? I have my web traffic monitored for me by eXTReMe tracker. They offer a free tracker. If you want to try it, check out eXTReMe's site. The Google panels and the search panel are also script based.

Valid HTML 4.01 Transitional Page tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org


....... P a g e . . . E n d s .....