![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Gayan, nice video. | |
| |
| | (permalink) |
| No, not the real clock, but dual counter. User set the time and then start counting, both are working independently.
__________________ Superman returns.. | |
| |
| | (permalink) |
| Hi, I have done the dual counter, and the result is expected but I need more time to test it. I don't know why it didn't work previously. I have checked and checked the program, there shouldn't be problem. Just now I deleted all the hex file and recompiled again and load the same program into the PIC again, it worked Does anyone know how to increase the brightness of the multiplexed 7-segment displays? Can I ignore the collector resistor since there is already base transistor to control the current flow through the collector. I have almost done my PCB and found that there are 2 extra IO pins. If I need a ground and don't want to route for so long, can I just use the extra pins to make ground (0)? Thanks
__________________ Superman returns.. | |
| |
| | (permalink) | |
| Quote:
If you want to increase the brightness use PNP transistors to feed the segments, with lower value current limiting resistors (modifying the program accordingly). Currently the brightness is limited by what current the PIC can provide. | ||
| |
| | (permalink) |
| Yes I'm using the PNP transistors. I thought the collector resistor is to limit the Ic max? As long as the Ic is below Ic max, Ic is controlled by the base current isn't it?
__________________ Superman returns.. | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| You could also use a ULN2003 (or ULN2803) sinking driver IC instead of seven NPN transistors. Last edited by Mike, K8LH; 22nd March 2007 at 06:03 PM. | |
| |
| | (permalink) |
| Okay, luckily I didn't remove the resistors. Can I know what is Code protection (CP & CPD) for the fuse setting? And what's about Power up timer reset? I've read the datasheet of 16F877A, it shows that there are 15 interrupts, what's the purpose for having more than one interrupt? How does it work?
__________________ Superman returns.. | |
| |
| | (permalink) | |
| Quote:
__________________ Superman returns.. | ||
| |
| | (permalink) |
| I was supplementing Nigel's suggestion of using NPN segment driver transistors to improve overall display brightness. | |
| |
| | (permalink) |
| Use PNP as 7-segment display selection and NPN for the patterns right? I think I will just reduce the resistance of the collector, because the PCB space is limited.
__________________ Superman returns.. | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) | |
| Quote:
It is up to user to test for what type of interrupt are requested and then branch to the correct service routine inside the interrupt handler. In case of AVR, the interrupt is vectored, so different request would jump to different fixed address locations in which user can place the correct jump address for the required handler.
__________________ L.Chung | ||
| |
| | (permalink) |
| Yes, I know that only 25 mA for every pin, sinking and sourcing. Thanks
__________________ Superman returns.. | |
| |
| | (permalink) |
| My 2 bob on this thread, given its already evolved quite far, use the UL2003 and Common Cathode 7-Segment displays. This way you can ditch the resistors on the base of each transistor and directly control the switching via the ULN2003, reducing external components from 8 to 1 for your multiplexing. The ULN2003 acts like an "earth" switch, eg, a high on the input from the PIC will switch the output to earth This is great for devices that use up to 500mA!
__________________ Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| How we can do it in Assembly..Help Needed | Ayne | Micro Controllers | 37 | 29th December 2006 06:49 PM |
| dual decade ripple counter | baftab | Datasheet/Parts Requests | 1 | 30th September 2006 01:57 PM |
| Dual Beam People Counter Problem........ | fingers | Electronic Projects Design/Ideas/Reviews | 7 | 21st September 2004 01:02 PM |
| Crude assembly counter | Mark Lazarides | Micro Controllers | 5 | 28th February 2004 08:22 PM |
| Query about 4518 Dual 4 bit counter | andipi | General Electronics Chat | 2 | 12th October 2003 11:04 PM |