Cool bananas – coding holds no fear for you!
It’s now time for some community and group hugs. Next and final stop – a collaboration activity. Enjoy!
![]() |
Code Challenge |
Blink Those Big Brown Eyes!
Grades:
Time:
Subject:
5-7
10 minutes
Computer Science
Electronics
This activity introduces a simple look at existing computer code and challenges you to change it. No code experience? Have no fear! It’s simple!
Coding is the act of writing instructions in a language a computer understands so that it can execute work. Computers don’t speak our language so we need to learn how to talk to them in languages they do understand. Just like learning a foreign language to converse with other people around the world, programming languages enable you to talk to computers! Examples of languages are Aduino, Python, and C++. In this activity you’ll be challenged to change up some Arduino code and make it your own!
Understand & Recognize:
This activity can be done with no materials – look at the code and figure out how it works! If you have the Arduino IDE installed and an Arduino board handy, all the better! You can test your changes and do some real coding.
Hardware: The”physical” part of a computer or device. If you can thump it on a table, it’s probably hardware.
Software: The computer program or “instructions you write” for the hardware. It’s not something you can thump on the table, but the hardware is worthless without it.
Sketch: A “sketch” in Arduino lingo refers to a computer program you’ve written in the IDE to run your Arduino hardware.
Code: The actual lines of instruction in your computer program (sketch) are code. Code is written in different languages such as Arduino. Code is also a verb – “I’m going to code for a few hours – see you later!”
Arduino IDE: IDE stands for Integrated Development Environment which is a mouthful, but it just means you have all the tools you need to write fun instructions for your Arduino microcontroller to follow.
Input: Things that go “into” a computing system are input. When you type on your phone you are “inputting” information.
Output: Something that come out of. your computing system, like the display on a smartphone, is “output.”
Read Overview and watch video
Remember that “Blink” program? Take another look now and and challenge yourself to change the Arduino code by modifying
Blink as follows:
Look at the rest of the code.
It’s now time for some community and group hugs. Next and final stop – a collaboration activity. Enjoy!
This coding challenge is an extension of PDQ2, “A Peek Under the IDE Hood.” Review the educator notes associated with PDQ 2 and the more extensive information provided in the Overview section if necessary.
Educator Info
Intro to Arduino by Robert O. Grover & Team databot™ is licensed under a Creative Commons Attribution 4.0 International License. Permissions beyond the scope of this license may be available at databot.us.com/contact.