Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 10th February 2004, 11:00 AM   (permalink)
Default please help me with my ramdom heads and tails generator

Hello, can any1 help me with my random heads and tails generator? has any1 got any designs?
mattyeovil is offline   Reply With Quote
Old 10th February 2004, 02:16 PM   (permalink)
Default

Hi,
Attached is a Psudo-random number generator
All those D-types can be replaced with a ripple counter (just used descrete to show how it works). Also by changing the point at which the XOR gate is attached different random sequence is generated.

It is not really random, run it for long enough an a pattern will emerge. Increase the time between start of the "random" sequence by increasing chain of D-types.

By tagging a LED to the final output you should get a randon light ON or OFF to represent HEADS or TAILS. By tying in a switch and maybe another D-type you can have it latch for each switch press, this introducing an outside random effect (from humans) thus making it completely random.
Attached Images
File Type: jpg RND.jpg (42.3 KB, 375 views)
Styx is offline   Reply With Quote
Old 10th February 2004, 05:00 PM   (permalink)
Default

alternatively, u could use something like the circuit below, which uses a 555 as a Astable, and a 4017 decade counter, which resets on the third output, so that the first two ouputs flash on and off in sequence whenever the push switch is pressed. The values of the components are such that it would flash sooooo fast that you would not be able to let go of the switch on one particular output (head or tails) so it is effectivly random.

Tim
Attached Images
File Type: jpg head_or_tails.JPG (13.0 KB, 362 views)
grrr_arrghh is offline   Reply With Quote
Old 10th February 2004, 06:25 PM   (permalink)
Default temp

possibly a temperature transducer or pressure transducer into an A/D and take the least significant bit? im no electronics guy, though.

-ffuzz
ffuzz is offline   Reply With Quote
Old 12th February 2004, 01:12 AM   (permalink)
Default please help me with my ramdom heads and tails generator

The circuits submitted by Styx and grrr_arrghh are unnecessarily complex.

You could simply connect the LEDs to the output of the 555. When it is stopped, one or the other will be lit. In case the mark/space ratio of the 555 is not exactly 50/50, then a J,K Flip Flop could be used to divide the output of the 555 by 2 thus providing the 50/50 signal.

Len
ljcox is offline   Reply With Quote
Old 12th February 2004, 05:11 AM   (permalink)
Default

I posted about one of these a while ago and got some pretty good sources. This is my post: http://www.electro-tech-online.com/v...516&highlight= :wink:
__________________
When life gives you lemons... make a battery.
Electric Rain is offline   Reply With Quote
Old 12th February 2004, 09:44 PM   (permalink)
Default please help me with my ramdom heads and tails generator

Here are another 2 options

Len
Attached Images
File Type: gif Random_Binary.gif (5.1 KB, 314 views)
ljcox is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 11:58 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.