Skip to main content

Tips on Lego Mindstorm

Thanks to the Duxbury High School Lego Robotics Team for allowing me to observe their Lego Mindstorm Class for Alden students in Grades 3-5 as part of Engineering Week.  They taught me a valuable lesson, you don't have to use the instructions! I was so caught up with building the official robots that I forgot that the whole point to Legos is the individualized creativity with the pieces. Now this type of learning isn't for everyone but I've always hated instructions and doing step by step Lego instructions was a huge set back for me.  I'd rather trial and error free build and problem solve throughout the process. That's closer to tinkering anyway.

In a 3 day consecutive after school class, each team built their own robots for battle.  The first day was a lot of experimenting with the parts. The students immediately delved into the kits asking questions about sensors or just building something with gears that physically moved without electricity.  The second day was building their robots for battle, and the third day was the actual battle where the winning robot needed to be pushed out of the circle ring.

I was so excited after the 2 classes I attended that I came immediately back to the library, threw the instructions aside and actually looked at the pieces themselves to build a car. I suggest building first and to have a plan of what sensors to use (that way if you have kids that just want to program they can get started while you build). I knew that I wanted the two large motors to drive the car and a motion sensor. From there I just built the housing to keep it in place being mindful that one side of the EV3 Block (the Gameboy looking piece) has alphabet ports for the motors while the other side includes the number ports for the sensors. Once you start programming on the computer, you have to make sure the letters/numbers on the top of the blocks below match the ports that you used on the EV3 block.  (Motors were connected to port B + C while motion sensor was connected to port 1).  My goal was that the car would keep driving until the motion sensor is set off and then it will back up, turn and play a note.

My Program
For a brief programming explanation this is my sequence of events, after the green triangle I built a loop where the main motors go forward until the motion sensor is hit (first green and orange block). Outside the loop is another main motor command green block where both wheels are going backward (hence -50 under the speed dial) then the third block is turning with one motor rotating -50 and the other 50 under the speed dial to make the wheels turn. The last green block is the music note which can upload sounds or just play a note.
My Robot


I had the car built and the program running in under 2 hours but I'd suggest a longer class so the students have time to build their own custom bots while others are programming the bot or everyone has time to build a few bots (first hour) and then program them (2nd hour). It does require the computer software so you'll need sufficient laptops. I think ideally 4 or 5 kids per Mindstorm set so they can all stay engaged.  I'm still learning so from here maybe I'll watch an actual Lego Mindstorm programming tutorial video or two or maybe I'll just keep experimenting. Look for updates soon! I just found some great tutorials online for programming the bots with sensor explanations.


Lego Mindstorm Robotics Test 1 from Duxbury Free Library on Vimeo.

Comments

Popular posts from this blog

Our most popular makerspace/STEM/Library of Things

As of April 2018, we did a kit circulation report.  We had 106 kits which have circulated 1,047 times since it's inception in 2015.  Here is the top 10 list of most circulated. These include hobby kits, puzzles, cake pans, instruments, science robots/STEM, and American Girl dolls. The ukulele kits (we have one soprano and one concert kit) have been around the longest and have circulated 106 times total.  Just remember someone should change the strings yearly and definitely include a tuner (we like the snark) as new strings on a uke take a while to break in. Surprisingly our meditation toolbox comes in second with 51 checkouts.  It is just some CDs and a DVD.  This one has also been around since the inception of our kits. Next up is our virtual reality headset toolbox.  It is a Homido Virtual Reality headset. If that is too pricey, I recommend Google Cardboard.  Our sewing machine comes in 5th.  Knitting is a great idea for a toolbox and very popular but li

New ideas for Circulation-Library of Things/ Makerspace Kits

The DFL currently experiments with hobby, STEAM, and Technology kits that are housed both in the adult section and the kids room. These kits include musical instruments, video equipment, puzzles, cake plans, robots, looms, and more available for checkout.  The kits are bought using our Amazon prime account, under the supervision of the head of circulation using a special makerspace kit budget and backed up by a kit committee made up of various departments to streamline the process.  The kits with the most holds by far have been the Retro Nintendo  and Super Nintendo Classic which were small batch pre-Christmas releases for the last two years.  Rather than blowing the dirt out of your old cartridges, these consoles have games built in for your playing pleasure. According to Walmart, the Nintendo "classics" are on sale as of today.  Our kit contains a small palm sized console, 2 controllers (try to upgrade wireless ones if you can), an ac adapter, and, I recommend, a carr

3D Printing Signs for the Library Collection

Last weekend, I went to the annual Tee-Off mini golf event at the Brookline Public Library.  As a first time visitor, I was mini-golfing with my phone at the ready. Special thanks to the AMAZING librarian rockstar Robin Brenner for so many great ideas. It truly is worth a visit just to see her teen room. Here are a few 3D printing/marketing ideas to takeaway: Having a  3D printer filtration cart would be wonderful in our library.  Look at the price if you dare.  Right now I have to go downstairs to retrieve prints because we are concerned about the fumes and little hands touching anything while the printer is on.  I have a video camera set up downstairs using an iPad 2 and the free app called Presence  for monitoring but sometimes I do forget to keep checking the presence website while I'm on the desk especially since it makes this annoying beeping sound to say, "Are you still watching?!"..As the sign reveals on the cart, the propensity to want to lean or jostle the car