![]() | ![]() | ![]() |
| |||||||
| Electronic Projects A collection of small electronic circuits and projects you can build. |
![]() |
| | Tools |
| | #46 |
|
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 | |
| |
| | #47 |
|
Thanks Mike, Any solution to the display brightness? | |
| |
| | #48 |
|
Yes. Use something better than this one chip novelty design (grin). More later. Gotta run. | |
| |
| | #49 |
|
Hi Mike(K8LH) whats the frequency you driving the speaker on RA1? Are you using any built in Timer modules to that? | |
| |
| | #50 |
|
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
}
| |
| |
| | #51 |
|
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. | |
| |
|
| 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 |