CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

16 segment code

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MAKInnovation



Joined: 16 Nov 2010
Posts: 61

View user's profile Send private message

16 segment code
PostPosted: Thu Jan 12, 2012 11:40 pm     Reply with quote

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
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Jan 13, 2012 6:56 am     Reply with quote

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 !
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

16 Segment displays
PostPosted: Fri Jan 13, 2012 8:25 am     Reply with quote

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
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Fri Jan 13, 2012 12:12 pm     Reply with quote

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.
MAKInnovation



Joined: 16 Nov 2010
Posts: 61

View user's profile Send private message

PostPosted: Fri Jan 13, 2012 11:27 pm     Reply with quote

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
temtronic



Joined: 01 Jul 2010
Posts: 9246
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Jan 14, 2012 6:55 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group