+ Post New Thread
Results 1 to 13 of 13
  1. #1
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Help me create my score board

    Hi guys,
    I'm doing a simple scoreboard wherein the user is allowed to increment or decrement the scores. The board should be three digit seven segment LED. I'm having trouble in cascading the data. Please see attached image for reference

    Click image for larger version. 

Name:	psend.png 
Views:	28 
Size:	165.7 KB 
ID:	97501

  2. #2
    Full Member level 6
    Points: 2,768, Level: 12
    Ogu Reginald's Avatar
    Join Date
    Oct 2011
    Location
    Nigeria
    Posts
    369
    Helped
    45 / 45
    Points
    2,768
    Level
    12

    Re: Help me create my score board

    Have you tried using only one segment display before trying to cascade?
    With friends like you helping me just as you are doing, surely I will be a Professor of Electrical/Electronic Engineering.



    •   Alt20th October 2013, 16:33

      advertising

        
       

  3. #3
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Re: Help me create my score board

    Yes, I first test it using single digit and it worked.



  4. #4
    Full Member level 4
    Points: 2,585, Level: 11
    Achievements:
    7 years registered
    nagkiller's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    218
    Helped
    37 / 37
    Points
    2,585
    Level
    11

    Re: Help me create my score board

    Maybe this example can help you!!!

    Click image for larger version. 

Name:	7seg.jpg 
Views:	15 
Size:	67.1 KB 
ID:	97506 < - Added

    Its use PIC12F629, CCS compiler 5.012 and Proteus 7.10!!!

    But schematic for cascade 2 7Seg in one CD4511.

    Sorry for bad english
    Last edited by nagkiller; 20th October 2013 at 17:28.



    •   Alt20th October 2013, 17:06

      advertising

        
       

  5. #5
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Re: Help me create my score board

    thanks. I will try it.

    - - - Updated - - -

    oh my! my software is much updated than with it

    - - - Updated - - -

    It still doesn't work... :(
    Last edited by marieclein_08; 20th October 2013 at 17:42.



    •   Alt20th October 2013, 17:42

      advertising

        
       

  6. #6
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    826 / 826
    Points
    23,048
    Level
    36

    Re: Help me create my score board

    I will write a code for you. I need 2 days time. In Proteus don't use 7 Segment without decimal point. They have some timing problems and they flicker. Use the 7 Segments with decimal point. Leave the dp pin unconnected. It will be helpful if you zip and post the Proteus file. I will modify it. I simply don't have time to draw the whole circuit.

    What is the purpose of using 7447 and 7 Segment? You are providing BCD data. You can use 7 segment BCD displays.

    Use 7 Segment BCD displays and eliminate 7447. Multiplex the 4 BCD data lines.
    Last edited by jayanth.devarayanadurga; 20th October 2013 at 21:17.



  7. #7
    Full Member level 6
    Points: 2,768, Level: 12
    Ogu Reginald's Avatar
    Join Date
    Oct 2011
    Location
    Nigeria
    Posts
    369
    Helped
    45 / 45
    Points
    2,768
    Level
    12

    Re: Help me create my score board

    Quote Originally Posted by marieclein_08 View Post
    Yes, I first test it using single digit and it worked.

    I looked at your diagram only to discover that two switches/buttons are doing the same task. Please check the diagram once more.
    With friends like you helping me just as you are doing, surely I will be a Professor of Electrical/Electronic Engineering.



  8. #8
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Re: Help me create my score board

    Hi Reginald,

    Those button have different function. The one that is connected to P3.0 is for increment whereas P3.1 is for decrement. AT89c2051 microcontroller controls the counting of numbers and send it to 7447. It has program inside that do the counting.



  9. #9
    Full Member level 6
    Points: 2,768, Level: 12
    Ogu Reginald's Avatar
    Join Date
    Oct 2011
    Location
    Nigeria
    Posts
    369
    Helped
    45 / 45
    Points
    2,768
    Level
    12

    Re: Help me create my score board

    Quote Originally Posted by marieclein_08 View Post
    Hi Reginald,

    Those button have different function. The one that is connected to P3.0 is for increment whereas P3.1 is for decrement. AT89c2051 microcontroller controls the counting of numbers and send it to 7447. It has program inside that do the counting.

    Please forgive me if I am making a mistake, from you diagram I am seeing three switches (one is seperate while two are almost in parallel). Check well and get back to me.
    With friends like you helping me just as you are doing, surely I will be a Professor of Electrical/Electronic Engineering.



  10. #10
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    826 / 826
    Points
    23,048
    Level
    36

    Re: Help me create my score board

    Your circuit is totally wrong. The 2 switches connected to P3.0 and P3.3 are incorrect. Both sides of the switches are connected to ground, so the pins will be always low.



  11. #11
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Re: Help me create my score board

    hi guys,

    For your reference please see attached file.

    - - - Updated - - -

    Hi jayanth,

    I am very greatful for your help and it would be appreciated if you will still help me on this.

    With your comment in the 2 switches, it wont get low since I used a common anode LED in it. The 2 switches run smoothly.


    Actually, in reality, I am doing a set of LEDs here and not seven segment. But I used the technology of seven segment here so it would be easy for me to program or re-program the micro-controller. The microcontroller is responsible for animating the LEDs here. It's just that I'm having problem with cascading the numbers whenever 0 is reached. This must be like a real scoreboard. Your help is much need here. Thanks in advance.



  12. #12
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    826 / 826
    Points
    23,048
    Level
    36

    Re: Help me create my score board

    Try the attached file. If any modifications are needed then mention it.

    Edit: Updated file posted.

    Mention to which pins the buttons are connected and what the buttons do. I will add code for it. Also mention if button press results in MCU pin high or low.

    Edit: If you Multiplex digits then you need 1 7447 and 1 ULN2803. If you don't then you need 3 X 7447 and 4 + 4 + 4 pins at MCU to interface 3 X 7447.
    Last edited by jayanth.devarayanadurga; 21st October 2013 at 22:09.



    •   Alt21st October 2013, 08:28

      advertising

        
       

  13. #13
    Newbie level 5
    Points: 123, Level: 1

    Join Date
    Oct 2013
    Posts
    8
    Helped
    0 / 0
    Points
    123
    Level
    1

    Re: Help me create my score board

    Hi Guys,

    I already did and successfully completed this project of mine and ready for market now. It's really releaving and feeling success for this achievement. But I can't do all of this without your help.


    Thank you for all the help you extended in doing this project especially to jayanth. I am very greatful to all the help you've given.

    I attached the schematics so you may use it, too.

    Thanks, thanks


    marie here :)



--[[ ]]--