Homework

  • 3-23-2020

    You have already done a great job learning the essentials of RobotC (motor encoders, while loops, if/else statements, etc...), and you have had practice using this code and sensor control while navigating the labyrinth in the lab. Now, instead of the labyrinth as our coding test-bed, we will apply our coding challenges to a virtual gaming environment called Operation Reset!...same NXT brain, but the robot looks a bit different. It has a gripper/lifter attachment in front, an optical sensor, and a sonar sensor. You will navigate a mining asteroid in space that has been damaged by meteors and refurbish its energy supply. I'm planning on roughly 6 missions. One mission per week is fine.

    If you have your own computer, or if it's OK to use your parent's computer, I have provided a pdf file Instructions for Downloading RobotC and Virtual Gaming World 90-day free trial for the software program and gaming environment that I was able to get for you from the company. If this is not possible for you, email me and I will have a "Plan B" for you. 

    Your first task for the 1st half of the week is to successfully download the Robot C software and Operation Reset Gaming environment. There are several steps involved, but my pdf file has lots of screenshots and directions to help you do it easily. Then, try out the sample code for the 1st mission that I mention in the pdf file, and tweak it to make it your own (and save it as your own, in your own home laptop folder!). Upload your file to your 1st assignment in Google Classroom by March 26.

    Refer to the last half of the pdf file Instructions for Downloading RobotC and Virtual Gaming World 90-day free trial for valuable instructions and tips on how to start coding and navigating the virtual game platform. You may collaborate with each other, if you wish, and email me if you feel stuck or frustrated. Enjoy while you learn!

    Check your school google student email for your invitation to my new Google Classroom. It has the access code you need to use to automatically register you as a student.

    I will begin transitioning from this official Nauset teacher website to the Google Classroom associated with your school email account. 

     

     

     

     

     

     

     

    3-16-2020

    We will not be doing any "face-time" classroom chats. But I will be at my computer during our regular school time and will be available to answer any of your questions using our Nauset email. Mine is faucherr@nausetschools.org. By now, you know me to be efficient and professional, and I will continue to help you be the best you can be, even though it will be 100% distance-learning for a while. 

    We are currently in "Snow Day" mode for at least the 1st 3 days of this week. So treat these days as such...enjoy the nice weather.

     

     

     

     

    2-28-2020

    UNIT 4 SENSING Overview of Topics: Using Sensors

    Unit 4a SENSING: Wall Detection: Touch Sensors

     

     

     

    2-26-20

    UNIT 3 Curriculum (menu)

    Labyrinth Challenge: Use Motor Encoder Degree Rotation Values during straight runs. Use Synched Motors Values for turns. See if you can get a smooth turn, where one wheel simply moves faster than the other. This challenge is more challenging than our 1st one. Expect difficulties. Consult one another.

     

     

     

    2-24-20

    UNIT 3

    Labyrinth Challenge: Use Motor Encoder Degree Rotation Values during straight runs. Use Synched Motors Values for turns. See if you can get a smooth turn, where one wheel simply moves faster than the other. This challenge is more challenging than our 1st one. Expect difficulties. Consult one another.

    Finish the 2 Engineering Labs you started last class.

     

     

     

     

    2-26-19

    UNIT 3 C

    Labyrinth Challenge: Use Motor Encoder Degree Rotation Values during straight runs. Use Synched Motors Values for turns. See if you can get a smooth turn, where one wheel simply moves faster than the other.

    Finish the 2 Engineering Labs you started last class.

     

     

     

     

    2-24-20

    UNIT 3 MOVEMENT (menu)

    Unit 3b Speed & Direction (menu)

         Engineering Lab: Wait States & Power Level Investigation (pdf)

     

    Unit 3c Improved Movement (menu)

         Principles of P.I.D. (vid)

         P.I.D. Control (vid)

         P.I.D. Control & Synchronized Motors (pdf)

         P.I.D Speed Control Reference Sheet (pdf)

         Quiz: Speed & Direction (pdf)

         

         Synchronized Motors (vid)

         Engineering Lab: Synchronized Motors Turning Lab (pdf)

         Motor Encoder Target Distances (vid)

         Quiz: Improved Movement (pdf)

     

     

     

     

    2-24-20

    Day 4 Class Agenda: PID & Synched Motors for Labyrinth

    After watching 2 videos on PID Control of Motors, we used the Synched Motors programming skills learned in last class to control robot turns in the labyrinth.

    Quiz on PID and Synched Motors.

     

     

    2-13-20

    Day 3 Class Agenda: Improved Motor Control

    After watching a video on synchronized motors, we worked on the Synchronized Motors Turning Engineering Lab to gather data on synched motors and the ability of your robot to follow tight circles. Quiz next class.

     

     

    2-11-20

    Class Agenda for Day 2

    Unit 2 Programming Procedure for Labyrinth

    After watching the video on Connecting Bluetooth, you will use Bluetooth to connect your 1st programming code for Unit 2, the Labyrinth Challenge. When your robot makes its final stop at the destination location of the labyrinth, code the robot to make 2 victory beeps with a PlaySound or PlayTone coding statement. Remember to use Whitespace and Pseudocode to make your code easily understood by someone looking at it.

     

     

     

     

    2-5-20

    By now, you should have finished building your REM Robot and have practiced coding it to do basic motor movements. Now it is time to prepare for the Labyrinth Challenge.

    Today, you will be connecting to Bluetooth and write your 1st Program.

     

     

     

     

    2-3-2020

      Link to the RobotC Curriculum

    Unit 1 Agenda: FUNDAMENTALS (Word Doc)

    This Word document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 1.

    Unit 1 Agenda FUNDAMENTALS (pdf Doc)

    This pdf document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 1.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    5-31-19

    We are now going to start our final project, using LabView programming to make a drone rise, hover, then land. If you can figure out joystick control, you will get a perfect score. This project is your final exam.

    Basic LabView directions for drone programming

     

     

     

     

    5-2-19

    We have started Mission 2 of Operation Reset Virtual Gaming Programming. The file is Sector 2 West Road Insertion.

     

     

     

     

    4-1-19

    We will use our knowledge of Automatic Thresholds and Line Counting and apply it in Unit 5c VARIABLES & FUNCTIONS: Patterns of Behavior. You will be pragramming simple statements of wanted behavior that will call up pre-coded functions of behavior. 

    Watch the 5 videos in the Patterns of Behavior section of the VARIABLES heading. This will give you background information on how to code your robot to negotiate desired motions in the "Warehouse" line-counting version of the labyrinth project.

     

     

     

     

    3-28-19

    Finish yesterday's lesson on Line Counting.

     

     3-27-19

    Unit 5c VARIABLES: Line Counting

    There are 5 Line-Counting Videos that you can watch to help you achieve today's goal:

    Counting vid

    Line Counting Part 1 video

    Line Counting Part 2 video

    Line Counting Part 3 video

    Line Counting Part 4 video

     

    Modify your Unit 5B VARIABLES: Automatic Thesholds code to accommodate the Unit 5c VARIABLES: Line Counting code for making your robot move forward, counting 5 lines of masking tape, then stop.

    Unit 5c Line Counting Videos in printed pdf format

     

     

     

     3-26-19

    Same lesson Plan.

     

     3-22-19 

    We are now going to allow our robot to automatically determine the light and dark light reflection values for our red-light reflectivity sensor. This will enable the robot to select the proper values under different battery conditions or robot locations. Then the robot can follow a line (curved masking tape).

    Unit 5b Automatic Thresholds menu

     

    Unit 5b Automatic Thresholds: Values & Variables pdf

     

    Unit 5b Variables & Data Types Reference pdf

     

     

     

     

     

    3-20-19

    UNIT 5 VARIABLES

    Unit 5a Automatic Thresholds: Assigning Variables

     

     

     

     

    3-18-19

    If you have finished the Labyrinth-with-Sensors Project, attach a sound sensor to your robot and make the motor speed depend on the sound value that the sound sensor is receiving. The Curriculum Menu for this Unit 4b is here.

     

     

     

     

    3-7-19

    UNIT 4 SENSING Overview of Topics: Using Sensors

    Unit 4a SENSING: Wall Detection: Touch Sensors

     

     

     

     

     

    3-4-19

    UNIT 3

    Labyrinth Challenge: Use Motor Encoder Degree Rotation Values during straight runs. Use Synched Motors Values for turns. See if you can get a smooth turn, where one wheel simply moves faster than the other. This challenge is more challenging than our 1st one. Expect difficulties. Consult one another.

    Finish the 2 Engineering Labs you started last class.

     

     

     

     

    2-26-19

    UNIT 3 C

    Labyrinth Challenge: Use Motor Encoder Degree Rotation Values during straight runs. Use Synched Motors Values for turns. See if you can get a smooth turn, where one wheel simply moves faster than the other.

    Finish the 2 Engineering Labs you started last class.

     

     

     

     

    2-13-19

    UNIT 3 MOVEMENT (menu)

    Unit 3b Speed & Direction (menu)

         Engineering Lab: Wait States & Power Level Investigation (pdf)

     

    Unit 3c Improved Movement (menu)

         Principles of P.I.D. (vid)

         P.I.D. Control (vid)

         P.I.D. Control & Synchronized Motors (pdf)

         P.I.D Speed Control Reference Sheet (pdf)

         Quiz: Speed & Direction (pdf)

         

         Synchronized Motors (vid)

         Engineering Lab: Synchronized Motors Turning Lab (pdf)

         Motor Encoder Target Distances (vid)

         Quiz: Improved Movement (pdf)

     

     

    2-11-19

    Unit 3: MOVEMENT (menu)

    Unit 3a Moving Forward (menu)

            Programming Dissection (Video)

            Programming Dissection & Timing (pdf)

            Timing (Video)

            Moving Forward Quiz (pdf)

     

     

    Unit 3b Speed & Direction

         Motor Half Power (vid)

         Turn & Reverse (vid)

         Motor Half Power, Turn & Reverse (pdf)

     

     

     

     

     

    2-8-19

    By now, you should have finished building your REM Robot and have practiced coding it to do basic motor movements. Now it is time to prepare for the Labyrinth Challenge.

    Today, you will be connecting to Bluetooth and write your 1st Program.

     

     

     

    2-5-19

      Link to the RobotC Curriculum

    Unit 1 Agenda: FUNDAMENTALS (Word Doc)

    This Word document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 1.

    Unit 1 Agenda FUNDAMENTALS (pdf Doc)

    This pdf document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 1.

     

     

    Unit 2 Agenda SETUP (Word Doc)

     This Word document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 2.

    Unit 2 Agenda SETUP (pdf Doc)

     This pdf document contains hyperlinks for video and pdf lesson content for this unit. It outlines the entire structured content for the 3 lessons of Unit 2.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    5-4-18

    We have aleady built the Tetrix arm-gripper robot body and have started to wire its battery circuitry. After you finish building the servo-driven arm and servo-driven gripper, you will select any sensor(s) of your choice and program your robot to autonomously go to one side of the lab table, pick up an object, and deliver it to the other side of the lab table.

    Here is a printable pdf file of the movement & servo videos. The currriculum learning menu is a good starting point for getting started on using RobotC to program your Tetrix robot. At the menu, if you click on Movement, and then Tetrix, you'll see lots of support materials, including those I've already hyperlinked.

    Additional Resources on servos are the following videos and reference sheet:

    Intro to Servos video

    Using Servo Motors video

    Debugging Servos video

    Servo Refeence Sheet

     

     

    4-2-18

    We are working on a project that requires your robots to detect infrared emissions from a soccer ball and autonomously pursue it for a friendly competition. Lots of opportunities for creative building and programming!

     

    2-13-18

    Day 5, 6, 7 Class Agenda: Wall Detection with Touch & Ultrasonic Sensors

    After Attaching the Ultrasonic & Touch Sensors to your robot, and watching the videos on Sensors, While Loops, and Boolean Logic, you will program your robot to follow the Labyrinth using these sensors and programming concepts.

     

     

    2-9-18

    Day 4 Class Agenda: PID & Synched Motors for Labyrinth

    After watching 2 videos on PID Control of Motors, we used the Synched Motors programming skills learned in last class to control robot turns in the labyrinth.

    Quiz on PID and Synched Motors.

     

     

    2-7-18

    Day 3 Class Agenda: Improved Motor Control

    After watching a video on synchronized motors, we worked on the Synchronized Motors Turning Engineering Lab to gather data on synched motors and the ability of your robot to follow tight circles. Quiz next class.

     

     

    2-1-18

    Class Agenda for Day 2

    Unit 2 Programming Procedure for Labyrinth

    After watching the video on Connecting Bluetooth, you will use Bluetooth to connect your 1st programming code for Unit 2, the Labyrinth Challenge. When your robot makes its final stop at the destination location of the labyrinth, code the robot to make 2 victory beeps with a PlaySound or PlayTone coding statement. Remember to use Whitespace and Pseudocode to make your code easily understood by someone looking at it.

     

     

    1-30-18

    Class Agenda for Day 1

     Unit 1 Procedure for Updating Firmware and first program

    After we finished building our REM Robot, we are now getting ready to write our first move & stop program using RobotC code. First, we have to update the firmware on the NXT brick. To help you with updating your NXT firmware and with writing your first program, open the Word document in the Resources section called Procedure to upgrade NXT firmware and Writing 1st program

    When you have completed the 1st basic move and stop programming exercise, your challenge will be to write code that makes your robot perform the following tasks in order: a. Move forward at half speed for 3 seconds, then b. Turn in place to the right for half a second (at any speed), then c. Move backward at full speed for 1 second. This 2nd programming exercise is not too difficult, but it will require you to pay attention to coding various motor behaviors while still paing attention to Pseudocode and Whitespace.