How do you get a seven segment display to countdown

Discussion in 'Homework Help' started by Arjan Purewal, Apr 29, 2016.

  1. Arjan Purewal

    Thread Starter New Member

    Apr 29, 2016
    3
    0
    Hi,

    I am using circuit wizard 3 to create a circuit that uses a seven segment display to countdown from 9-0 using an E18 pic. I am able to draw the circuit but I am having problems creating the flowchart so that the seven segment display counts down.

    I have thought of ways to do it but they include using a lot of commands. So I am looking for a better way to do it.

    Thank You in advance

    See below the circuit diagram for the seven segment display.
    upload_2016-4-29_18-39-15.png
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,144
    1,790
    A 7-segment display won't count up or down by itself. You have to connect it to a counter and a decoder. I have no idea what a GENIE18 chip is or is supposed to do.
     
  3. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,392
    497
    Where is da clock bro?
     
  4. Arjan Purewal

    Thread Starter New Member

    Apr 29, 2016
    3
    0
    A GENIE 18 chip is a micro controller.You programme the micro controller to do what ever you want the output to do. The programming part is done by using a flowchart, which I can do but want to know if it can be done better.
     
  5. Arjan Purewal

    Thread Starter New Member

    Apr 29, 2016
    3
    0
    clock?
     
  6. Papabravo

    Expert

    Feb 24, 2006
    10,144
    1,790
    Isn't it kind of wasteful to use 3 microcontrollers for two digits?
     
  7. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,057
    3,818

    If this is how the next generation of designers are designing, I'm buying stock in microcontroller manufacturers.
     
    JoeJester and #12 like this.
  8. #12

    Expert

    Nov 30, 2010
    16,298
    6,808
    The clock is SW3.
     
  9. #12

    Expert

    Nov 30, 2010
    16,298
    6,808
    I've been working on my latest car for 6 months and I just found another microprocessor yesterday.:D
     
    GopherT likes this.
  10. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,392
    497
    You know... its time to turn the thing into a space shuttle. Stick it on the rocket and put a shell around it.
     
  11. WBahn

    Moderator

    Mar 31, 2012
    17,747
    4,796
    As near as I can tell, SW3 is the reset pin and can't be used as the MCU's clock.

    I appears that the "Genie 18" is a PIC16F88 MCU that is running some canned code that acts as a platform for running specially-formatted user code -- it appears to be essentially an emulator. I can't find very much substantive documentation about the emulator itself because, it appears, the whole idea is that it is a pretty abstract platform that the user interacts with only via flowcharts using special purpose software that are then compiled along with the emulator code and downloaded into the chip.

    http://www.rapidonline.com/pdf/13-6004.pdf

    My guess is that the chip is configured to run using the internal 8 MHz oscillator.
     
  12. Papabravo

    Expert

    Feb 24, 2006
    10,144
    1,790
    Kudos to you. You're a more intrepid detective than I was motivated to be. I used to think making a processor blink an LED for the first time made it the world's most expensive LED blinker. I yield the crown to this monstrosity assuming the TS can get it to work.
     
  13. WBahn

    Moderator

    Mar 31, 2012
    17,747
    4,796
    I have very mixed opinions on these kinds of platforms. They certainly have the potential to introduce people to electronics and programming that otherwise might never dip their toes in those waters, but they also tend to make many of those same people think that they know far more about electronics and programming when they actually know very little. The same could certainly be said about the venerable N-in-1 electronics kits of our youth, but I think it can be argued that those kinds of kits left the person with a more realistic impression of how much (and how little) they actually knew and laid out a reasonably obvious path for where to go from there if they had the interest. I know that was the case for me. I think platforms like these generally don't do a good job of showing that path -- which might simply reflect how little most people using these platforms care about exploring such a path.
     
  14. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,057
    3,818
    We just have to accept that today, all kids are above average.
     
  15. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,373
    1,159
    That is what every generation thinks ... till they get older, or is that wiser. :)

    Tools, in this case the genie 18, doesn't make one smarter. I've heard the "smarter" argument lots of times over the past two decades but those arguing always seems to talk about the tools of their trade and not the human development.
     
  16. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,057
    3,818
    The math doesn't work and in recent years, the older generation fears that the younger generation is lazier and dumber, therefore, it must have been sarcasm.
     
  17. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,373
    1,159
    The problem is the generation in question would agree with your assessment and not recognize the sarcasm. Of course, I would have recommend they read Darrell Huff's book

    [​IMG]
     
    GopherT likes this.
Loading...