![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
hi,
i want to build a digital watch with micro and 7-Segment and DS1307. i have 12 segment for indicating hour, min, dat, mon, year and temperature. if i connect these segments to micro directly, i will have some problems with segments and indicating numbers and delay between each two segments, i think. witch buffer you can offer me, if buffer is better? thanks |
|
|
|
|
|
|
(permalink) |
|
no body can help me?!!!
i want to use 4 micros. for example i want to use Atmega8 for driving and latching each two segments (Atmega8_1 for Hour and Minute, Atmega8_2 for date and mounth, Atmega8_3 for year and temperature, Atmega8_4 for DS1308 and other micros). is it good idea? |
|
|
|
|
|
|
(permalink) |
|
I would not use the 1307, and instead soley build one with a micro controller.
A simple TMR2 routine to create a 1 second interrupt, and the PIC driven accurately from a 32.768Khz Crystal From there, when each second increments, simply update the required registers, eg, Code:
If Seconds = 60 Then
Seconds = 0
Inc(Minutes)
If Minutes = 60 Then
Minutes = 0
Inc(Hours)
.
.
.
.
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
|
|
|
|
|
|
(permalink) | |
|
Quote:
![]()
__________________
Superman returns..
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
no you are wrong. i want tp use that micro becuse that is inexpensive (about 1$). i want drive every 2 segments with 1 micro no one output pin. i can not multiplex 12 7-segment with one micro. becuse the quality of indicated numbers are very low. i fined better way for solving this problem. i fined 74HC573 is very better than micro. i will use that. |
||
|
|
|
|
|
(permalink) |
|
Hi,
What do you mean by the quality of indicated numbers are very low? Do you mean the intensity of the light? I've seen matrix LEDs with 160 columns, driving with single microcontroller and some shift registers, very bright. *EDIT: With some transistors too
__________________
Superman returns..
Last edited by bananasiong; 11th May 2008 at 12:44 PM. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| ADC connected to Digital Pot | prprog | Electronic Projects Design/Ideas/Reviews | 2 | 23rd April 2008 08:26 PM |
| The Oscilloscope | ElectroMaster | Electronic Theory | 12 | 3rd February 2008 01:45 PM |
| I hate Digital Electronics | Frosty_47 | General Electronics Chat | 23 | 11th August 2007 05:19 PM |
| Digital Troubleshooting and testing | walters | General Electronics Chat | 38 | 24th August 2005 08:20 AM |
| Digital watch | Nada | Electronic Projects Design/Ideas/Reviews | 3 | 30th April 2004 06:03 AM |