1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Please help me with my project. Our defense is in two weeks from now. :(

Discussion in 'Homework Help' started by Velvet, Nov 25, 2017.

  1. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    Our professor made us do an electronic digital roulette like the ones you play in the casino. He said we need to create something that is exactly like it, like having an output random number from 0 to 36. In addition to that 0 to 36 output, the numbers on a roulette wheel is either black or red, so he said that we need to include it in our circuit. so in our project, it is needed that if we have a certain output that displays in the seven segment, an led should also light up(either black or red). Please help me. I'm trying to make a diagram but it turns out to be a counter :((

    the requirement also is to have at least 7 distinct ics. do you guys know something that we could make for us to meet that requirement? because if you have, i'll try to talk to my professor if we could change our project
     
    Last edited: Nov 26, 2017
  2. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,139
    Likes:
    566
    Location:
    AZ 86334
    When I assigned thesis projects to students, they had a whole quarter (ne semester) to do the research, design something, build something, write it up in the form of a formal paper, demonstrate its operation, and present a defense. How come you are less than two weeks from the end, and are just now starting something?

    If your device is going to be based on a counter, ask yourself:

    1. What events does the counter count? What is the source of those events? Is the time between events regular or random?

    2. What determines how long the counter counts before stopping and displaying a result? Is the counting period fixed length or random?
     
  3. AnalogKid

    AnalogKid Well-Known Member

    Joined:
    Sep 22, 2011
    Messages:
    1,138
    Likes:
    161
    Location:
    Ohio - GMT-5
    For the red/black decoding logic, start with a table of the red and black numbers and look for a pattern.

    ak
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. jpanhalt

    jpanhalt Well-Known Member Most Helpful Member

    Joined:
    Jun 21, 2006
    Messages:
    6,074
    Likes:
    524
    Location:
    Cleveland, OH, USA
    ONLINE

    I guess this is one instance where location is important. The American roulette table is laid out differently (36 # plus 0 and 00 in green). At least that was how it was on my last trip to Vegas.
     
  6. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,373
    Likes:
    974
    Location:
    Loveland, CO USA
    Start out very simple.
    Send us a picture of the machine you want to make. "electronic digital roulette"
    upload_2017-11-25_8-9-21.jpeg
    like this??? different?
     
  7. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,373
    Likes:
    974
    Location:
    Loveland, CO USA
  8. AnalogKid

    AnalogKid Well-Known Member

    Joined:
    Sep 22, 2011
    Messages:
    1,138
    Likes:
    161
    Location:
    Ohio - GMT-5
    Post #6 is more of a "Wheel Of Fortune" circuit, with the steadily decreasing clock freq. A real roulette wheel is spinning at around 50% of its initial speed when the ball finally settles.

    ak
     
  9. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,373
    Likes:
    974
    Location:
    Loveland, CO USA
    If Velvet made anything like the three projects I found, he would get a good grade. I don't think a student can do it in two weeks.
    One person can make it, but 4 students (working together) can not.
    If you must go to class, take tests, work, eat, sleep and make the "digital roulette", all at the same time, it is not happening.
     
  10. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    ----------
    we only have 11 weeks in one term (our school is quarter term) and its 9th week this week and the defense schedule isonthe 9th up to 10th week. so this subject is the laboratory, and it has a co-requisite subject which is the lecture. so we cannot make it in the earlier weeks because we really have no idea how to do it (until now) cause the lecture subject hasnt discuss all the topics that are needed for us to make this. so basically i really dont know how to make this roullete circuit work because i lack information :(
     
  11. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    its like this. but our prof told us that its okay if we dont include the green color. only the red and black are needed
     
  12. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    uhm sorry for the confusion. i guess i chose the wrong term for it. its something like this, you have a seven segment display and thats where the numbers up to 32 will be displayed. the led should be inlcuded to(to determine if its black or red
     

    Attached Files:

  13. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    thank you i have also seen that one. but the problem with that is that i will not meet the requirement of our professor. our requirement is that our circuit should have at least 7 distinct ics
     
  14. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    I'm really panicking right now :( I'm aalways think of that project to the point I consecutively dreamt of it, since monday up to now saturday :'(
     
  15. jpanhalt

    jpanhalt Well-Known Member Most Helpful Member

    Joined:
    Jun 21, 2006
    Messages:
    6,074
    Likes:
    524
    Location:
    Cleveland, OH, USA
    ONLINE
    What are your thoughts on the project? Have you made an outline of what is needed?

    The game is presumably based on random selection of a number between 1 and 36 (according to your modified requirement). Zero (0) is not included, or is it optional to include a zero? In some respects, it might be easier to include a single zero.

    How do you plan to generate that number? To help you get started, I searched this forum for random number and got lots of hits. Here are a few that I selected that may be of interest to you:

    http://www.electro-tech-online.com/...erate-a-random-number-using-interrupt.147900/
    http://www.electro-tech-online.com/threads/random-number-generator-using-white-noise.136041/

    With discretes:
    http://www.electro-tech-online.com/attachments/random-number-with-led-1-digit-jpg.56362/
    http://www.electro-tech-online.com/threads/random-number-by-led-one-digit.121292/

    More sophisticated and validated:
    http://www.electro-tech-online.com/...ac-mains-chaos-to-make-random-numbers.130194/

    The requirement to use at least 7 discrete IC's is a bit ambiguous. Do voltage regulators and 7-segment LED's count?

    Edit: Fixed 3rd link to the thread instead of just the jpg.
     
    Last edited: Nov 26, 2017
  16. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    I copied the simulation on the 3rd link you sent. because of the disarranged connection the 7447 to the seven segment, it did not show the correct display for some numbers. but when i arranged it , it displayed correct "display" for the numbers, however the problem is that the number it displays is not random.

    so my problem now are:
    1. to make it a 2 digit no. up to 36(using a 2 seven segment or a dual digit seven segment)
    2.to make a display that shows random numbers
    3. to connect a 2 led (black and red) , in which one would light up if a digit displays on the seven segment

    and oh btw, yes zero is included. the 7 segment do counts but not the voltage regulators
    Thank you! :)
     
  17. jpanhalt

    jpanhalt Well-Known Member Most Helpful Member

    Joined:
    Jun 21, 2006
    Messages:
    6,074
    Likes:
    524
    Location:
    Cleveland, OH, USA
    ONLINE
    Can you use a microcontroller? Any limits on the ones you can use? Which programming language?
     
  18. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    he did not mention if that's allowed or not. but if the only way to make this work is to use a microcontroller, and he allowed us to make this project then i think its allowed. but to be sure, i'll ask him tomorrow in school
     
  19. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    he did not mention if that's allowed or not. but if the only way to make this work is to use a microcontroller, and he allowed us to make this project then i think its allowed. but to be sure, i'll ask him tomorrow in school
     
  20. ronsimpson

    ronsimpson Well-Known Member Most Helpful Member

    Joined:
    Apr 17, 2007
    Messages:
    7,373
    Likes:
    974
    Location:
    Loveland, CO USA
    upload_2017-11-26_7-48-38.png
     
  21. Velvet

    Velvet New Member

    Joined:
    Nov 25, 2017
    Messages:
    18
    Likes:
    0
    are they all distinct? cause for example, if there are two ics that are the same, they will be counted as one
     

Share This Page