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

Flexible 7-segment Driver (SSD)

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



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

Flexible 7-segment Driver (SSD)
PostPosted: Wed Sep 18, 2013 4:56 pm     Reply with quote

Anybody can provide here Flexible 7-segment display driver (SSD) ?
Like provided other Flexible driver in Code Library.
_________________
sahu
Mike Walne



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

View user's profile Send private message

PostPosted: Sun Sep 22, 2013 8:46 am     Reply with quote

I believe there are too many variants on SSD 7-segment displays for this to be feasible.

This looks like yet another rehash of one of your previous posts.

Simply tell us what kind of display you're wanting to drive and maybe someone here will try to help.

Mike
temtronic



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

View user's profile Send private message

PostPosted: Mon Sep 23, 2013 6:41 pm     Reply with quote

Hmmm there's only TWO variations of seven segment displays that I know of, IF he's talking about LED types....

1) common anode

2) common cathode

Now if the OP needs MULTIPLE digits..that's another story(he doesn't say), though a 'flexSSD' driver that allowed multiple digits of either, both or mixed types could be useful, and mildly challenging.

hth
jay
sahu77



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

PostPosted: Wed Oct 02, 2013 11:01 am     Reply with quote

temtronic wrote:
Hmmm there's only TWO variations of seven segment displays that I know of, IF he's talking about LED types....

1) common anode

2) common cathode

Now if the OP needs MULTIPLE digits..that's another story(he doesn't say), though a 'flexSSD' driver that allowed multiple digits of either, both or mixed types could be useful, and mildly challenging.

hth
jay

yes , there has only two type only .
1- CA (common anode) type
2- CC (common cathode) type
mostly they used 3 digit 7 SSD (seven segment display).
its may possible ?
_________________
sahu
temtronic



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

View user's profile Send private message

PostPosted: Wed Oct 02, 2013 7:07 pm     Reply with quote

From a design 'concept', yes, a 'flex' type driver for a 3 digit 7segment LED display is possible. However, from the practical side, it's more trouble than it's worth.
A designer will choose components, like PIC and LED display, cut code based on PIC pin usage, board layout, perhaps connectors, etc.
Time is money, so to get a product to market, you need to decide early what is required and 'get it done'.
To create a 'flex7SSD' driver would be 'something to do on a rainy day instead of playing video games'.

hth
jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19513

View user's profile Send private message

PostPosted: Thu Oct 03, 2013 7:05 am     Reply with quote

Agreed.

Key to understand is that the core 'driver' is so simple there is nothing to write. All you are doing is putting the required pattern out on the lines controlling the segments, turning on the first digit, then repeating. The lookup tables for the patterns needed have been published many times. The core driver is just a couple of lines. EX_LED.C does exactly this for two digits.

Where it gets 'complex', is first doing the timing in a way to not interfere with other things. The implementation of this will depend totally on what else the system is doing. If there is some nice tick interrupt being used for other things, then this is what should be used, otherwise the implementation will depend on what other timers are being used (CTC, PWM etc.), so becomes 'device specific'.

Then most systems will probably not want to use this many pins, so things like output multiplexor chips will be used, and the complexity comes in driving these, not the display as such. Even for simple use, chips like the 14511, take over the driving of the segments, and make fiddling around with seven lines pointless.

I actually can't imagine that anyone would waste the pins to drive a multi digit 7segment LED directly these days. Something like the MAX7219, will drive up to eight digits, and get rid of the need for all the driver transistors, using just a three PIC pins....

Best Wishes
sahu77



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

PostPosted: Thu Oct 03, 2013 11:42 am     Reply with quote

I think I'm kidding here as per your comments ?
_________________
sahu
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