Raspberry Pi controlled Lego model

Lego Space base

Lego Space base using two servos and LEDs.

Here’s a simple creation to illustrate the kind of things possible using the Lego interface I’ve built along with servos and LEDs.

I’ve put some kind of radar antenna on top of a large servo. Scratch can be easily programmed to make the servo sweep backwards and forwards, scanning for distant incoming spacecraft. I’ve put a green LED into the top of the radar which flashes constantly. The light projects down the transparent green antenna, making for quite an attractive show.

Getting into your spaceship is quite tricky given that the crew compartment is at the top. There’s a miniature servo connected to a lift arm. Pressing the Spacebar triggers a Scratch routine to lift the arm, wait enough time to transfer the crew and then lower to the ground.

I suppose the next step would be to add a flashing red LED to simulate thrusters along with sound effects played from Scratch.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s