### 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.

Status
Not open for further replies.

#### Velvet

##### New Member
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:

#### MikeMl

##### Well-Known Member
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?

#### AnalogKid

##### Well-Known Member
For the red/black decoding logic, start with a table of the red and black numbers and look for a pattern.

ak

#### jpanhalt

##### Well-Known Member
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.

#### ronsimpson

##### Well-Known Member
Start out very simple.
Send us a picture of the machine you want to make. "electronic digital roulette"

like this??? different?

#### AnalogKid

##### Well-Known Member
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

#### ronsimpson

##### Well-Known Member
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.

#### Velvet

##### New Member
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?

----------
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

#### Velvet

##### New Member
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.

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

#### Attachments

• stock-photo-american-roulette-wheel-with-a-ball-in-the-number-655727821.jpg
56.3 KB · Views: 68

#### Velvet

##### New Member
Start out very simple.
Send us a picture of the machine you want to make. "electronic digital roulette"
View attachment 109330
like this??? different?

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

#### Attachments

• 24085275_1762751727132485_329113843_o.jpg
581.5 KB · Views: 70

#### Velvet

##### New Member

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

#### Velvet

##### New Member
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 :'(

#### jpanhalt

##### Well-Known Member
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:

https://www.electro-tech-online.com...erate-a-random-number-using-interrupt.147900/

With discretes:
https://www.electro-tech-online.com/attachments/random-number-with-led-1-digit-jpg.56362/

More sophisticated and validated:
https://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?

Last edited:

#### Velvet

##### New Member
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:

https://www.electro-tech-online.com...erate-a-random-number-using-interrupt.147900/

With discretes:
https://www.electro-tech-online.com/attachments/random-number-with-led-1-digit-jpg.56362/

More sophisticated and validated:
https://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?

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!

#### jpanhalt

##### Well-Known Member
Can you use a microcontroller? Any limits on the ones you can use? Which programming language?

#### Velvet

##### New Member
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

#### Velvet

##### New Member
Can you use a microcontroller? Any limits on the ones you can use? Which programming language?
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

#### ronsimpson

##### Well-Known Member
our requirement is that our circuit should have at least 7 distinct ics

#### Velvet

##### New Member
are they all distinct? cause for example, if there are two ics that are the same, they will be counted as one

Status
Not open for further replies.

Replies
16
Views
3K
Replies
5
Views
2K
Replies
1
Views
1K
Replies
83
Views
12K
Replies
4
Views
3K