Sunday, April 20, 2014

Final Project- Sample Videos

Clarification:  Each team will produced both robots.

I was able to complete both robots this weekend:
Robot 1:  Each barrel is placed exactly 6 inches perpendicular  to the track on the right side.  This is important because the robot does not have the IR sensor and because the front of the robot has the grabber which can knock down objects as it turns around.

In my example, the red color indicates the start of the obstacle course.  The first time on the course, the robot counts the number of green dots to get the total number of obstacles on the course.  As it loops, it will keep track of how many objects have been collected and will stop when all objects have been collected.

Lego Mindstorm robot1 - YouTube
 
 


Robot 2:  The barrels must be tall enough for the IR sensor to see it.  I have made my barrels 15cm tall and placed the IR sensor on top of the medium motor of the grabber.  The touch sensor is connected on the back of the robot.

The robot is activated when it senses a beacon.  Once activated, it will go in a straight line until an object is close to the grabber.  It will then keep backing up until the touch sensor is pressed.  It will turn to the right and unload the object.  It will then turn around and keep backing up until the touch sensor is pressed.  It will stay in one spot until it senses a beacon.

VIDEO:

Lego Mindstorm robot2 - YouTube

 

Final Project

One of our goals in this class is to work as a team.  You have been divided into 2 teams:
Team 1: Max and Chris
Team 2: Eric and David
Your goal is to create two robots that work together to move objects to a "destination area".
Robot 1:  (Grabber and Color Sensor)
  • Follow a BLACK line.
  • When you see "RED"  says something unique that you have recorded yourself and make the display blink RED. Continue following the black line.
  • When you see "GREEN",  if you currently do not have any objects, turn and pick up object. ( If you already have an object, just continue on to the black line.)
  •      After picking up an object, turn to face the black line again and continue following the black line until you see "BLUE"
  • When you see "BLUE" drop the object.  Continue following the black line.
  • The line will loop and you will continue picking up objects.
Robot 2: (Grabber, IR Sensor and Touch Sensor)
  • This robot will sense when Robot 1 is near (Watches for Beacon) and moves to pick up object from Robot 1 in the blue spot.
  • Once it has an object, it will move backward in a straight line up a ramp until it TOUCHES a wall.   It will then turn and open its grasp to drop the object.  After the object is released, it
  • will turn  and return home to wait for Robot 1 to come again.
Mr. Windish and I will create an obstacle course:
We will use black electrical tape, print 3D barrels, color squares (red, green, and blue),and build a ramp and "destination area".

You are required to submit both EV3 code and JAVA code.
You will present your project during the Phidget Runway Presentation , Friday May 2nd from 9-12 in Atkinson Lobby.We will record the time it takes for your robots to move all objects to the destination area.   . 
You may need to work with your partner outside of class.   We will not have formal class on Fridays now.  Friday 12-2  can be help sessions/ group sessions as you wok with your partner

Note: The ROV3R with touch sensor bumper, line following module and grabber module are described in Chapter 2 of your book.  Visit EV3L.com for bonus materia

Thursday, March 13, 2014

Programming with leJOS Instructions

Instructions for Creating a Bootable SD Card:  (Download sd.img and Oracles embedded java runtime environment)

https://drive.google.com/file/d/0B9PGYACAb1cWLURhRElsanFqT28/edit?usp=sharing




Instructions for setting up your environment in eclipse and creating your first LeJOS program. (Use build.xml to compile, link libraries and copy jar file to EV3)
https://drive.google.com/file/d/0B9PGYACAb1cWWHFGUE5nVjAwTGs/edit?usp=sharing

Note: I had to connect to Bluetooth in order to transfer files.  It did not work just connecting EV3 to PC with usb cable.  I kept getting the error message: ConnectionException: timeout when it tried to download the executable to the EV3.

Sample leJOS files
http://sourceforge.net/p/lejos/ev3/ci/master/tree/

