MOCpages : Share your LEGO® creations
LEGO models my own creation MOCpages toys shop NXTLOG 'Crazy Contraption' EntryRobotics
Welcome to the world's greatest LEGO fan community!
Explore cool creations, share your own, and have lots of fun together.  ~  It's all free!
NXTLOG 'Crazy Contraption' Entry
Rate it  12345       Add a comment Add a comment   Zoom in  Zoom in
Many robots are designed to do simple tasks in an efficient way to make our lives easier. But what if robotic machines did simple tasks in an over-complicated way? This is the type of Machine that Rube Goldberg envisaged for his weird world. Above is an example of a 'Rube Goldberg Contraption'. I have attempted emulate this crazy idea of Goldberg's, with my very own over complicated LEGO Mindstorms NXT based 'Light Switch'.
About this creation
The Contraption uses two LEGO Mindstorms NXT's to control it. I could have just use the one, by using a couple of extra long Home-brew NXT Cables. The two NXT's control the six modules involved with making this Crazy Contraption turn on your 'Table Lamp':
  1. The (random) distance measuring unit [NXT 1]
  2. The Keyboard for inputting you distance guess [NXT 1]
  3. Ball Dispenser [NXT 1]
  4. Trigger Unit [NXT 2]
  5. Light Switch Target [NXT 2]
  6. The Mains Voltage Appliance Controller [NXT 2]
  7. The Table Lamp [NXT 2]

'Rube Goldberg Type Light Switch'

To operate my NXTLOG 'Crazy Contraption' Entry, you first need to know how to subtract! No basic maths. No light to read by!

My NXTLOG 'Crazy Contraption' Entry

When the first NXT's program is run,  the measuring target is positioned a random distance from the Ultrasonic Sensor at the extreme left of the gantry. The user's goal is to get the Trolley with the 'Red Plate' to move along the gantry until it is 100mm from the Ultrasonic Sensor. If you go closer than 100mm, you are forced to start again.

Gantry and Keyboard

RCX Touch Sensor Mux
NXT - 8 Input RCX Touch Sensor Multiplexer Unit

The user Input to the first NXT is via an 8 Input RCX Type Touch Sensor Mux. The Mux is a fully compatible I2C Bus Type Sensor, based on a Philips PCF8574 remote I/O expander. It’s a single integrated circuit that includes eight pins that are used for Touch Sensor inputs.

Ordering System Keyboard
Crazy Contraption's Data Entry Keyboard.

These 8 inputs are used on the Keyboard for:
  1. Clear Entry (Large Red Key)

  2. Number 1 (Red Key)

  3. Number 2 (Yellow Key)

  4. Number 3 (Grey Key)

  5. Number 4 (Blue Key)

  6. Enter Your Total (Large White key)

  7. Number 7 (Gantry Home Position)

  8. Number 8 (Ball Dispenser Home Position)

Ball Dispenser

When you managed to have the Trolley 100mm from the Ultrasonic Sensor, you win and a 'Ball' is dispensed. The ball drops onto a 'Trigger Mechanism' which fires 2x 'Darts' at the Black and red target which then triggers a Touch Sensor attached to the second NXT. Once the Touch Sensor has been depressed, the second NXT sends a signal to the Mains Voltage Appliance Controller which in turn turns the 'Reading Lamp' ON!

'Light Switch Trigger and Lamp Switch'

Download the Source Code and Sound Files.


 I like it 
  April 4, 2013
Nice work!
By Sparra McNamara
Add to my favorite builders

person likes this. See who.

2,312 visitors
1 comment
Added April 5, 2012

LEGO models my own creation MOCpages toys shop NXTLOG 'Crazy Contraption' EntryRobotics

You Your home page | LEGO creations | Favorite builders
Activity Activity | Comments | Creations
Explore Explore | Recent | Groups
MOCpages is an unofficial, fan-created website. LEGO® and the brick configuration are property of The LEGO Group, which does not sponsor, own, or endorse this site.
©2002-2018 Sean Kenney Design Inc | Privacy policy | Terms of use