Mr. Random [...and on youtube]

Forget to spin the bottle or throw common dice at your next party --- Mr. Random is in the house. Driven by two hacked (continuous rotation) servos, Mr. Random wanders around on your floor. If the tactile sensor hits an obstacle, the robot reverses, stops, produces a random number from 1 to 6 on LEDs that are similar to the pips on the side of a dice and emits a strange sound.

After the die is cast, the robot turns left or right, depending on a pseudo-random number, which is generated by the random command and activated by the tactile sensor.

The LED-dice is a circuit from the ebook 50 555 CIRCUITS, modified for my needs and additional equipped with a second 555 IC, which is wired as a pulse extender and used as a driver for the beeper.

2010.06.07: Circuit diagram of Mr. Random attached.

Drives around randomly, dices if he hits an obstacle, emits strange sounds

  • Actuators / output devices: beeper, 2 continues rotating servos, 7 LEDs
  • Control method: autonomous
  • CPU: picaxe 08M
  • Power source: 4.8 V NiCd, 700 mA
  • Programming language: Picaxe basic
  • Sensors / input devices: tactile sensor
  • Target environment: indoor

This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/mr-random-and-on-youtube

Awesome!

Awesome! 

Nice project, cool to see a

Nice project, cool to see a different take on the dice randomiser =)

You remember that board game

You remember that board game Trouble with the little popping dice dome thing? You should make one that uses and reads one of those.

Thanks,I till you this

Thanks,

I tell you this little robot is fun for your next party :smiley:

Excellent

You could have stopped with just the cool led cubes but the added sound effects are what really makes this sweet.

**Thx, z.s.tar.gz **

I have just transfered the slowing down oscillator signal into sound, thought it would give this small cube more personality :slight_smile:

Brill! I have LOTS of

Brill! I have LOTS of questions :wink:

1. Is the angle that the robot turns linked to the randomly-generated number displayed on the dice in any way? from the circuit you posted, I wasn’t sure that it was -  not that it SHOULD be,  but I was otherwise wondering how you determined the turn angle. This is a question stemming from our shoutbox conversation a while back regarding the most efficient way to survey an enclosed surface.

2. Is the role of IC3 merely to supply AC to the pizo - gated by the pulses from IC2? If the speaker is a buzzer, is it not possible to simply couple it to the output in paralell and achieve the same result? (WARNING: possible stoopid question…)

3. The servos are driven via a IC driver - was there a reason you chose to do that, rather than  drive the servos directly via servo commands from the picaxe (and maybe reduce the onboard component count, as well as give you more versatility over motor control…)?

finally:

4. I’m VERY interested in the construction of the front bumper, Is is spring mounted to keep it in tension against the micro switches?

Oh, nice video too, jumpcuts rock…

 

 

1. The robot turns only

1. The robot turns only randomly right or left now after it hit an obstacle. The turn angle is always the same. I have to work on a more advanced code, if I find the time. It is indeed an interesting question, what turn angle is optimal to cover an enclosed surface in the most efficient way. Your graph is interesting, but gives no mathematical proof. Converges or diverges the function for t->∞, how is the function affected by the area geometry, etc?

2. IC3 is a buffer. You can not connect the buzzer directly on the output of IC2 as it would block the clock procedure of the CMOS 4017

3. Simple. I had just two modified servos without PCB.

4. Hope the following drawing make the simple construction more clear:

Tactile_sensor_construction.jpg

can u post the circuit

can u post the circuit diagram of your robot…

He already did, there’s a

He already did, there’s a link further up the page.

**code??? **

code???

 

Version 2 should have

Version 2 should have selectable configuration for different sided dice for gaming. Common gaming dice have 4, 6, 8, 10, 12, or 20 sides. 

06581F.png

well, you did not tell me

well, you did not tell me this when we had lunch together…

This idea is great and thinking about this guy on a party makes me smile. Instead of the random sound you could equip it with your text-to-spech module and let it tell a story to each of the numbers.

Oh, another thing…shame on you…you are using superglue and no hotglue? Haha, joking. I really like your clean design witht he nice standoffs and almost industrial grade prefboard installation :slight_smile: