 Project 1: To build and program a robot that will follow a solid black line, make a U-turn, and follow the line back to the start.  Project 2: To understand.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Adding Gears to the NXT Taskbot
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Choose a Sensor.
VEX Drive Systems Presented by Chani Martin Lauren Froschauer Michelle Gonzalez Presented by Chani Martin Lauren Froschauer Michelle Gonzalez.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Lab 1.
Group Four Catherine Fahey, Steven Falzerano, Nicollette Fernandez, Eliot M. Fine and Stefan Toubia.
Group 6 Taylor Gould, Olivia Graffis, Taylor Guidon and Bdho Gdeh.
Analysis vs. Design When you take a test in your math or physics course, there is one and only one answer! When you do a goal-driven design there may be:
Team A.C.M.E. ECE 361 Final Project. Team Members A my Sibilia C hris Waters M att Fike E ric Benz.
Team P.A.C.K men EE 296 Project. Chris Mcleod Hardware Specialist.
Using the Light Sensor A LEGO light sensor utilizes a LED and a phototransistor to read the reflection of light off a surface. Light sensors are useful.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
VEX Drive Systems Presented by Chani Martin Lauren Froschauer Michelle Presented by Chani Martin Lauren Froschauer Michelle.
BRIDGE AND ROV GROUP 4. Alex Paige Collin Palmer Sifat Syed Marc Hermann.
ECE 1020 FINAL PRESENTATION TA: Allen Guan and Sibel Ahmed Shehzad Mufti.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
Lego Robot Construction Project. Adam, Roger, Lu, Riana, Paul.
Members (from left to right): Rachel Bevill, Brae Bower, Samantha Cherbonneau, Professor Ahmadi, Anthony Contreras.
The Batmobile and Centrifuge November 11, Members (from left to right): Rachel Bevill, Brae Bower, Samantha Cherbonneau, Professor Ahmadi, Anthony.
A-Tech Technical Training. Robotic Design - Basket Grey pieces act like funnel Black rubberband keeps basket closed.
Programming a light sensor to follow a black line.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
ECE 001: Team Awesome Patel, Hetal Odobasic, Stephen Rajeevan, Sushmitha Noel, Kelli Patel, Hetal Odobasic, Stephen Rajeevan, Sushmitha Noel, Kelli.
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
The George Washington University Department of ECE ECE 1010 Intro: Electrical & Computer Engineering –Introducing KIPR Link/Interface and Set-up –Continuation.
SIPHER Students: Javier Lara, Darren Lamison-White Graduate Student Advisors: Ethan Jackson, Ryan Thibodeaux Controlling Robots: Long distance, straight-line.
Wall Encounter By Made easy by Dwayne Abuel.
Sentry System Multiple Sensors
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Erin Halseth, Will Gottschalk, Briana Warschun, and Michaella Gaines
Clap On, Clap Off Introductory Presentation. Opening Activity What is a sensor? Can you give examples? ?
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
(from left to right) ASHLEY FRIEND, SUBHASIS GHOSH, EMMANUELLE DORVIL, DHRUV GAUR.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
ECE 002 Robots and Sensors Group 14. Objectives Research sensors and their usefulness to analyze data Research sensors and their usefulness to analyze.
Oregon Robotics Tournament and Outreach Program RCX Basics.
The George Washington University Electrical & Computer Engineering Department Dr. S. Ahmadi Class 3.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.

1 The George Washington University Electrical & Computer Engineering Department ECE 1010 Intro To Electrical and Computer Engineering Dr. S. Ahmadi Class.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Integration.
Robotics Programming Wall Follow Line tracking for a set amount of time Line tracking for a distance.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Lego Robot Challenge.
Deriving Consistency from LEGOs
CSU-1 Project Updates Mechanical:
Touch Sensor.
Introducing KIPR Link/Interface and Set-up
Loops and Switches Pre-Quiz
Learning Outcomes Understand While Loop
Beginner Programming Lesson
Line Following Behavior
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 5.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Lesson 3: Sensor Wait-for’s Programming Solutions
SENSORS.
“self-maneuvering miniature vehicle”
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Group 4: Final Presentation
Compiled from various Internet sources Presented by Mr. Hatfield
Lego MINDSTORMS EV3.
Oregon Robotics Tournament and Outreach Program
Getting started with LEGO EV3 Mindstorms software
Presentation transcript:

 Project 1: To build and program a robot that will follow a solid black line, make a U-turn, and follow the line back to the start.  Project 2: To understand the mechanics of a centrifuge and perform an experiment.

Materials:  Handy-board #1  2 Motors  2 Light Sensors  Lego pieces

//Program to follow and detect black line, make a u-turn, and follow line to the start //motor 1=left, motor 3=right. sensor 1=left, sensor 2=right void main() { int sensor1; int sensor2; int Flag=1; /*Integer to set different stages of the program (stage 1: go to end of black line, stage 2: u- turn, stage 3: come back)*/ int x=170; //170 determines the threshold between white and black surfaces while(!start_button()); //wait until start-button is pressed while(Flag==1) //infinite loop { if((analog(5) =x)) //right sees white left sees black: turn left { motor(1,-50); motor(3,100); } if((analog(5) =x)) //right sees black left sees white: turn right { motor(1,100); motor(3,-50); } if((analog(5)>=x)&&(analog(6)>=x)) // both sensors detect black: all motors off for u-turn and end of infinite limit { ao(); Flag=0; } }

motor(1,-100); motor(3,100); sleep(1.0); ao(); sleep(1.5); while(analog(6)<170) { motor(1,-75); motor(3,75); } ao(); sleep(0.5); Flag=2; //integer redefined to start second infinite loop

while(Flag==2) { if((analog(5) =x)) //right sees white left sees black { motor(1,-50); motor(3,100); } if((analog(5) =x)) //right sees black left sees white { motor(1,100); motor(3,-50); } if((analog(5)>=x)&&(analog(6)>=x)) // both sensors detect black: all motors off for u-turn and end of infinite limit { motor(1,0); motor(3,0); ao(); Flag=3; } } while(Flag==3) // infinite victory beeps { ao(); beep(); } }

Theme: The American Dream: Bigger is Better.  Wheels: › No treads › 4 in back instead of 2 › Front wheels no tires  Speed: › Beginning: High › Middle: 75 › End: Low.:  Light Sensors › Focusing and Positioning of  Job Distribution: › Software design: Mohammad › Robot Building: Meriam, Esther, and Marian  Order of Development: › At first, we built the robot and wrote the program simultaneously, › Robot:  We first constructed the robot with a heavy platform and the motors attached to the bottom  Then the platform was just as heavy, but sturdier and the handy-board was now positioned in a way so it was weighing down on the motors to keep them steady.  At first only two back wheels  Then 4  Finally, after the robot was built, the sensors were placed and tested along with the program.

 Testing due to no Robot.  Communication Problems  Robot Problems › Week motors › Heavy Robot › Optimum speed › Optimum distance of sensors

All in all, the project was successful and we were able to complete all the requirements albeit a couple of breakdowns and stressful moments. In the end, we all stood proud and watched our Tank make it around the bends and cross the finish-line.

/*program for centrifuge to increase speed, remain turing at maximum speed, then decrease speed gradually*/ void main() { int i; int s; for (i=10; i<=10; i=i+10) { motor(0,i); motor(o.3); } beep(); sleep(5.0); beep(); for(i=10; i<=100; i=i+10) { s=100-i; motor(0,s); sleep(0.3); } beep(); } //program to read transmittance void main() { int read; while(1) { read=analog(5); printf("\n%d", read); sleep(0.4); }

Spreadsheet Motor percentage versus Speed Trial # Sensor Reading (Before Separation) Sensor Reading (After Separation) Ramp Up Time (sec) Ramp Down Time (sec) Separati on Time (sec) OilWater

 Building our robot took a lot more trials then expected › We had to rebuild the robot to secure the software and the motors at least once  The programming for the robot took less time, but it still required a lot of testing