Circuit diagram |
The project shows what can be done with a micro and you can modify it to set an alarm at any count-value or set a limit such as 'count-to-60'. You can add a buzzer or relay or increase the display to 3 digits. You need to remember that each additional display will reduce the illumination of each digit as they are 'multiplexed (time-sharing)'. Full circuit diagram including programming socket.
The displays do not affect the 'In Circuit Programming' as they are not active when programming and do not load the outputs. Any 7-Segment displays will work in this circuit. You need to identify the pin-out of any display you use. (Common Anode displays can be used providing you invert the values in the display table. A PNP transistor will need to be used.)
Testing the circuit
Check the circuit by removing the chip and taking pins 6 and 18 to the 5v rail ad make sure segment 'A' illuminates. Do the same for all the other segments.The circuit diagram does not have any voltages marked on it as the circuit is DIGITAL.All the 'lines' or 'wires' or pins of a micro-controller will have rail voltage (5v) on them when they are HIGH and when you come to a resistor, the resistor will drop a certain voltage. The voltage it will drop will be the difference between rail voltage and the voltage developed across the component it is driving. If it is driving a LED, the LED will drop a characteristic voltage of between 1.7v and 3.6v, depending on the color. If the component is a transistor, the voltage developed between the base and emitter will be about 0.7v.Use Micro C For Compile.
pin-out |
PIC16F84A Datasheet
pin-out |
friends
ReplyDeleteIt works the same with 16f628
I not sure, but i think it will work.
DeleteDoes not work none of the 2 time does but the coding of the display codes is any you do not see numbers just extraterrestrial counts
ReplyDeleteIt is working. Simulate Proteus file. you can see it.
DeleteWhich version of Proteus are you using. Is it Proteus 7 or Proteus 8
ReplyDeleteI think Proteus 7, because this is old project
DeleteI'm looking for up and down counter using three 7-segment, instead of two. Something that can count up to 900. I need your help.
Deletehttps://scopionz.blogspot.com/2014/04/4-digit-ssd-up-counter-pic16f628a.html
Deletethere is no .hex file inside the zip file. please provide the .hex file, or how to convert them to hex file????
ReplyDeletehttp://www.mediafire.com/file/54us3ml70lsmoh6/counter.zip/file
Deletehttp://www.mediafire.com/file/28f86074dika88s/Timer_%2526_Counter.zip/file
http://www.mediafire.com/?dszhgbzkd42z7oj
sir plz help me this project
ReplyDeleteDesign a system having four users and a host Host will ask a question and a timer f 15 sec will get start. All the users will have a buzzer button to reply to that question. The moment any first user reply, counter will stop, and no other user can reply. A 7-segment display will show the i user number and a green led will gets on. If counter overflows and users failed to reply in the allocated duration, a red light will glow with a buzzer,
ReplyDelete