Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Projects


Electronic Projects A collection of small electronic circuits and projects you can build.

Reply
 
Tools
Old 28th December 2008, 03:10 PM   #46
Default

Hi Steve,

I prototyped this one chip Clock simply to verify the design. While it works well, the Charlieplexed display brightness is awful. You really should be able to figure out the small BOM from the schematic -- some 1N914 or 1N4148 diodes, three dual-digit non-multiplexed common anode 7 segment displays, seven NPN transistors (2N3904, 2N4401, etc.), four momentary contact push button switches, etc.

Regards, Mike
Mike, K8LH is offline  
Old 28th December 2008, 03:17 PM   #47
Default

Thanks Mike,

Any solution to the display brightness?
SteveyD is offline  
Old 28th December 2008, 03:57 PM   #48
Default

Yes. Use something better than this one chip novelty design (grin).

More later. Gotta run.
Mike, K8LH is offline  
Old 26th January 2009, 05:38 AM   #49
Default

Hi Mike(K8LH) whats the frequency you driving the speaker on RA1?

Are you using any built in Timer modules to that?
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 26th January 2009, 09:01 AM   #50
Default

Hi Gayan,

When the "beep task" is running it toggles the "speaker" pin during each 1 msec interrupt. Toggling the speaker at this 1 KHz rate produces a 500 Hz tone.

Code:
/********************************************************************
 *  interrupt service routine, 1 msec Timer 2 interrupts            *
 ********************************************************************/
Code:
 /*                                                                 *
  *  beep task produces a 500 Hz 'beep' with 1 msec interrupts      *
  *                                                                 */
  if(beepctr)                   // if beep task running
  { porta ^= 1 << spkr;         // toggle speaker pin
    beepctr--;                  // decrement msec counter
  }
Mike, K8LH is offline  
Old 26th January 2009, 09:23 AM   #51
Default

Thanks

Now only I saw it.1mS is a nice rounded value.To drive piezos it needs about 2-3khz to get a smooth sound.It can be easily make this frequency by your software nice work.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Reply

Tags
chip, clock, k8lh, novelty, single

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Single Chip BCD Clock Mike, K8LH Micro Controllers 4 3rd November 2008 05:00 AM
Drive 2 displays with a single 4511 chip? ghall426 Electronic Projects Design/Ideas/Reviews 1 18th December 2006 09:45 PM
Program a single modem chip without AT-Cmd? liupengjian Micro Controllers 0 26th July 2004 09:48 AM
About a suitable Single Chip CCD girishns Datasheet/Parts Requests 1 29th January 2004 03:42 PM
Single chip H-bridge Exo Datasheet/Parts Requests 4 24th November 2003 10:41 PM



All times are GMT. The time now is 04:14 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker