Browse All News | Submit News

     The Robo-Sundae Experiment

The Robo-Sundae Experiment -Try it with your class

 

Our Creation in Action!

Our Blog, Updated During Production

From Idea to Solution

The Code

The Full Description

Set-Up Ideas for your Classroom

Photos
It started as an idea of creating a robot that could help.  We wanted to think of any task or chore and make it easier through the use of LEGO Mindstorms and LabView 2010 for LEGO Mindstorms.  We settled on making an ice cream sundae: a task both fun to complete and somewhat of a hassle to organize.  
   Making a sundae involves multiple ingredients, which we saw as an opportunity to split our project into manageable sections.  After brainstorming the core ingredients of any good sundae (chocolate syrup, whipped cream, sprinkles, and cherries), we planned our project.  We wanted the grand scheme of the process to be as simple and convenient as possible: put in ice cream, get out a sundae.  Knowing this, we broke down the project into five categories: one for each topping, and one for transportation.

 

 

     Master's in teaching engineering at Tufts University

The Tufts Education department in collaboration with the Tufts Center for Engineering Education and Outreach are pleased to announce a new program to prepare middle and high school engineering teachers. Tufts has been a leader in the push to include engineering in the K-12 classroom in Massachusetts and beyond and is well-positioned to prepare teachers in an innovative, hands-on environment.

Who should apply:

  • Teachers currently teaching engineering without licensure
  • Current engineering professionals who may be considering a career in
  • K-12 education
  • Engineering undergraduates who are excited about engineering, yet
  • seeking an alternative career path
  • People with a passion to improve the STEM education of our students


To learn more about the program, please visit our website or contact
Morgan Hynes at This e-mail address is being protected from spambots. You need JavaScript enabled to view it .
http://ase.tufts.edu/education/programs/teacherPrep/MATengineering.asp

 

What Can You Teach With NI LabVIEW?


Are you using LabVIEW software to teach science and technology in your classroom?

National Instruments is inviting high school teachers to showcase innovative ways that they are integrating LabVIEW into labs, lesson plans, and projects. The first 20 entrants will receive $25 gift cards. Prizes for winning submissions include more than $3,000 in cash bonuses and classroom technology.

To learn more:
Download the flyer (PDF)
 

     WeDo Activities

WeDo Activities: The Next Level


The Lego Education WeDo kit provides a fascinating opportunity in simple robotics and programming for young students. The kit has 12 activities that introduce valuable science and engineering concepts like pulley setups and gear trains and ratios, and makes them approachable and interactive with the sensors, motors, and software. Like with all Lego kits, the possibilities are endless. Here are a few extra ideas that can inspire you and your students.


The Pulley Crane
The crane is a machine that is easy to identify with because it is frequently seen in real life, from construction work on large buildings to cherry pickers saving cats. It is also a very basic mechanical system that builds upon some of the provided WeDo activities


Behind The build - The WeDo Crane is powered by the motor that drives a long rod like a crank shaft.The rod winds the black string from the kit around it when it turns, while the string follows an angled beam and is attached to a small platform. As the string is wound up and down, the platform moves up and down.

 


Thinking further - Are there other ways you can lift the platform? Maybe using a different kind of string, or a different driving mechanism will help (using the rubber bands somehow). How heavy or large can you make the platform, and can you use the gears in any way to lift a heavier load? Don’t forget to give your Lego man a hard hat before trying any of this!

The Catapult
Exactly as it sounds, the Lego catapult is a simple machine for launching small objects as far as you can with a lot of fun, and a lot of learning.


 

Behind the Build - The mechanism is fairly simple. There is a securely anchored base with a freely rotating rod in the middle, to which a long lever arm is attached. Also attached to the base are two rubber bands that the lever arm is pressed down on  in tension when loaded, and a rod that stops the catapult arm after launched. The rubber bands are part of the launching mechanism, which is kept in place by the motor. When the motor runs, the hold on the arm is released and the rubber bands launch the catapult, and the stopping rod  enables the object to fly as far as possible.



Thinking Further - What changes can be made to the catapult that will affect how far an object is launched? Kids can experiment with the length of the lever arm, or the placement of the stopping rod. Is there a different way to power the catapult with rubber bands? Don’t be afraid to let kids engage in friendly competition, just make sure no one take a Lego to the eye.

The Venus Fly Trap

The Venus fly trap is a fascinating plant that traps bugs in its petals like jaws and eats them for food. Using a motion sensor, the WeDo Venus fly trap will close its Lego petals if someone places there hand inside, and opens them again if there prey manages to escape.



Behind the Build - This is the most difficult of the three builds, but also arguably the coolest. The motor feeds into the worm gear in the worm gear box. The worm gear rotates a 24 tooth gear sitting on top in the horizontal perpendicular direction. This horizontal rod has a gear on the end that is part of 4 gear train, made up the 8 tooth gears and the bevel 24 tooth gears. The two gears at either end of the train have a long rod going through them, and because it is made up of four gears, they move in the opposite direction. The rest of the structure is constructed to hold the gear train setup up, and the Venus fly trap petals are built onto the rotating rods to help simulate an opening and closing motion. A motion sensor is mounted vertically in the middle of the petals, in order to detect any food that comes in reach.



Thinking Further - This activity is challenging, but also allows for more personal creativity in both building and programming.


- Matt Goldenberg





 

 

 

Beginning With Tetrix

Begin by taking the two channels and the plate from your kit, and position them so that the open sides of the channels are facing towards each other.


Place the plate on top of the channels. There should be four small holes in the plate that line up with four small holes in each channel. Take the DC Motor Controller from your kit and line it up with two of the four holes that line up on one side of your robot. Fasten the controller, plate, and channel together with a screw and nut. Feed the screw down through the top and attach a nut on the bottom. Use the hex key to tighten fully.

   
 
Also attach the servo controller to the base in the same way on the other side.




Motors

Take from your kit a DC motor, a motor mount, a motor shaft hub and a wheel from your kit. Slide the motor mount around the front of the motor until the leading edge of the motor mount is flush with the crack in the motor housing, as seen in the picture. This may take a bit of force as the motor mount is designed to fit snugly.

   

Once you have the motor mount on the motor, attach the shaft hub by sliding it onto the axle and tightening the screw into the flat part of the axle.



Attach the wheel to the motor axle mount with two screws. Now repeat this procedure with another motor, motor mount, motor shaft hub, and wheel, so that you have two wheels that are ready to be mounted to the base of your robot.



Take the two motors and attach them to the underside of the base, using the long motor mount screws. Secure them the outermost holes on the channels, making the motors as far apart as possible so that you will be able to attach the motor cables later.

   

Front Wheel

Take from your kit a short tube, two tube clamps, and two tube plugs. Place one plug in one end of the tube and attach a clamp to the end. Make sure that the plug stays at the end of the tube and doesn’t wander to the middle.

   

With the other plug and clamp, Repeat this procedure on the opposite end of the tube, making sure that the new clamp lines up with the existing one along the tube.

Attach a hard-point connector to an L bracket as seen here with a small screw and nut.



Take another L-bracket, a long stand-off post, and the servo joint pivot bracket from the kit, along with the tube assembly and the L bracket you just created. Connect them according to the picture, making sure to use only the stand-off post and a screw when connecting the L bracket with the hard-point connector to the pivot bracket.



Attach an axle hub to one omni-wheel with two screws through the small holes in the center of the wheel. Then attach the other omni-wheel to the other side of the hub, so the two wheels sandwich the hub. Make sure that the small, black, outer wheels on the omni-wheel are staggered, so that only one touches the ground at a time.

   

Now take your complete tube assembly, the two omni-wheels, two bronze bushings, and two large axle spacers, as well as one axle.



Place the components between the two arms of the joint bracket on the tube assembly in the following order: bushing, spacer, wheels, spacer, bushing. Feed an axle through all of these components and through the two large holes on the joint bracket.



Tighten the screw on the axle hub to keep the axle in place.

   

Mount the omni-wheel assembly onto the base of the robot by placing the L bracket on top of the plate and screwing it into the two center-most holes.



Next, create this battery-securing apparatus by placing two screws through two hard-point connectors and one flat bracket and into two long stand-off posts.



