16
To keep the Term 4 STEM Robotic project manageable, we are going to limit the students To keep the Term 4 STEM Robotic project manageable, we are going to limit the students to the following commands. to the following commands. 1. Move Forward 2. Move backwards 3. Turn left 4. Turn right 5. Send a signal to another Edison 6. Receive a signal from another Edison 7. Wait for a period of time 8. Wait for a clap (or any load noise) We will be using the EdBlocks app to start with, students who need to be extended can use a document I have created that translates block coding into Python. These students should use EdBlocks first, then 'reverse engineer' their block coding into Python. This document can be found at tinyurl.com/block2py More about this later! CPAHS.COM CPAHS.COM Our new student portal has a section for coding and robotics. This can be found at cpahs.com Step-By-Step, bespoke Teacher Guide Step-By-Step, bespoke Teacher Guide STEP-BY-STEP, BESPOKE TEACHER GUIDE 1

Step-By-Step, bespoke Teacher Guide - CPAHS

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

To keep the Term 4 STEM Robotic project manageable, we are going to limit the studentsTo keep the Term 4 STEM Robotic project manageable, we are going to limit the studentsto the following commands.to the following commands.

1. Move Forward2. Move backwards3. Turn left4. Turn right5. Send a signal to another Edison6. Receive a signal from another Edison7. Wait for a period of time8. Wait for a clap (or any load noise)

We will be using the EdBlocks app to start with, students who need to be extended canuse a document I have created that translates block coding into Python. These studentsshould use EdBlocks first, then 'reverse engineer' their block coding into Python.

This document can be found at tinyurl.com/block2py

More about this later!

CPAHS.COMCPAHS.COMOur new student portal has a section for coding and robotics. This can be found atcpahs.com

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 1

Students will start programing the Edison RobotsStudents will start programing the Edison Robotsusing EdBlocks.using EdBlocks.This is an online app that can be clicked on at cpahs.com

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 2

The EdBlocks online appThe EdBlocks online app1. Once you are in the app, you can choose from the catagories of commands at thetop.

2. Once you have clicked on a catagory, you can drag a block down and connect it tothe start button.

3. Then click program edison. See the end of this document for instructions on how toprogram the Edison.

Programming the EdisonProgramming the EdisonThis is a step by step guide specific to the Samsung Lapsops

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 3

Once you have created a block program, click 'Program Edison'.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 4

Connect the Edison lead to the headphone jack of theConnect the Edison lead to the headphone jack of theSamsung laptop.Samsung laptop.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 5

Switch the Edison on and connect the other end of theSwitch the Edison on and connect the other end of thelead to the Edison.lead to the Edison.It's easier to do in this order. The lead gets in the the way of the switch.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 6

Click the speaker icon, and try to turn the volume up toClick the speaker icon, and try to turn the volume up tofull!full!

High Volume can cause hearing lossHigh Volume can cause hearing lossThis is Samsung trying to protect your hearing. Except, you are not using headpones inthis case. Click Allow

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 7

Now click the speaker icon again. You should we ableNow click the speaker icon again. You should we ableto turn it up full this time.to turn it up full this time.Unfortunately, this will need to be done every time you plug the lead in. So keep itplugged into the laptop.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 8

Press the round record button on the EdisonPress the round record button on the EdisonBoth LED light will glow red.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 9

The click, 'Program Edison'The click, 'Program Edison'You should hear a faint electonic noise.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 10

When the program download is successful, you willWhen the program download is successful, you willhear a beep.hear a beep.Press the triange button to run the program.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 11

The 8 commands we need to get us started withThe 8 commands we need to get us started withEdison RobotsEdison Robots

1. Move ForwardMove Forward2. Move backwards3. Turn left4. Turn right5. Send a signal to another Edison6. Receive a signal from another Edison7. Wait for a period of time8. Wait for a clap (or any load noise)

Move ForwardMove ForwardThis makes the Edison roll forward. The number represents seconds. You can use upto 2 decimal places.

Eg 3.75 seconds

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 12

Move backwards. This makes the Edison rollMove backwards. This makes the Edison rollbackwards.backwards.

Turn LeftTurn LeftThe block below instructs the Edison to turn the right wheel only for 0.4 seconds. Thisresults in a 90 degrees left turn. Depending on the surface, this may change. Eg 0.39

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 13

Turn RightTurn RightThe block below instructs the Edison to turn the left wheel only for 0.4 seconds. Thisresults in a 90 degrees right turn. Depending on the surface, this may change. Eg 0.39

1.Send a signal to another Edison1.Send a signal to another EdisonThis will send a signal to another Edison. The other Edison will have a program that iswaiting for this signal.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 14

Receive a signal from another EdisonReceive a signal from another EdisonIn this case, the signal is recieved and the 2nd Edison rolls forward for one second.

Wait for a period of timether EdisonWait for a period of timether EdisonIn this case, the Edison will wait for one second before rolling forwards for one second

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 15

Wait for a clap (or any load noise)Wait for a clap (or any load noise)In this case, the Edison will wait for a clap, the roll forwards for one second.

Step-By-Step, bespoke Teacher GuideStep-By-Step, bespoke Teacher Guide

STEP-BY-STEP, BESPOKE TEACHER GUIDE 16