Wednesday, 28 September 2016

Sunday, 11 September 2016

Monday 12th September

Today we will use the colour sensor to measure reflective light intensity. This will help teach the robot to detect when there is a change in colour i.e. when it gets to the edge of the table and then change its behaviour so it does not fall off.

Click here to view the video

Thursday, 8 September 2016

Monday 12 September 2016

1. Learn How to use colour sensor to determine edge of table
Click here to view a video on how to do this and then see if you can do this.

Tuesday, 6 September 2016

Thursday 7 September 2016

Task 1 Traffic Signal Challenge

Program your robot to go through three different intersection, each of which has a traffic signal. The traffic signal, which can be either the colored block or the red/green card, is held by hand at set height. Unlike a camera, the detection range of the colour sensor is short,so you will need to modify its placementon the robot so that it can see the traffic signal and react appropriately.

Rules and Procedures
  • use red and green coloured sheets of paper, which will be held up to the correct height using a clamp and stand.
  • the initial signal colour for each intersection and determined by flipping three coins before the run Heads=Green, Tails=Red.
  • The robot MUST stop if the light is red and MUST NOT stop if the light is green.
  • After the robot successfully goes through all three sections, the robot can be stopped by hand.
  • BONUS: Can you write the program to make the robot stop after going through the third intersection.
  • Try and break the robot's behaviour into stages. What is the robot waiting to see at each stage of it movement? What should its motors be doing during those stages?
  • If the robot is already moving, is there any point in waiting for Green? If the robot is stopped, is there any point in waiting for Red?
  • if the robot sees a Red light, don't forget that it needs to wait for the actual Green light before proceeding!