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

14mm 7seg_cc 6 digit

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



Joined: 13 Jul 2017
Posts: 135
Location: IZMIR

View user's profile Send private message Send e-mail

14mm 7seg_cc 6 digit
PostPosted: Fri Nov 15, 2019 2:27 pm     Reply with quote

How to drive 14mm 7 segment 6 digit display Do you have a sample that works?
I tried to drive with udn2981A and uln2003A not working properly.
_________________
Es
PrinceNai



Joined: 31 Oct 2016
Posts: 480
Location: Montenegro

View user's profile Send private message

PostPosted: Fri Nov 15, 2019 3:28 pm     Reply with quote

It's very interesting to read this kind of questions. You ask a question without giving any info that would help anyone to at least try to help you. What display? What PIC? What doesn't work? What have you tried (with code)? It would be easier to answer on how could you get to the Moon. With a rocket, or if you happen to know Scotty, he could beam you there.
temtronic



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

View user's profile Send private message

PostPosted: Fri Nov 15, 2019 3:44 pm     Reply with quote

you need to search 'how to multiplex 6 digit LED display' or something similar.
There's a blue 'search' button above this window.
Several people have done this.
The 'trick' is that the overall 'scan' time has to be faster than about 50Hz. You also need to calculate the correct load resistor. lower=brighter dispaly, higher = dim display.

The overall sequence is to load (send) the segment data (abcdefg) for the 1st digit,then enable that digit driver, pause a bit, then load the segment data for the 2nd digit, enable the 2nd digit driver, pause a bit,....repeat for all 6 digits.
If the scan time is fast enough, your eyes will see all 6 digits appear smoothly.

Jay
PrinceNai



Joined: 31 Oct 2016
Posts: 480
Location: Montenegro

View user's profile Send private message

PostPosted: Fri Nov 15, 2019 3:56 pm     Reply with quote

Just as I said. People here ARE TRYING TO HELP. But without a specific question, no specific answer. Microchip has an appnote on multiplexing 7-segment displays. Coded in assembler, true. But they give plenty of info on how and why.
temtronic



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

View user's profile Send private message

PostPosted: Sat Nov 16, 2019 8:08 am     Reply with quote

https://www.google.com/search?source=hp&ei=DALQXa-FJ-_B_Qb7mbm4DA&q=pic+ccs+c+code+multipex+display&oq=pic+ccs+c+code+multipex+display&gs_l=psy-ab.3..33i160.1814.9627..10069...0.0..0.189.3775.10j21......0....1..gws-wiz.......0i131j0j0i10j0i22i30j33i22i29i30j33i21j33i13i21j33i10j33i10i160.2c8IwlznXdQ&ved=0ahUKEwivu5Wa8-7lAhXvYN8KHftMDscQ4dUDCAc&uact=5
over 1 MILLION hits....
several are HERE !!

Jay
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