This apparatus should fit snugly over the battery pack.

   

Place the battery pack with the flattest side up on the robot base and secure it to the top plate by placing the posts over the pack and screwing them through the plate.

   

Attach two 5x3 LEGO angular beams to the hard-point connectors with connector pegs. Then connect a 7-hole beam to the outside of each of the angular beams, and connect the NXT to the top hole of the beam, so that it hangs comfortably on top of the robot.

   

Also attach a touch sensor to the hard-point connector on the front of the robot using connection pegs and another 7-hole beam.

   

Now connect the wiring of the robot. First, connect the motor controller and the touch sensor to ports 1 and 2 on the NXT. Next, connect the motor power cables to the motor 1 and motor 2 ports on the motor controller and then to the DC motors. Then connect the On/Off switch to the battery port of the motor controller and connect the battery pack to the On/Off switch with the white plug.

   

The last thing you should do to complete your robot is take all the wires and put them somewhere out of the way. This can be done by tying them down, wrapping them around other parts, or just bundling them together.

   


 
To start programming your Tetrix robot, open LabVIEW and choose to open a blank VI targeted to the NXT. Then go to Tools > NXT Tools > Tetrix Motor Configurator. This is where you tell the NXT where the motors are on the Tetrix robot. Click on Add Motor, so that you now have two motors configured. Then look at the drop down menus. If the motor controller is connected to port 1, you should choose port 1 in the NXT Port drop-down. Since only 1 motor controller is connected, the motors are connected to motor controller 1. For the Motor drop-down, change one of them to Motor 2. Then rename the motors, so that you know which one is which. A common naming scheme would be to name them Right and Left. Also, since your motors are facing opposite directions, you can reverse one of them so that they are both oriented the same way. Here is a sample motor configuration.
 

 
Once you have the motors configured, you can program the Tetrix robot just as you would any other LEGO NXT robot. The only difference is that instead of stringing in “Port 1” or some other port, you would use the Motor Configurations icon under the TETRIX tab in the Functions Palette. There are several sample exercises on the next page that can be used as introductory programming tutorials on the Tetrix robot.
 

Exercise 1: Drive forward for 5 seconds and then stop.

Note: These sample programs are available for download at the bottom of this page.

For this exercise, there are three parts to your program. The motors need to turn off, they need to stay on for a while, and then they need to stop. To turn the motors on, use two Move DC Motors blocks to turn on the motors and motor configuration constants to specify which motors. Be sure to specify what power level to give the motors. The one unique part about programming with Tetrix is that the motors need to be constantly fed inputs. If they do not receive a new command in 2.5 seconds, they will stop. To avoid this, you will need to put them in a loop, so that the program constantly feeds them inputs. To stop the motors, simply use two more Move DC Motors blocks and wire in a power level of 0. The final code should look something like this:
 
 
Remember that this motor configuration has the right motor reversed. If the right motor was not reversed, the motors would need power levels of opposite sign to drive straight because they are oriented in opposite directions.
 

Exercise 2: Drive forward until bumped. Then back up and stop.

This exercise should look very similar to the first one. Instead of exiting the loop at a certain time, though, this program will wait for a touch (specifically for the touch sensor to be pressed). Therefore the Read Timer icon needs to be changed Read Touch > Pressed. Then you will need to wire in which port the touch sensor is connected to. Once the sensor is pressed, the motors should move backwards, so you will need two Move DC Motor blocks and two motor configuration constants, except this time you should feed them a power level less than zero. Add another a Wait For Time block, but do not have the robot go backwards for more than 2.5 seconds or they will time out. Then stop the motors as you did in Exercise 1, and your code should look like this:
 

 

Exercise 3: Drive forward with speed proportional to the reading of the sound sensor. Stop when bumped.

This program will once again look similar to the first. There should a loop constantly telling the motors to move forward, but instead of constants wired in to the power level, place a Read Sensor block set to the sound sensor and connect the output terminal of the Read Sound Sensor block to the power level terminals of the motor block. The code should look like this:
 
 
 
 
Home | About Us | Contact Us
© 2012 Center for Engineering Educational Outreach, Tufts University
© 2012 The LEGO Group. All rights reserved.