![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
Hi, I have a PIC 16F627, and I want to make a digital clock with it. The only problem I have is that I only have enough outputs for one 7-seg display unless I multiplex them. Can someone please point me in the right direction of multiplexing 6 common cathode 7-seg displays (to show hours, minutes, and seconds). Thanks to everyone in advance! Cheers Fred Last edited by alifred; 19th December 2008 at 05:41 PM. Reason: Bad grammar! (My mum would me cross!) | |
| |
| | #2 | |
| Quote:
See Pommies drawing here: charlieplexing max per pin
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 19th December 2008 at 05:45 PM. | ||
| |
| | #3 |
|
Cheers, I was searching with multiplexing not charlieplexing. Thanks for such a quick reply Fred | |
| |
| | #4 |
|
Hi, I have a PIC 16F627 with 32.768khz cristal, and I want to make a digital clock with date and time .I have 7-seg display with cd4543 drivers. Can any one help me to write codes for this pic.I dont have any experiance writing codes.so please help me.. Yours Bimal | |
| |
| | #5 | |
| Quote:
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #6 |
| | |
| |
| | #7 |
|
One simple thing. Just take 8 pin for displaying and connect this to all the six seven segment display and take 6 for controlling displaying. Connect first controlling input to first seven segment displays Vcc(Through transistor) and second contorl pin to second seven seg's Vcc and so on. program will be similar to. #bit c1=0x05.0 #bit c2=0x05.0 #bit c3=0x05.0 #bit c4=0x05.0 #bit c5=0x05.0 #bit c6=0x05.0 #byte val=0x06 c1=1; c2=0; c3=0; c4=0; c5=0; c6=0; val=disp1; delay_ms(20);//20 ms delay c1=0; c2=1; c3=0; c4=0; c5=0; c6=0; val=disp2; delay_ms(20);//20 ms delay //so on for all digit. | |
| |
| | #8 |
|
thankyou sir. I willl try to impliment this..and let you know . | |
| |
|
| Tags |
| displays, multiplexing, pic, segment |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Multiplexing 7 segment displays using AVR | justin_t | AVR | 2 | 25th June 2008 04:23 PM |
| multiplexing two 7 segment displays | rebirth of sands | Electronic Projects Design/Ideas/Reviews | 10 | 6th January 2008 10:11 AM |
| multiple 7-segment displays | ico2 | Electronic Projects Design/Ideas/Reviews | 31 | 20th February 2007 05:05 PM |
| Advice on multiplexing ten 7-segment display | taengi | General Electronics Chat | 60 | 18th April 2006 11:45 PM |
| What LED 7 segment displays to buy | kennydow241 | General Electronics Chat | 3 | 24th May 2005 02:25 AM |