digital variables - kidsparkeducation.org
TRANSCRIPT
1
v2.1
Digital Variables
Student Engineering Workbookv2.0
Systems of Technology: Loops & Variables
Team Members:
1. 3.
2. 4.
Assemble a MechanismPlace a check in each box as each step is completed.
1. Follow the step-by-step instructions on page 1 in the Curriculum Packet to assemble a simple mechanism. Curriculum Packet - Page 1
2. Follow the step-by-step instructions on page 2 to connect the ROKduino, a Light Module, and a Bump Sensor to the mechanism. Curriculum Packet - Page 2
Create a Toggle Switch (Digital Variables)Place a check in each box as each step is completed. For true/false questions, circle the correct answer.
3. Follow the step-by-step instructions to learn how integer variables can be used to create a counting device. Curriculum Packet - Pages 3 - 9
4. True or False. A digital variable has a name, data type, and a value.
5. True or False. A digital variable can only be one of two states or values (true or false).
6. Determine the name of the digital variable block shown below.
Name: ___________________________________________________________
7. Determine the value of the digital variable block shown below.
Value: ___________________________________________________________
Total Points
/7 ptsWorkbook:
/25 ptsChallenge:
2
Design & Engineering ChallengeFollow each step in the design & engineering process to develop a solution to the challenge. Place a check in the box as each step is completed. Fill in the blanks when necessary.
1. Identify The Challenge
Challenge: ________________________________________________________________
Reviewchallengespecifications/criteria.Curriculum Packet - Page 13
2. Brainstorm Ideas & Solutions
Discuss design ideas.
Sketch out ideas and consider which input sensors and output modules will be used in the design. See page 3
Consider building components and cost.
3. Build A Prototype
Build a working prototype of the design including an example program/sketch. See pages 4 - 5
4. Test & Improve The Design
Test & improve the design for performance and consistency.
Review gradic rubric (page 7),aswellasthechallengespecifications/criteria.
Considerwaystoreducecostwithoutsacrificingqualityorperformance.
Finetunethesketch/program.Lookforwaystomakethesketch/programmoreefficient.
5. Explain The Design
Completeadesignspecification.See page 6.
Discuss the following items with your team and be prepared to share with the rest of the class. a.Howdidtheteamarriveatthefinalsolution?DiscusshoweachstepintheDesign & Engineering process was used to develop the design.
b.Isthedesignrealisticandwell-proportioned?Doesitfunctionconsistentlywell?Howcoulditbeimproved?
c.Howdideachteammembercontributetowardstheoveralldesign?Doyoufeellikeeveryonehadanequal opportunitytocontributeinthecreativeprocess?
d.Istheteampreparedtosharedetailedspecificationsofthedesigntoothers?
3
Inputs
Idea SketchpadUse the space provided below to sketch out design ideas. Make sure to consider the mechanical system as well as which sensors and output modules you would like to include in the design.
Outputs
Motor Module
Light Module
Light Sensor
IR Receiver Sensor
Low Power IR Transmitter
High Power IR Transmitter
ROK Star Sensor
Bump Sensor
Angle Sensor
Sketchpad
4
Identifying Inputs & OutputsList all of the input sensors and output modules used in the design. This information will be important as you develop a sketch/program that will be uploaded to the ROKduino and used to control the design.
InputsList all of the sensors that are used in the design and identify which input ports they are connected to.
OutputsList all of the output modules that are used in the design and identify which output ports they are connected to.
1.
2.
3.
4.
5.
6.
7.
8.
1.
2.
3.
4.
Developing a Program/SketchThe ROKduino can be programmed to read information from sensors connected to input ports, process that information into relevant commands, and send those commands to modules connected to the output ports. On the following page, start writing out what you want your build/project to do based on the input sensors and output modules that were used in the design. This will be helpful as you prepare to create an actual program/sketch on a computer. Once you have everything written out, you can go ahead and create a program/sketch on your computer.
Example: If the Bump Sensor that is connected to Input Port #1 is pressed, then the Motor Module that is connected to Output Port #1 should rotate Clockwise (at full speed) for 3 seconds and then stop.
* Sensor names listed on page 3.
* Output Module names listed on page 3.
5
Developing a Program/SketchWrite out what you want your build/project to do based on the input sensors and output modules that were used in the design. Onceyouarefinished,youcanusethisinformationtostartcreatingtheactualprogram/sketchonyourcomputer.
*If teams are having trouble developing a sketch, try reviewing example sketches from previous Kid Spark robotics lessons.
6
Design SpecificationDeterminethespecificationsofthecompleteddesign/project.Teamscanusethesespecificationsastheypreparetopresent their design to others.
cm
Engineering materials used: x 2 = Total Cost $
Length Depth Height
cm cm
Project Dimensions
Cost Analysis
Product Innovation/Invention:
Purpose:
Engineering Notes: (Howdoesthedesignwork?Arethereanykeyengineeringmaterialsthatmakethedesignfunctionwell?)
7
Challenge EvaluationWhen teams have completed the design & engineering challenge, it should be presented to the teacher and classmates for evaluation. Teams will be graded on the following criteria:
Design and Engineering Process:Didtheteamcompleteeachstepofthedesignandengineeringprocess?
Design Specification:Didtheteamcompletethedesignspecification?
Team Collaboration: Howwelldidtheteamworktogether?Caneachstudentdescribehowtheycontributed?
Design Quality/Aesthetics: Isthedesignofhighquality?Isitstructurallystrong,attractive,andwellproportioned?
Presentation: Howwelldidtheteamcommunicate/explainallaspectsofthedesigntoothers?
Design Specification
Team Collaboration
Design Quality/Aesthetics
Complete/well-detailed and of high quality
Every member of theteam contributed
Great design/greataesthetics
Most members of theteam contributed
Good design/goodaesthetics
Average design/average aesthetics
Poor design/pooraesthetics
Few members of the team contributed
Team did not work together
Presentation
Points
Total Points
Proficient4 Points
Advanced5 Points
Partially Proficient3 Points
Not Proficient0 Points
/25
Grading Rubric
Complete/opportunities for improvement
Incomplete/opportunities for improvement Incomplete
Great presentation/very well explained
Good presentation/well explained
Poor presentation/poor explanation
No presentation/no explanation
Design & Engineering Process
Completed all 5 steps of the process
Completed 4 steps of the process
Completed 3 steps of the process
Completed 2 or fewer steps of the process
8
ROKduino TroubleshootingThe following guide can be used to troubleshoot common issues that may arise when working with the ROKduino and Arduino/Ardublock software.
Software Installation Issues
1. Can’t locate Arduino software on the computer ?
Mac - In the applications folder, locate and select Arduino. If Arduino is missing from the applications folder, visit kidsparkeducation.org/downloads to download ROKduino software for MacOS.
PC - In the applications folder, locate and select Arduino. If Arduino is missing from the applications folder, visit kidsparkeducation.org/downloads to download ROKduino software for Windows.
2. Can’t locate Ardublock software on the computer ?
Mac - Visit kidsparkeducation.org/downloads and run the MacOS installer to download all ROKduino software including Ardublock.
PC - Visit kidsparkeducation.org/downloads and run the Windows installer to download all ROKduino software including Ardublock. Note: Each new user will need to run the User Installer that will be downloaded on each user’s desktop. Look for the Kid Spark icon located on the desktop.
Operating Issues
1. Can’t get sketch/program to upload to the ROKduino?
a. Make sure the ROKduino is plugged in to the computer via USB.
b. Make sure the correct USB port is selected.
- Go to Tools -> Port -> ROKduino Note: If the ROKduino option is not available, try unplugging the USB and reconnecting it to a USB port. Repeat this with a different USB port if neccessary.
c. Make sure the selected board is set to ROKduino.
- Go to Tools -> Board -> ROKduino
d. Reset the ROKduino.
- Press and hold the reset button on the top of the ROKduino while simultaneously uploading a program to the ROKduino. Release the reset button after the program has started uploading.
2. Program will upload to the ROKduino, but not powering Motor Modules or Light Modules?
a. Make sure the ROKduino is powered on.
b. Make sure the program that you created is correct.
- Double check each step of the program and change if needed. Note: pay special attention to inputandoutputvalues,andlookforpossibleconflictswithinthesketch.
For further support please contact [email protected].
55-02248-200