View previous topic :: View next topic |
Author |
Message |
MAKInnovation
Joined: 16 Nov 2010 Posts: 61
|
16 segment code |
Posted: Thu Jan 12, 2012 11:40 pm |
|
|
I want to drive 16 segment for complete ABC display.
How could i easily do it with PIC16F877A.
Need your helping code for an ease.
Ash |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Fri Jan 13, 2012 6:56 am |
|
|
You really need to supply us with more information ! What type of display( mfr/make/infosheet).
The simplest '16 segment display' that I've done was an LED version(hmm..might have been 14, no matter)...and used Ports B and D to control the anodes of the LEDs through 499r resistors.Once the translation table of 'character' to port/bits was created the rest of the code took maybe an hour or so.
There's also LCD displays....they take more time, so that's why you have to give us more info ! |
|
![](templates/subSilver/images/spacer.gif) |
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
|
16 Segment displays |
Posted: Fri Jan 13, 2012 8:25 am |
|
|
Also number of digits and maybe reason for choice of display.
Is it a cost sensitive application?
Or do you simply happen to have a display that you want to use for a project and don't want to throw away?
Mike |
|
![](templates/subSilver/images/spacer.gif) |
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Fri Jan 13, 2012 12:12 pm |
|
|
Quote: | How could i easily do it with PIC16F877A. |
Really the REST of your application will answer that
If you have the whole D port free - you could easily run an LCD 2X16 2x20 or 4x16 or 4x20 display at very very low power and with the flex_lcd driver.
Not have to do much work either. |
|
![](templates/subSilver/images/spacer.gif) |
MAKInnovation
Joined: 16 Nov 2010 Posts: 61
|
|
Posted: Fri Jan 13, 2012 11:27 pm |
|
|
Temtronic is right
"
The simplest '16 segment display' that I've done was an LED version(hmm..might have been 14, no matter)...and used Ports B and D to control the anodes of the LEDs through 499r resistors.Once the translation table of 'character' to port/bits was created the rest of the code took maybe an hour or so."
I am thinking to display my alphabatic DATA on 16 segment rather then on alphanumeric LCD 16X2 or 20X2 etc.
This is only because of the visibility of DATA from distance.
Or I need your suggestion to choice any other type of display for this purpose.
Ash |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9174 Location: Greensville,Ontario
|
|
Posted: Sat Jan 14, 2012 6:55 am |
|
|
Depends on viewing distance. I've used strings of white 'rope' lights for large 7 segment displays as well as 2' and 4' long flourescent tubes as 'segments'of a BIG clock.
Start out small with a test using LEDs.
Once the code is cut for the 'local' LED it was simple to add the power driver circuitry to lightup the big display units. |
|
![](templates/subSilver/images/spacer.gif) |
|