Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 19th December 2008, 05:40 PM   #1
Default Multiplexing 7 Segment Displays with PIC 16F627

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!)
alifred is offline  
Old 19th December 2008, 05:43 PM   #2
Default

Quote:
Originally Posted by alifred View Post
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
Use the Forum SEARCH for charlieplexing

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.
ericgibbs is offline  
Old 19th December 2008, 06:00 PM   #3
Default

Cheers,

I was searching with multiplexing not charlieplexing.

Thanks for such a quick reply

Fred
alifred is offline  
Old 21st January 2009, 02:02 PM   #4
Default help

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
bimalchandran is offline  
Old 21st January 2009, 03:24 PM   #5
Default

Quote:
Originally Posted by bimalchandran View Post
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
Start your own new thread for this topic.
__________________
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/
ericgibbs is offline  
Old 24th January 2009, 01:35 PM   #6
Default

Quote:
Originally Posted by ericgibbs View Post
Start your own new thread for this topic.
hi

I had found a circuit with 16f627 and time based clock codes.i need this thing with calendar can you help me to devolop it?

Bimal
bimalchandran is offline  
Old 24th January 2009, 01:48 PM   #7
Default

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.
vinoth is offline  
Old 27th January 2009, 01:43 PM   #8
Default thanks

thankyou sir.
I willl try to impliment this..and let you know .
bimalchandran is offline  
Reply

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



All times are GMT. The time now is 12:49 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker