I managed to cheat the program by compiling it while using differend PIC in flowcode. Then i transfered the asm file to mbLab and build the code for PIC16F628.
About the 7-segs not being bright. It was because the bufferes i had in my circuit didnt provide enough current.
Im now looking for right non-inverting hex buffer for my 7-segs.
7-segment specs:
One segment takes 50mA
Requires 9 volts to work
Anyone knows good transistor or non-inverting hex buffer for me, wich would suit with my displays
24 hour clock with 4digit 7-seg display
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 24 hour clock with 4digit 7-seg display
Hello Keke
You should be able to drive the 7-segs from a 5V supply. Maybe looking at our schematic for the 7-Segment E-Block would help you to select the correct components. You can find this in the E-Block Support Area.
You should be able to drive the 7-segs from a 5V supply. Maybe looking at our schematic for the 7-Segment E-Block would help you to select the correct components. You can find this in the E-Block Support Area.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: 24 hour clock with 4digit 7-seg display
Mmm.. i actualy tried at wich voltage the displays start to show anything... and its 7-9v. At 7v it isnt very bright and at 9v its at its maximum brightness.
At 5 volts it doesnt show anything
edit: i need to build current sink to my circuit to pull enough current from my power supply. Anyone knows how to do that?
At 5 volts it doesnt show anything
edit: i need to build current sink to my circuit to pull enough current from my power supply. Anyone knows how to do that?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: 24 hour clock with 4digit 7-seg display
Hello Keke
Ok it sounds like your 7-segs are fairly high power then. I use NPN TIP transistors quite a lot for boosting current / voltage, They tend to be fairly cheap. Most NPN power transistors should be up for the job. However I have also used 5V buffer chips before too.
Ok it sounds like your 7-segs are fairly high power then. I use NPN TIP transistors quite a lot for boosting current / voltage, They tend to be fairly cheap. Most NPN power transistors should be up for the job. However I have also used 5V buffer chips before too.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel