Simple score board with PIC16F690 & 7 segment display

September 22nd, 2009 by Dragos Leave a reply »

This is the full schematics (kind of simple)

PIC16F690 score board schematics

You can download here the full source code (assembler) and schematics.

Regarding the asm code. You will see that i don’t use a table for getting the “encoding” of the digits. This is because the compiler crashes (yes, crashes) when i write the code to the PIC. if you want this code just ask for it and you could use it in your project. If it works on yours then you can replace about 100 lines of code with just 15.

Have fun with your build and if you have any problems let me know.

In the end here is a short video if the board (it’s not my hand in the video)

VN:F [1.9.22_1171]
Rating: 6.9/10 (15 votes cast)
Simple score board with PIC16F690 & 7 segment display, 6.9 out of 10 based on 15 ratings
Advertisement

10 comments

  1. mark shelbourne says:

    please could you let me knowif you have a .hex for this project i cannot get the asm file to build … thanks for your help in this great project

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  2. Dragos says:

    I added the hex file to the archive. please download again.
    What errors did you got when compiling ?

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  3. Chris Hurd says:

    This is the answer I have been looking for! I know little about PICs, but this will head me in the right direction.

    One thing though… I would like to be able to score up to 99 to 99.
    Would you be willing to help me do this?

    I am a teacher in upstate NY.

    Thanks!

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Dragos says:

      I can help you out. What do you need to know ? With what exactly do you need help with ? First you will have to replace the two 7 segment display with a double one. Also you will need to change the code. There are a lot of changes to be made to the code but the principle remains the same. You have to show each digit at a time, the same as with only 2 digits.

      VN:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  4. newbie999 says:

    draggo,

    I would like to have a look at your codes too.

    How I I get to the archive here for your codes? I am new here.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  5. Dragos says:

    the download link is on the second page of this post.
    just for short, you can download it here:
    http://www.protung.ro/wp-content/plugins/download-monitor/download.php?id=5

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: +2 (from 2 votes)
  6. newbie999 says:

    I got it. Thanks

    i am not so good at electronics, but I love to learn.

    by looking at your schematic, hmm

    I do not really understand one thing.

    r3 and r4 are pull down resistors right?
    when either button is pressed, it gives a “1” but your 7 segment displays are common cathode type

    how come the cathode pins are not connected directly to the ground?

    Thanks

    Ps: by the way i have started learning assembly 2 weeks ago lol It will take me long to figure out the codes you wrote

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  7. Dragos says:

    I think i made a mistake in the schematics, the T1 and T2 have the collector and emitter reversed.
    I’m not a big-shot in electronics either, this was just a project i made so i would start to relearn it.
    I will dedicate some time to electronics again next year when i have time again for electronics, but i will try to help you out if i can.

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  8. newbie999 says:

    Cool, pal.

    Keep up the good work!

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  9. newbie999 says:

    DRagos,

    by the way, would you kindly fix your shematic in your spare time and repost it on here, please?

    I would like to see the correct circuit.

    Thank you so much!

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.22_1171]
    Rating: +1 (from 1 vote)