The EV3 API link is broken.  The only thing different with EV3 and NXT API is how the Senors and Motors are created:

Sensors: http://sourceforge.net/p/lejos/wiki/Sensor%20Framework/
Motors: http://sourceforge.net/p/lejos/wiki/Motors/

NXT API:  http://www.lejos.org/nxt/nxj/api/index.html
NXT Tutorial: http://www.lejos.org/nxt/nxj/tutorial/index.htm

SOURCE:
LEJOS: http://www.lejos.org/


Friday, February 21, 2014

Sorry I couldn't make it to class this week. Over the past week I have been continuing to test the color sensor and the colors on the box are the correct shades and read correctly on the sensor. To my knowledge, those seven colors are the only ones that will work with the sensor. I still had trouble getting the song to sound correct. I would post a video but I had to rush back to Atlanta this afternoon. Im going to continue working with the color sensor and come up with a proposal for the Research Conference.


Monday, February 10, 2014

Class: 2/7/2014

In class everyone had created the robot from Chapter 3. We completed the following tasks.

  •   Named our bricks
  •   Ceated a program using the EV3 software.
  •    Paired with iPad


Assignment for next week: (Practive using EV3 software)
   Max and David: will create a robot that reads music.  Read a color and play a different tune
   Chris: will read chapter 5 and complete the robot experiment with the IR sensor.

Next week:  Demonstration of Java controlled software.

Sunday, January 26, 2014

Sorry it took me so long to post in here, I apologize. I was thinking about ideas for my robot and while I havent come up with something I want to do, I've been researching parts we can use and how to use them. I'm pretty pumped to see what we all can do with these mindstorms.

I'm ready to see what kind of java and c implementation these units have.

I was looking around and I thought this video was cool: http://www.youtube.com/watch?v=A_mA72r3ZiQ

Friday, January 24, 2014

Jan 24, 2014 - Class

Today in class we opened the kits, sorted the pieces and created the Tracker.

Homework:
     Read : The Lego Mindstorms EV3 Laboratory (Daniele Benedettelli)  Chapters 1-3

     Chapter 1: Learn about the pieces (Beams, Connectors, Gears, Wheels, Sensors)

     Chapter 2: Build ROVER and the following modules for future experiments
  • Touch sensor bumper
  • Line-following module
  • Front-IR sensor module
  • Wall-following module
  • Dexter's cleaning tool
  • (OPTIONAL: SECRET PROJECT Grabber Module -- Instructions on EV3L.com  (code: 0x0B1E55ED )
  • You do not have to create the "Rover with treads version"
     Chapter 3:  Programming with the Brick Programming App
Read about action blocks (move motors, change display, make a sound, blink light) and wait blocks (wait until touch sensor pressed, color changes, motor rotates, a time passed, brick button pressed, infrared sensor changes)

Teaching Resources

Lego Engineering
http://www.legoengineering.com/

Carnegie Mellon
http://www.education.rec.ri.cmu.edu/content/lego/start/index.htm

The Lego Mindstorms EV3 Laboratory -- online resources
http://robotics.benedettelli.com/publications/lego-ev3-laboratory-book/

EV3 source code available
http://makezine.com/2013/08/02/lego-mindstorms-ev3-source-code-available/
(Processor runs on Linux, Source code available on GitHub)

Overview of Lego Mindstorms (Comparison of Retail and Education Kits)
http://www.intorobotics.com/building-robots-lego-mindstorms-ev3-features-programming/

PowerPoint pdf - EV3 Programming (Overview for FLL Coaches)
http://www.firstlegoleague.org/sites/default/files/Challenge/TeamResources/NaturesFury/2013EV3Programming.pdf

  • Resources from PowerPoint
  • EV3 Tutorials  Videos: Getting Started Programming:
  • http://www.stemcentric.com/ev3-tutorial
  • (Excellent collection of videos that explain programming on your desktop.  It discusses, action blocks, wait blocks, checking sensors, creating variables, using switches etc)
Sorting and Unboxing Elements from the Education Kit
   Video:  http://www.youtube.com/watch?v=cE9Nv7ZrlGg
   Sorting Guide: http://www.darrenwilson.net/uploads/8/6/4/7/8647749/ev3_core_set_45544_sorting_overview.pdf




Thursday, January 23, 2014

This is a video of some of the robots that a guy made. He made like 20. Some are very practical which is another part that interests me because I'd like to see how they could help society. 

https://www.youtube.com/watch?v=_lbp0ueqHFs
So I am planning to make an animal robot and I have been researching how to build them. I found some videos that have lego techniques I would use on my mindstorm ev3 in the future.

https://www.youtube.com/watch?v=vMwPTGMM1Zs
https://www.youtube.com/watch?v=m9zgrds_RhA
https://www.youtube.com/watch?v=l4UmHdaUdXw
https://www.youtube.com/watch?v=qE7NXtwk0Q4
Sorry it took so long to post anything here. There was something wrong with my google+ account and my school email mixing up or something like that and it wasn't allowing me to post anything. Got it all figured out now so hopefully that's the end of that. This is also a pretty cool idea for the robots and everything like that.

Awesome Lego Mindstorm Robot - Solving a Rubix Cube

App integration

http://constructingkids.com/2013/01/07/control-lego-robots-with-your-smartphone-new-lego-mindstorm-generation-on-the-way/


Here is a really cool article on the app abilities of the robots.

Additional Parts


  • Education Core Set --
  • http://www.legoeducation.us/eng/categories/products/university/lego-mindstorms-education-ev3/_/characteristics/ProductLine~LEGO%20MINDSTORMS%20Education%20EV3
  • Sorting Trays - http://www.shopirisusa.com/lego-divider-trays-2pc-set-lpd-ot.html?gclid=CJuDkLX6lLwCFZTm7AodohcAMg
  • Sorting Trays - New LEGO 3-Drawer Sorting System Storage Unit Iris Station Organizer Trays ( http://www.ebay.com/itm/like/301065574494?lpid=82)
  • Gyro Sensor  $29.99 
  • 8887 LEGO® Power Functions Transformer/Charger 10VDC -- Price  $24.99
  • -Touch-Sensor-45507  $19.99
  • 45504 EV3 Ultrasonic Sensor   -  Price  $29.99   (Out of stock, expected ship date 15 Feb 2014)


I've found a few resources, but the one that seemed coolest was the forum on lego.com that shows other robots and resources that other windstorm creators have made. Its really interesting the different ideas that can be made and how they put them together.

http://www.us.lego.com/en-us/mindstorms/community/

Here is also some videos on the different sensors that the EV3 has and how to use them. I'm very interested in this aspect of the robot so these videos will be helpful.

http://mcnairrobotics.com/index.php/component/content/article/47-template-details/general/15-aboutmcnair?showall=&start=1
Go to bottom of the page for the videos.

Wednesday, January 22, 2014

Great News!

The Mindstorms kits have arrived at central receiving. I fully expect that we will be able to distribute them to each of you at Friday's class and build our first robots.

I'm disappointed to see that no one but Dr. Phelps and me have posted their assignment to the blog and class is only 2 days away.

Tuesday, January 21, 2014

It moves...



We will definitely build on Friday. It's not clear yet whether or not the Mindstorms kits will all have arrived, but it can be collaborative at this early stage. You all will fly right through this. 

Remember, you've been assigned to post here before Friday. I have found some interesting resources. I'll share them on Friday. I hope you all will have discovered many of them and some others by then. 

We did not get the educational version, and that's a disappointment. Not one we cannot fix...


Monday, January 20, 2014

Tracker (Project 1 complete!)

 I completed the tracker project last Friday.  We need to remember to get batteries -- 6AA and 2 AAA for each project.  I also had to buy several storage containers to hold legos. They were $8 each but I can see the need for more.