WEEK. Learning Objective. Materials to Prepare. Summary of Class LESSON

Size: px
Start display at page:

Download "WEEK. Learning Objective. Materials to Prepare. Summary of Class LESSON"

Transcription

1 WEEK 01 Tender Tender Browsing Learning Objective Let s take a look at how making boards are used in various fields and think about our future projects. Materials to Prepare A4 sheet, color markers, camera, LED (r,g,b), mercury cell, magnet, glue gun, large blackboard. Summary of Class Duration Activity Activity Description 30mins 30mins Introduction of Class Ice Breaking Appreciate works from various fields and by looking at the case of two children, think about what your will learn in this class. Make groups of four and sit facing each other at a table. Write three words to describe yourself (hobby, dream, strength) on a piece of pare and introduce yourself based on the keywords and ask each other one or two questions and try to get to know each other naturally. LESSON Hello Everyone! You will be taking this class for the next fifteen weeks. After seeing the title of this book, I hope you will have a chance to think about what you will be learning in class. What kind of class do you think it will be? It may be a puzzling question. Most of the students would have never taken this kind of class before. That is why I am trying to explain about the class from now on. Have you ever made something yourself in your life? Some students may have experiences of cooking, making robot kit or knitting winter muffler. Students who like electronic technology or assembling may have created fun stuff with maybe radio assembling kit, science box or Lego mind storm. In this class, we plan to make something using hand-sized computer. You don t have to know about what this small computer is yet. You will be learning step by step. So hand-sized small computer? I would like you to use your imagination. There are many types of computers starting from PC at home to super computers. Smart phones and small computers are also computers. There are so many types of computers that you are not aware of. 50mins 30mins Light Shadow and Light Throwing PMI Recollection Make LED for throwing by sticking mercury cell and magnet on LED.By taking picture using technique where you expose camera for a long period of time in a dark space, try drawing pictures with light. Write down two to three points on what you liked, what you thought was insufficient, and what was interesting and talk about them in groups. Try activities where students write comments. 2 Junior Software Academy 01 Tender Tender Browsing 3

2 Computers exist in hundreds of forms for different purposes. For what purposes have you mainly used computer? You probably used it with purposes such as document work, photo editing, internet, game, etc. Among various forms of computers, we will be using a computer with limited performance. Among them, we will learn about the easiest method for using computer. By the end of this course, you will be able to give orders to computer. It is just like training a dog. Daniel Rozin s Wooden Mirror Daniel Rozin s Wooden Mirror is a glass concept artwork made of wood. Sub-motor is attached to each piece of wood is instantly reflected on its surface. A person s face is represented by sub-motors attached to wooden pieces that move according to shadings of reflections of the person. Then what can you make with this tiny tiny computer? For example, how do you turn on the lights when you just get home? You will turn on the lights in the dark room by pushing the switch on the wall in most cases. However, what should you do if you find it inconvenient to turn on the light with switch and would rather prefer to have the light automatically turned on when you open the door? Just think about it. You will think of many possible ways by the time you are done with this course. Don t be afraid of the seemingly difficult material. This class allows you to learn by a lot of exercises where you make, fix, and confirm. You will find yourself enjoying the learning process. Before we get started, I will introduce some projects made with hand-sized computer to help you understand. Website Movie Junior Software Academy 01 Tender Tender Browsing 5

3 Jin-Yo Mok s Music Box Jin-Yo Mok s Music Box is an artwork that makes noise when spectators key in LED pattern by spinning crank handle. The way it interacts through internet gives an impression of a music box. Artworks that have been introduced are mostly interactive pieces that use digital technology. This field is called Interactive Media Art. Artists use a variety of technology to create their artworks. Interactive Media Art A variety of digital media have been introduced thanks to the development of IT technology these days. TV, video, and smart phone, which you can easily find around you, are all types of digital media. The genre of art that modern artists created through digital media is called the media art. The famous video art works by Baek Nam-jun is representative example of media art. Interactive Media Art refers to works of media art that responds to or interacts with audience. Website Movie Let me introduce to you some more interesting projects other than artworks. Stephen Hobley s Laser Harp Laser Harp is an instrument made of light. The light is shot into the sky and every time you touch it, the sound changes. It is a virtual instrument that uses laser and operates like a keyboard instrument. Website Movie blog/laser-harp-2009/ watch?v=yta0ajrboxu 6 Junior Software Academy 01 Tender Tender Browsing 7

4 Jin-Yo Mok s Music Box Daft Punk LED Helmet by Volpin Props Jin-Yo Mok s Music Box is an artwork that makes noise when spectators key in LED pattern by spinning crank handle. The way it interacts through internet gives an impression of a music box. Website Movie Website Movie Junior Software Academy 01 Tender Tender Browsing 9

5 Botanicalls, Plant Status Alerters Last but not least, I would like to introduce to you some friends your age. Sylvia Todd and Quin Etnyre already have many fans. Quin Etnyre s Q Techknow Website Movie Quin is a thirteen year-old boy who is the CEO of electronics company Q Techknow that sells electronic kits and different types of sensors and is an electronics engineering mania. Quin lectures on electronic devices on a regular basis and his lectures are known to be of higher quality that those by adults. His representative project is Fuzzbot, a fully autonomous driving robot. Galaxy Dress by CuteCircuit Website Movie the-galaxy-dress/ watch?v=rx9fogfxn9a Quin s Q Techknow s Website Turn Signal Biking Jacket It is a jacket with LED installed on the back just like the car s turn signals for people riding bikes. Website Movie LilyPad/build/turn_signal_jacket.html watch?v=ztnepkwcfxa 10 Junior Software Academy 01 Tender Tender Browsing 11

6 Sylvia Todd s Super Awesome Maker Show LESSON Sylvia filmed and shared her projects for many people to see. this project is easy to follow even for children and it recorded over 1.5 million hits. she won sulver nedal in the National Robot Competition and recently introduced WaterColorBot that she invented to President Barack Obama. Now, let s start with ice breakers. As the word says, it is breaking ice. However, it is not literally breaking the ice. Just like breaking solid cube of ice, creating a warm ambience through short activity is called ice breaking. 1 Sitting in groups Sit with four to five friends facing each other. 2 Finding three key words Write your name big on an A4 sheet. Write three words to introduce yourself. (Favorite movie, what you want to become, hobby, talent, etc.) 3 Asking questions When you are done, pass your sheet to the person on your right. Then one of the people selects one of the key words and asks a question about the key word. Sylvia s website: 4 Answering The person who asks the question draws something or writes a comment below the corresponding key word. After a set of question and answer, another team member asks a question. The answer for each question should be complete in less than three minutes. 5 Taking Turns and Introducing Oneself 12 Junior Software Academy You will find more details at php?uid= There was an introduction of projects that used hand-sized computers and our friends. What is you impression? Technology has developed so that anyone can create new products with ease. By engaging in projects through this class, you can make what you want just like Queen and Sylvia who were introduced. Shall we begin? After a round of question and answer, pass the A4 sheet to the person on your right. If the sheets get passed around, your sheet will eventually come back to you and everyone would have talked about all three key words, right? If there is any key word that has not been introduced, you should give an explanation. 6 Finish When you are done learning about friends in your group, ice breaking is over. With the same group, we will move onto the next activity. You can engage in diverse and fun projects just with the LED. The LED is like a small light bulb that gives out light. Just see how fascinating LEDs are learning through play. 01 Tender Tender Browsing 13

7 PRactice LED Cube Light PRactice Drawing with LED 1 Prepare LED, mercury cell, and paper on your desk. You can draw with LED if you use camera s long exposure technique. 2 In order to have the LED emit light, it has to be connected to the battery. LED and mercury call have electrodes so you have to distinguish between anode (+) and cathode (-). The longer leg is positive. It says + on mercury cell so it is easy to tell which side is positive. Bring anodes of LED and mercury cell together and thrust the mercury cell in between two legs of LED and hold LED with your thumb and index finger. Then LED starts to shine. Using camera s slow shutter speed in the dark, you can draw in the air with LED in front of the camera lens. Don t use a single color. You can draw with a variety of LED colors. Won t it be more fun if you work on this exercise with your friends? 3 Let s make a cube with a sheet of paper. Prepare a square-shaped paper and refer to origami study material to learn how to fold paper into a cube. Insert the LED into your finished cube through a small hole in the bottom. You can simply make a LED light just like the picture below. Shall we bring all your friends lights together? Let s turn off the light and enjoy LED lights for a second. Can you get electrified? LED is a good conductor of electricity and so is human hand but high resistance does not let electricity flow to human hand Furthermore, the mercury cell that we use delivers low output voltage of 3V so even if electricity is flowing, you will not get an electric shock. 14 Junior Software Academy 01 Tender Tender Browsing 15

8 PRactice LED Throwies You can do fun activity by sticking magnet to LED. Tightly fix magnets onto mercury cell that is connected to LED. Now, throw LED onto the metal plate or chalk board where magnets will stick. LED looks more glamorous at night than during the day. We just created a small project using only LED as a warm up. Now, you will be creating more fun projects yourself. Then you will become highly skilled enough to create a project you want yourself. If you try a little harder, you will be able to create many fun projects, right? Now, let us begin in earnest. Spent batteries contain hazardous materials so they must be disposed of safely in a way that is environmentally friendly. Recycle used batteries in battery recycle bins. Next project is an application of LED Throwies developed by the Graffiti Research Lab (GRL) REVIEW Review Let s think about your favorite part among today s activities and share with friends. How is this? LED is the easiest you can find among materials that emit light. You can create such a marvelous project with just LEDs, which you can get easily. Let s think about the part you found the hardest and share with friends. Teachers, 선생님, please refer 참고하세요! to this! Reference Graffiti Research Lab LED Throwies Junior Software Academy 01 Tender Tender Browsing 17

9 WEEK 02 Getting to Know Electronic Circuit LESSON What is a component that is the easiest and the most fundamental in the MAK- ING class? Learning Objective Understand electronic circuit with simple components. Build various circuits on breadboard. To construct the simplest circuit, you need three parts other than the making board. The breadboard is a construction basis that links light emitting LED, electric flow adjusting resistor, and other parts to the outside of the making board. LED Materials to Prepare The component that lights up when current flows is called Light-Emitting Diode (LED). LED exists in various sizes and colors according to each use and are used a lot in our daily life such as LED TV, LED monitor, and LED lamp. + - breadboard LED 330Ω resistor electric wire 1switch AA battery holder Let s first take a look at the form of LED we plan to use. LED is composed of cylindrical lens that emit light and two legs. When you connect electricity to two legs, it lights up. The longer lead is positive (+) and the shorter lead is negative (-). You have to be careful when connecting materials with positive and negative terminals because the direction in which you connect them is important. You can even damage it. Materials with positive and negative terminals start to work only when the current is flowing in the right direction. Wire Summary of Class Duration Activities Activity Description 30mins Introduction of main component Let s find out about LED, Ohm s Law, electric resistance, and breadboard. Electric wire is a material that helps electric current flow. It is sort of like water pipes that help water flow. It supports by connecting materials such as making board, LED, and switch. Electric wire itself does not have positive or negative electrodes so you don t have to worry about the direction you connect. 90mins Practice Let s compose various circuits using breadboard 18 Junior Software Academy 02 Getting to Know Electronic Circuit 19

10 Resistor Resistor is a component that interferes with the current. In other words, the amount of electric flow will decrease when there is a resistor compared to when there isn t. Ohm s Law (hydraulic analogy) Voltage (water pressure) I 10 = It would be easier to understand if you think of the amount of water as voltage, the faucet as resistance, and the amount of water Observe the amount of water flow changing the height of water and faucet. flowing as electric current. When the water amount (voltage) is same and you increase the facet pressure (resistance), then the amount of water flow (electric current) decreases. V R Resistance Electric current The reason why resistance is important is that influx of electric flow may damage the component. That is why we need to use resistance in adjusting the amount currency and to maintain a stable level of voltage. There is a color code in a resistor that represents the size of resistance in colors. The size of resistance is too small and that is why resistance is represented in color bands rather than in text. Refer to the color coding chart to determine the value of resistance. Write down the numbers of the first and the second stripe of colors in order and multiply the two digits by ten raised by power of the number of the third stripe. The fourth band represents the tolerance and accuracy. You might get confused in which direction to read color codes but let s just remember to have the gold and silver color banks come on the right side and read it from the left ± 5 % = 1,000Ω Ohm s Law V I R V = I R I = V/R R = V/I Voltage (V): Unit V (Volt) difference in electric potential between two points. Current (I): Unit (Ampere) amount of charge per unit time Resistance (R): Unit Ω (Ohm) degree to which a component impedes the passage of current BLACK BROWN RED ORANGE YELLOW GREEN BLUE PURPLE GREY WHITE GOLD SILVER NONE Teachers, 선생님, please refer 참고하세요! to this! German Physicist Georg Ohm What is Ohm s Law? It is a principle on current that is flowing in resistance and electric potential energy. Along with Coulomb s Law, it is one of the most important rules in Electrical Engineering. It was discovered by Henry Cavendish in 1781 but was not disclosed until James Maxwell published The electrical research by Henry Cavendish in Since German physicisist rediscovered the rule in 1826 and announced his findings, the rule was named after him and thus was called Ohm s Law ever since % 10% 20% Can you calculate the resistance value below? The color band is orange, orange, and brown in sequence so they represent 3,3, and 1, respectively. When calculated, it is 33*101= 330 Ω. When the voltage ranges from 5 to 9V, then it is appropriate to use 200~300 Ω. 20 Junior Software Academy 02 Getting to Know Electronic Circuit 21

11 Breadboard Making board is small. It is because the smaller making boards are better to use for actual projects but it is difficult to connect hardware components directly. Therefore we use something called breadboard to expand making boards. The advantage of breadboard is that you can easily connect components easily without soldering. You can easily connect and disconnect electric components such as LED, register, and switch. In electronic circuit, there is a rule that the red line represents positive terminal whereas black or blue line represents negative terminal. Therefore you can tell positive from negative terminal with just colors. We need to connect the battery s positive terminal with red and the negative terminal with blue. Composition of Breadboard and Connection Method Holes in each vertical row are interconnected inside the breadboard and they are used to provide ground or power connection to your circuit. They are power suppliers like positive and negative terminals in batteries. You have to find the right terminal when connecting components with positive and negative terminals. The left and right side look exactly the same and play the same role but they are not connected together. To expand the connection, you have to link the two sides with components such as wire or resistor. Teachers, 선생님, please refer 참고하세요! to this! When you observe breadboard after placing it vertically, with furrow in the middle, it is bifurcated into two parts a~e and f~j. Both a~e and f~j are connected internally so electricity flows through. However, electricity is disconnected in the furrow section so you should pay attention. For example, if you connect e and f on the same horizontal line, the electricity will not flow. Electricity does not flow on vertical lines with different numbers as well. Therefore, component or lines to be connected should be aligned into same horizontal line. First, you should check which number line you first connected with and then connect the other end to the other hole with the same horizontal number. Since they are not connected vertically, when trying to connect them on purpose, they need to be connected with a separate wire. On the contrary,+ and - parts on both ends only flow current vertically. Is it difficult? Let s understand how it is actually done by working on the next project. Now we will compose various circuits to familiarize yourself with the bread board. Five holes in each horizontal row are interconnected inside. On each horizontal row, a component to be connected to the component plugged into a on the left side must be plugged into b,c,d,e on the left. They should not be connected to f,g,h,i on the right. 22 Junior Software Academy 02 Getting to Know Electronic Circuit 23

12 PRactice Lighting LED PRactice Using Switch to Light LED Project Goal Project Goal Lighting LED by connecting circuit. Lighting LED by connecting circuit and turning on the switch Hardware Expression The LED starts shining when you connect battery or the power supply to the Hardware Expression breadboard. In this case, electric current flows in the following direction: battery The LED does not light up even when you construct the circuit like the diagram breadboard LED. below. That is because there is a switch. You have to turn on the switch to in order to light the LED Ω resistor 1 330Ω resistor 1 1 You should look more carefully into the length of LED lights when connecting positive and negative terminals. The more bent side on the circuit diagram is the positive terminal. 24 Junior Software Academy 02 Getting to Know Electronic Circuit 25

13 PRactice Using Two Switches to Light LED (Series Circuit) PRactice Using Two Switches to Light LED (Parallel Circuit) Project Goal Project Goal Lighting LED by connecting circuit and turning on two switches. Lighting LED by connecting circuit and turning on two switches. Hardware Expression It is similar to the previous project but this time we are using two switches. The Hardware Expression two switches are connected in series. Therefore, you have to press both of the We will be using two switches again but the two switches are connected in par- switches to light the LED. allel. Therefore, the LED will start shining just by turning on one of the switches Ω resistor 1 330Ω resistor Junior Software Academy 02 Getting to Know Electronic Circuit 27

14 If you can t grasp what series and parallel conduits are, think of single and forked roads. Conduit in series is like a single road so the road ends if the beginning or the ending part of the road gets blocked. However, forked roads can still be passed through even if one side is blocked as long as there is an open way. REVIEW Review Let s think about your favorite part among today s activities and share with friends. Have you successfully completed all four projects? What did you think of the LED lighting projects? The projects we worked on so far did not require any programming. You have learned that LED starts shining when electric current flows through external power breadboard wire switch LED even without programming. The similar principle we learned in the first week where we lit up LED by taping battery on LED applies here. From the third week on, we will be working on a project that entails programming. We will also examine why programming is needed. Let s think about the part you found the hardest and share with friends. 28 Junior Software Academy 02 Getting to Know Electronic Circuit 29

15 WEEK 03 Learning Objective Let s understand making board and make a program that makes one LED` blink and another program that make two LEDs blink alternately. Materials to Prepare making board Twinkle Twinkle LED Blinking breadboard USB Cable 3 LEDs two 330Ω resistors wire LESSON Going beyond what we learned during the first week lighting up LED with mercury cell, let s work on a true LED project. What would you have to do to make a small traffic light with red, yellow, blue LEDs? We are trying to make a traffic light where the red LED lights up for five seconds and turns off, then the yellow LED shines for two seconds and turns off, and then the blue LED shines for five seconds and turns off. After this round, in a reversed order, yellow LED shines for two seconds and turns off followed by red LED, which shines for five seconds and turns off. So let s think about ways to make a traffic light that constantly repeats the sequential order of red (5 seconds), yellow (2 seconds), blue (five seconds), yellow (2 seconds), red (5 seconds). In order to make a traffic light that activates in this order and time sequence, we need a set up that makes it activate automatically. Then what do you need to make the hardware activate automatically? That is right. You need a program that gives commands to a computer. Program can control on computers (PC). Then how do you attach red, yellow, and blue LED on computers? It is the making board that we will learn about in a second, which you can use in this case. You can consider making board as hand-sized computer. It acts as a middle-stage computer or intermediate bridge to connect components like LED to the computer to put them to practical use. The making board has the control unit (CPU) that can process control and computing commands and has many parts (also called connectors) where you can plug in components pins. You can connect components such as LED, sub-motor, and temperature measuring sensor to the computer through the making board. Summary of Class Duration Activity Activity Description 20mins Introduction Making Board of Let s find out about making boards. Let s take a look at the board (hardware) and program (software). We will be studying Arduino Platform that is composed of making board (hardware) and program (software). The making board is a physical set-up for connecting computer and hardware components and the programs activate the components stuck to the making board. You can transfer the contents you programmed from the PC window to the board. 40mins 20mins Understanding Arduino Program Understanding Example Code Let s install Arduino software and execute example code and check making board actually functioning Examine example code (sketch) and understand the grammar 20mins Blinking 1 LED Write a program that makes 1 LED blink every second. 30 Junior Software Academy 20mins Blinking 2 LEDs Write a program that makes 2 LEDs blink taking turns every second. 03 Twinkle Twinkle LED Blinking 31

16 The Arduino, the prototype of making board, was invented for artists, designers, and amateur engineers who are interested in animated objects. Therefore, the advantage of using Arduino is that people can create many things without in depth knowledge about the hardware. Then shall we take a look into the Arduino platform in more detail? Making Board Among the plugs on both sides of USB cable, connect the flat pug (USB A, the one on the right) with the computer s USB connector and the round plug (USB B, the one on the left) with the USB connector of the making board. 3 External power connector 5 serial output (TX) 4 serial input (RX) As a connector that connects to the external power (battery), the power is supplied when you connect the battery here. If you connect the USB connecter and upload the program to the making board and supply power by connecting battery adapter to the external power connecter, then the making board would still activate even if you unplug the USB connecter. 2 4 Digital input/output pin 3 3.3V pin 1 analog input (0~5) 5V pin ground pin reset button Digital input/output pin is the passageway for input and output of digital signal. Each pin has number between 1 and 13 and the ones with ~ can also serve as passageway for input and output of analog signal as well. On our making boards, every pin has built-in LED (This will be our next exercise.). Digital input/output is positive (+). 5 Digital ground pin We will take a closer look at the parts that play major roles in a making board. 1 The brain of making board Microcontroller is like the CPU of a computer. It plays the role of our brain. It saves and executes programs as it has small storage area inside. 2 USB connector USB connector is the passageway that connects making board and computer. It also supplies power as well as connecting them. GND is negative and means ground. For current flow, you need both positive (+) and negative (-). This pin is the negative terminal on the making board. The things that haven t been covered will be explained gradually as we work on our project. Now, as we closely examine the board first, why don t we go over programs? The USB cable used here is peculiar? The USB cable in the picture looks different from the USB extension cable that we commonly use, right? USB cables come in a variety of types and the names change according to the cable plugs attached to the each end. To be more precise, the USB cable used here is called USB A-B because it is a convergence of USB A plug that you connect to the computer and USB B that you connect to the Arduino. 32 Junior Software Academy 03 Twinkle Twinkle LED Blinking 33

17 Arduino Program PRactice Installing Arduino Software Arduino Program is used for programming commands that the making board will be executing and the programming is carried out on your computer. When you transfer your programs to the making board, you can execute the hardware connected to the making board. The process in which you transfer the program to the making board is as follows: First, we will install the Arduino software. One thing to note is that when installing the software, making board and computer should be disconnected from the USB cable. 1 Download the program that matches your OS at 2 When you implement the file, a window will show up. Click <I Agree> to proceed Writing sketch Compiling to the format of the program compatible to the making board Through USB cable, you transfer/ upload program that you created on your computer to the make board Activate the making board 3 Keep the initial default setting and press <Next> The programming process is called sketching on the Arduino platform and it implies that you can write the program with ease just as you would sketch up drawings. In order to write programs, our making board uses the same program as Arduino to execute programs. Furthermore, the act of coding the program to make the making board or the microcontroller of the making board, to be more precise, understand is called compiling. The act of transferring the compiled codes is called uploading. The Arduino software takes care of everything starting from program environment, writing program to transferring compiled code to the making board. It is very easy to use Arduino software so it won t take long to learn how to use the program. 4 Click <Browse> and select a folder to save the file. The most commonly designated file is C:/ Program Files/Arduino folder. Teachers, 선생님, please refer 참고하세요! to this! What is integrated development environment? When you look for software that writes programs, you will find the word integrated development environment It is written as IDE for short. 5 Click <Install> on the above screen. Then a window for installation will pop up. 34 Junior Software Academy 03 Twinkle Twinkle LED Blinking 35

18 6 Press <Close> once installation is complete. 7 Many files will be formed under the designated file. 9 Connect computer and making board with the USB cable. Before you write the program, you have to designate a port. Go to computer system [Start] [Control Panel] [System and Security] [Equipment Manager]. Open a menu called Port and check what come after the parenthesis after Arduino Uno (COM1 or COM3). Note that it is marked Arduino Uno and not making board. 10 Then designate a model name. Select the model used in [Tool Bar] [Board]. 8 Software and driver installation is complete. Now run aduino.exe. 11 Return to Arduino Uno software and designate a port with the same name as the one you found in Equipment Manger of [Tool Bar] [Serial Port]. If you do not designate a port, you cannot transfer the sketch to the board. After installation, you must designate a model. You cannot upload the program if there two are designated properly. You only need to install the program once but you have to designate the port and the model every time you run the program. You are now ready to write the program. Port? Model? Why are these important? Simply said, port and model are places and communication method. It is telling where to find each other and how to communicate with each other. 36 Junior Software Academy 03 Twinkle Twinkle LED Blinking 37

19 PRactice Examining the Software Screen Arduino Software Integrated Development Environment (IDE) Let s go over the tools that are most frequently used. The five buttons on the left are used most often. You can find another button with somewhat different function on the far right..now let s look at the menu and tool bars. It is the same one you see on software such as Hangle, Word, and Excel. In the large area in the middle, you can write your code. (It is called sketch in Arduino language, right?) The status bar shows the process or the result of compilation and the notification area notifies data or the message sent from software to the making board Verify Verify New file Save Upload Open Serial monitor It checks your sketch for any issues you might have and when you don t, then it coverts your sketch to a language that the machine can understand through a process called compilation. Tool Bar Coding Section 2 Upload It uploads the converted code, which does not have any error after pushing the <Verify> button, to the Arduino board. 3 New file It is a button you press when making a new programming file. A new file opens. 4 Open It is used to open the sketch you wrote before. Status Bar Notification Area 5 Save It is used to save the sketch you are writing. 6 Serial monitor It is used to check the values you are sending in serials back and forth. 38 Junior Software Academy 03 Twinkle Twinkle LED Blinking 39

20 PRactice Exercising with Arduino Examples Arduino program has basic programs that first-time users can play with. As the saying goes, to see for oneself is worth all the books or travel. Let s learn about how to write an Arduino programs by taking a look at the actually running making board As the Blink example file opens, example sketch appears on the coding section. This example sketch has the code to blink LED connected to the number 13 pin on the making board. Plug the making board to the computer s USB port Sketch (the source code) Through USB connection, upload the sketch and wait for a few seconds before the board restarts. Check your sketch activating Executing examples 1 Connect the making board and computer with a USB cable. 2 Prepare your sketch. Use the example sketch in the Arduino software. [File] [Example] [01. Basics] [Blink] You need a LED already? All digital pins in the making board that we use have built in LED so you don t have to connect a separate LED. 4 It starts compiling once you press the <Verify> button. 5 Once the verification is over, it says compilation complete on the status bar. You can find the result on the notification area and you can tell that the size of the example code is 1,084 byte. 40 Junior Software Academy 03 Twinkle Twinkle LED Blinking 41

21 6 Now send compiled code to the making board. Press on the <Upload> button. Examining the Example Code Let s take a look at the code of the example. Carefully study the code remembering the below principles. 7 If the upload is properly complete, a message that says Upload Complete will show up on the status bar. 1 Code is executed from top to bottom. 2 Code in the setup ( ) function is executed only once when the making board starts activating. You do all the preparations for activating the entire program here. 3 Code in the loop ( ) function runs repeatedly as long as the making board is powered. So you write the things for your program here. 8 When the uploading is complete, you will see transmitting (TX) and receiving (RX) lights blinking. This means that the data is being sent between the computer and the making board back and forth /* Blink Turns on an LED on for one second, then off for one second, repearedlly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. int led = 13; Designate a name 08 // the setup routine runs once when you press reset : 9 This shows the sketch being executed after uploading. The LED inserted on the surface of the making board blinks once every second void setup() { pinmode(led, OUTPUT); } // initalize the digital pin as an output. void loop() { digitalwrite(led, HIGH); delay(1000); digitalwrite(led, LOW); Set the corresponding digital pin as output. Light the LED (HIGH refers to the voltage level) Wait for a second Turn off the LED (Have the voltage low) 17 delay(1000); Wait for a second. 18 } You are probably not sure what to look for since you are not familiar with the code format. Let s get started examining each part closely. When the making board starts running, how do you stop it from running? In order to stop the activation of the making board, you just disconnect the power (USB that connects compute and making board). There is no on/off button so you disconnect the power to stop the making board from running. 1 Footnote The first part we are going to look at is footnote. This part has nothing to do with the program execution. As part of the code, the part in Korean is not text but phrases that program coders (people) leave to make it easier to read. When the footnote is longer than a single row, you write /* in front and */ at the end of the footnote. Furthermore, when the 42 Junior Software Academy 03 Twinkle Twinkle LED Blinking 43

22 footnote is shorter than a single row, just write // in the front. The computer reads the program skipping the rows with such symbols. We should be reading the programmer s intention when these symbols come up. When reading the footnote, you can tell that this program is for turning on and turning off the LED every one second. 2 int led = 13; As explained before, this sketch example is an example that can be applied on a standardized Arduino Uno board. That is why there is a footnote that says, most of Arduino board has pin number 13 connected to the built-in LED. PRactice Blinking Two LEDs Project Goal Write a program where two LEDs that blinks for a second alternately. Hardware Expression 3 Variable and Default Setting Sketch code is composed of the part that designate variable to be used in a program, void setup ( ), and void loop ( ). To explain these in order, it is as follows. First name the number thirteen led. Then execute void setup ( ). This section is the program setting or default setting. This part is executed only once. Use a function called pinmode here and set digital pin number 13 as the output. PinMode is the function used to designate whether to use the corresponding pin as input or output. Use pinmode(led, INPUT); when you use the pin as input. Semicolon (;) attached to each code implies that a command has been complete. This is computer syntax so you must write this. A tprogram cannot be compiled if semicolon is not placed where it is needed. GND 6~ 5~ 1 4 Repetitive Execution Void loop ( ) is executed repetitively. DigitalWrite is a function used for turning on or turning off a pin. HIGH and LOW represent the level of voltage and HIGH means turning on and LOW means turning off. Delay is a function that temporarily stops the program. You can set the time by writing a number in parentheses after the function. The time unit in parentheses is millisecond (1/1000 second). When you write 1,000, the program stops for a second Ω resistor Clap clap!! You ve done very well! You have just trained yourself how to use a making board. Contents that follow are projects that you can easily work on by applying the things you just learned so far. To prepare for the next class, we have created an exercise that allows you to use a real breadboard and LED. Please do challenge yourself if you want to give it a try before next class. 44 Junior Software Academy 03 Twinkle Twinkle LED Blinking 45

23 Thinking in Code 1 Click <New File> in the toolbar and create a new sketch. When you click <New File>, an empty space for coding appears. 2 Type a sketch same as below. Let s understand the code examining the footnote int led1 = 5; int led2 = 6; void setup() { pinmode(led1, OUTPUT); pinmode(led2, OUTPUT); } void loop() { digitalwrite(led1, HIGH); delay(1000); digitalwrite(led1, LOW); delay(1000); digitalwrite(led2, HIGH); delay(1000); digitalwrite(led2, LOW); delay(1000); } Connect LED1 with digital pin 5 Connect LED2 with digital pin 6 Turn on LED1 Wait for a second. Turn off LED1. Wait for a second. Turn on LED2. Wait for a second. Turn off LED2 Wait for a second. REVIEW We executed and examined the LED blinking example. If you ever had experience of encountering the programming language that computers use to communicate, there may have been a lot of words or contents that you are not familiar with. However, you feel great having executed a program, right? You will have a chance to learn about the program terms and function gradually. It will mean more to make the program yourself. Starting from the next class, you will be making fun projects with the making board one by one. Review Let s think about your favorite part among today s activities and share with friends. 3 Compile the program by clicking <Verify> button. 4 Send compiled code to Arduino board by clicking <Upload> button. You will see two LED lights blinking alternately. Let s think about the part you found the hardest and share with friends. LED 5 is still blinking. What should I do? When you press <Upload> button, the old sketch on the Arduino board gets erased and a new sketch appears. If the new program does not upload properly in any case, press <Reset> button and try uploading again. If you unplugged and then plugged the cable again while writing two programs, you need to set the port again. You learned about setting port, right? 46 Junior Software Academy 03 Twinkle Twinkle LED Blinking 47

WEEK. Learning Objective. Materials to Prepare LESSON

WEEK. Learning Objective. Materials to Prepare LESSON WEEK 01 Tender Tender Browsing Learning Objective Let s take a look at how making boards are used in various fields and think about our future projects. Materials to Prepare A4 sheet, color markers, camera,

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink By the end of this session: You will know how to use an Arduino

More information

Lesson 3: Arduino. Goals

Lesson 3: Arduino. Goals Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to

More information

Arduino Lesson 1. Blink. Created by Simon Monk

Arduino Lesson 1. Blink. Created by Simon Monk Arduino Lesson 1. Blink Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink' Uploading Blink to the Board How 'Blink'

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

Rodni What will yours be?

Rodni What will yours be? Rodni What will yours be? version 4 Welcome to Rodni, a modular animatronic animal of your own creation for learning how easy it is to enter the world of software programming and micro controllers. During

More information

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT TEACHING RESOURCES SCHEMES OF WORK DEVELOPING A SPECIFICATION COMPONENT FACTSHEETS HOW TO SOLDER GUIDE CREATE SOOTHING LIGHTING EFFECTS WITH THIS DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT Version

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

Welcome to Arduino Day 2016

Welcome to Arduino Day 2016 Welcome to Arduino Day 2016 An Intro to Arduino From Zero to Hero in an Hour! Paul Court (aka @Courty) Welcome to the SLMS Arduino Day 2016 Arduino / Genuino?! What?? Part 1 Intro Quick Look at the Uno

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

J. La Favre Using Arduino with Raspberry Pi February 7, 2018 As you have already discovered, the Raspberry Pi is a very capable digital device. Nevertheless, it does have some weaknesses. For example, it does not produce a clean pulse width modulation output (unless

More information

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science? LESSONS Lesson Lesson : Microcontrollers and SBCs Microcontrollers and SBCs The Big Idea: This book is about computer science. It is not about the Arduino, the C programming language, electronic components,

More information

Arduino An Introduction

Arduino An Introduction Arduino An Introduction Hardware and Programming Presented by Madu Suthanan, P. Eng., FEC. Volunteer, Former Chair (2013-14) PEO Scarborough Chapter 2 Arduino for Mechatronics 2017 This note is for those

More information

Programmable Timer Teaching Notes Issue 1.2

Programmable Timer Teaching Notes Issue 1.2 Teaching Notes Issue 1.2 Product information: www.kitronik.co.uk/quicklinks/2121/ TEACHER Programmable Timer Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation

More information

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies Lesson Plan: Traffic light with Arduino using code, S4A and Ardublock Course 3rd ESO Technology, Programming and Robotic David Lobo Martínez David Lobo Martínez 1 1. TOPIC Arduino is an open source hardware

More information

Never power this piano with anything other than a standard 9V battery!

Never power this piano with anything other than a standard 9V battery! Welcome to the exciting world of Digital Electronics! Who is this kit intended for? This kit is intended for anyone from ages 13 and above and assumes no previous knowledge in the field of hobby electronics.

More information

EASY BUILD TIMER KIT TEACHING RESOURCES. Version 2.0 LEARN ABOUT SIMPLE TIMING CIRCUITS WITH THIS

EASY BUILD TIMER KIT TEACHING RESOURCES. Version 2.0 LEARN ABOUT SIMPLE TIMING CIRCUITS WITH THIS TEACHING RESOURCES SCHEMES OF WORK DEVELOPING A SPECIFICATION COMPONENT FACTSHEETS HOW TO SOLDER GUIDE LEARN ABOUT SIMPLE TIMING CIRCUITS WITH THIS EASY BUILD TIMER KIT Version 2.0 Index of Sheets TEACHING

More information

Micro USB Lamp Kit TEACHING RESOURCES. Version 2.1 DESIGN A STYLISH LAMP WITH THIS

Micro USB Lamp Kit TEACHING RESOURCES. Version 2.1 DESIGN A STYLISH LAMP WITH THIS TEACHING RESOURCES SCHEMES OF WORK DEVELOPING A SPECIFICATION COMPONENT FACTSHEETS HOW TO SOLDER GUIDE DESIGN A STYLISH LAMP WITH THIS Micro USB Lamp Kit Version 2.1 Index of Sheets TEACHING RESOURCES

More information

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 Arduino Workshop 01 This workshop provides an introductory overview of the Arduino board, basic electronic components and closes with a few basic

More information

ELECTRONICS STARTER KIT

ELECTRONICS STARTER KIT ELECTRONICS STARTER KIT (MAP 474 - N02QQ) R These five small self-assembly circuits cover basic principles of electronics and can be adapted for numerous practical application. The five circuits include

More information

Exam Practice Problems (3 Point Questions)

Exam Practice Problems (3 Point Questions) Exam Practice Problems (3 Point Questions) Below are practice problems for the three point questions found on the exam. These questions come from past exams as well additional questions created by faculty.

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Programming 2 Servos. Learn to connect and write code to control two servos.

Programming 2 Servos. Learn to connect and write code to control two servos. Programming 2 Servos Learn to connect and write code to control two servos. Many students who visit the lab and learn how to use a Servo want to use 2 Servos in their project rather than just 1. This lesson

More information

1Getting Started SIK BINDER //3

1Getting Started SIK BINDER //3 SIK BINDER //1 SIK BINDER //2 1Getting Started SIK BINDER //3 Sparkfun Inventor s Kit Teacher s Helper These worksheets and handouts are supplemental material intended to make the educator s job a little

More information

Breadboard Primer. Experience. Objective. No previous electronics experience is required.

Breadboard Primer. Experience. Objective. No previous electronics experience is required. Breadboard Primer Experience No previous electronics experience is required. Figure 1: Breadboard drawing made using an open-source tool from fritzing.org Objective A solderless breadboard (or protoboard)

More information

ESE141 Circuit Board Instructions

ESE141 Circuit Board Instructions ESE141 Circuit Board Instructions Board Version 2.1 Fall 2006 Washington University Electrical Engineering Basics Because this class assumes no prior knowledge or skills in electrical engineering, electronics

More information

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)... Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...1 Introduction... 1 Step 1: Get an Uno R3 and USB cable... 2 Step

More information

Downloading a ROBOTC Sample Program

Downloading a ROBOTC Sample Program Downloading a ROBOTC Sample Program This document is a guide for downloading and running programs on the VEX Cortex using ROBOTC for Cortex 2.3 BETA. It is broken into four sections: Prerequisites, Downloading

More information

TETRIX PULSE Workshop Guide

TETRIX PULSE Workshop Guide TETRIX PULSE Workshop Guide 44512 1 Who Are We and Why Are We Here? Who is Pitsco? Pitsco s unwavering focus on innovative educational solutions and unparalleled customer service began when the company

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ. A detailed explanation about Arduino. What is Arduino? Listening

UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ. A detailed explanation about Arduino. What is Arduino? Listening UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ 4.1 Lead-in activity Find the missing letters Reading A detailed explanation about Arduino. What is Arduino? Listening To acquire a basic knowledge about Arduino

More information

LED + Servo 2 devices, 1 Arduino

LED + Servo 2 devices, 1 Arduino LED + Servo 2 devices, 1 Arduino Learn to connect and write code to control both a Servo and an LED at the same time. Many students who come through the lab ask if they can use both an LED and a Servo

More information

Your EdVenture into Robotics 10 Lesson plans

Your EdVenture into Robotics 10 Lesson plans Your EdVenture into Robotics 10 Lesson plans Activity sheets and Worksheets Find Edison Robot @ Search: Edison Robot Call 800.962.4463 or email custserv@ Lesson 1 Worksheet 1.1 Meet Edison Edison is a

More information

Getting Started with the micro:bit

Getting Started with the micro:bit Page 1 of 10 Getting Started with the micro:bit Introduction So you bought this thing called a micro:bit what is it? micro:bit Board DEV-14208 The BBC micro:bit is a pocket-sized computer that lets you

More information

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Basic Electronics Course Part 2

Basic Electronics Course Part 2 Basic Electronics Course Part 2 Simple Projects using basic components Including Transistors & Pots Following are instructions to complete several electronic exercises Image 7. Components used in Part

More information

Pulse Width Modulation and

Pulse Width Modulation and Pulse Width Modulation and analogwrite ( ); 28 Materials needed to wire one LED. Odyssey Board 1 dowel Socket block Wire clip (optional) 1 Female to Female (F/F) wire 1 F/F resistor wire LED Note: The

More information

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX. Review the following material on sensors. Discuss how you might use each of these sensors. When you have completed reading through this material, build a robot of your choosing that has 2 motors (connected

More information

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II CONSTRUCTION GUIDE Robotic Arm Robobox Level II Robotic Arm This month s robot is a robotic arm with two degrees of freedom that will teach you how to use motors. You will then be able to move the arm

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I CONSTRUCTION GUIDE Robobox Level I This month s montage is an that will allow you to detect any intruder. When a movement is detected, the alarm will turn its LEDs on and buzz to a personalized tune. 1X

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 6: INTRODUCTION TO BREADBOARDS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section introduces

More information

Lab 2.4 Arduinos, Resistors, and Circuits

Lab 2.4 Arduinos, Resistors, and Circuits Lab 2.4 Arduinos, Resistors, and Circuits Objectives: Investigate resistors in series and parallel and Kirchoff s Law through hands-on learning Get experience using an Arduino hat you need: Arduino Kit:

More information

Name & SID 1 : Name & SID 2:

Name & SID 1 : Name & SID 2: EE40 Final Project-1 Smart Car Name & SID 1 : Name & SID 2: Introduction The final project is to create an intelligent vehicle, better known as a robot. You will be provided with a chassis(motorized base),

More information

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet Lab : Computer Engineering Software Perspective Sign-Off Sheet NAME: NAME: DATE: Sign-Off Milestone TA Initials Part 1.A Part 1.B Part.A Part.B Part.C Part 3.A Part 3.B Part 3.C Test Simple Addition Program

More information

Arduino Setup & Flexing the ExBow

Arduino Setup & Flexing the ExBow Arduino Setup & Flexing the ExBow What is Arduino? Before we begin, We must first download the Arduino and Ardublock software. For our Set-up we will be using Arduino. Arduino is an electronics platform.

More information

58Khz ACOUSTO MAGNETIC SYSTEMS WIRING HANDBOOK

58Khz ACOUSTO MAGNETIC SYSTEMS WIRING HANDBOOK 58Khz ACOUSTO MAGNETIC SYSTEMS WIRING HANDBOOK E.A.S. SISTEMAS ANTIHURTO, S.L. 1 Revisión 1 06/2012 1. INTRODUCTION. 2. SYSTEM DESCRIPTION. a. TRANSMITER ANTENNA TX. b. RECEIVER ANTENNA RX. c. POWER SUPPLY.

More information

Chapter 14. using data wires

Chapter 14. using data wires Chapter 14. using data wires In this fifth part of the book, you ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs

More information

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker Internet of Things Student STEM Project Jackson High School Lesson 3: Arduino Solar Tracker Lesson 3 Arduino Solar Tracker Time to complete Lesson 60-minute class period Learning objectives Students learn

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

Xylophone Teaching Notes Issue 1.3

Xylophone Teaching Notes Issue 1.3 Teaching Notes Issue 1.3 Product information: www.kitronik.co.uk/quicklinks/2105/ TEACHER Xylophone Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation

More information

Introduction 1. Download socket (the cable plugs in here so that the GENIE microcontroller can talk to the computer)

Introduction 1. Download socket (the cable plugs in here so that the GENIE microcontroller can talk to the computer) Introduction 1 Welcome to the magical world of GENIE! The project board is ideal when you want to add intelligence to other design or electronics projects. Simply wire up your inputs and outputs and away

More information

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED Internet of Things Student STEM Project Jackson High School Lesson 2: Arduino and LED Lesson 2: Arduino and LED Time to complete Lesson 60-minute class period Learning objectives Students learn about Arduino

More information

// Parts of a Multimeter

// Parts of a Multimeter Using a Multimeter // Parts of a Multimeter Often you will have to use a multimeter for troubleshooting a circuit, testing components, materials or the occasional worksheet. This section will cover how

More information

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

Programming a Servo. Servo. Red Wire. Black Wire. White Wire Programming a Servo Learn to connect wires and write code to program a Servo motor. If you have gone through the LED Circuit and LED Blink exercises, you are ready to move on to programming a Servo. A

More information

PS2-SMC-06 Servo Motor Controller Interface

PS2-SMC-06 Servo Motor Controller Interface PS2-SMC-06 Servo Motor Controller Interface PS2-SMC-06 Full Board Version PS2 (Playstation 2 Controller/ Dual Shock 2) Servo Motor Controller handles 6 servos. Connect 1 to 6 Servos to Servo Ports and

More information

Ampere describes the number of electrons that flow through a circuit in one second. It is named after Andre-Marie Ampere, who was one of the first

Ampere describes the number of electrons that flow through a circuit in one second. It is named after Andre-Marie Ampere, who was one of the first Ampere describes the number of electrons that flow through a circuit in one second. It is named after Andre-Marie Ampere, who was one of the first people to use math to describe electricity. A battery

More information

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013

Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

FRUIT BONUS 2 nd Generation 2004 AMCOE INC.

FRUIT BONUS 2 nd Generation 2004 AMCOE INC. PIN PARTS SIDE SOLDER SIDE PIN 1 VIDEO RED VIDEO GREEN 1 2 VIDEO BLUE VIDEO SYNC 2 3 SPEAKER + SPEAKER - 3 4 EXTRA - 4 5 EXTRA - STOP 2 EXTRA - ALL STOP 5 6 EXTRA - STOP 3 6 7 TICKET OUT BUTTON - panel

More information

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

Experiment #3: Micro-controlled Movement

Experiment #3: Micro-controlled Movement Experiment #3: Micro-controlled Movement So we re already on Experiment #3 and all we ve done is blinked a few LED s on and off. Hang in there, something is about to move! As you know, an LED is an output

More information

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

On the front of the board there are a number of components that are pretty visible right off the bat!

On the front of the board there are a number of components that are pretty visible right off the bat! Hardware Overview The micro:bit has a lot to offer when it comes to onboard inputs and outputs. In fact, there are so many things packed onto this little board that you would be hard pressed to really

More information

Workshop 9: First steps in electronics

Workshop 9: First steps in electronics King s Maths School Robotics Club Workshop 9: First steps in electronics 1 Getting Started Make sure you have everything you need to complete this lab: Arduino for power supply breadboard black, red and

More information

Pi-Cars Factory Tool Kit

Pi-Cars Factory Tool Kit Pi-Cars Factory Tool Kit Posted on January 24, 2013 Welcome to the factory: Welcome to where you will learn how to build a Pi-Car, we call it the Pi-Cars Factory. We hope that this page contains all you

More information

Experiment 2. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current.

Experiment 2. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Experiment 2 Ohm s Law 2.1 Objectives Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Construct a circuit using resistors, wires and a breadboard

More information

1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0

1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0 1 Day Robot Building (MC40A + Aluminum Base) for Edubot 2.0 Have you ever thought of making a mobile robot in 1 day? Now you have the chance with MC40A Mini Mobile Robot Controller + some accessories.

More information

Studuino Icon Programming Environment Guide

Studuino Icon Programming Environment Guide Studuino Icon Programming Environment Guide Ver 0.9.6 4/17/2014 This manual introduces the Studuino Software environment. As the Studuino programming environment develops, these instructions may be edited

More information

Mini Hexapodinno. 18-DOF Robot

Mini Hexapodinno. 18-DOF Robot Mini Hexapodinno 18-DOF Robot Instruction Manual Version 1.11 Trademark Innovati,, and BASIC Commander, are registered trademarks of Innovati Inc. InnoBASIC and cmdbus are trademarks of Innovati Inc. Copyright

More information

Vinyl Cutter Instruction Manual

Vinyl Cutter Instruction Manual Vinyl Cutter Instruction Manual 1 Product Inventory Inventory Here is a list of items you will receive with your vinyl cutter: Product components (Fig.1-4): 1x Cutter head unit complete with motor, plastic

More information

An Introduction to Programming using the NXT Robot:

An Introduction to Programming using the NXT Robot: An Introduction to Programming using the NXT Robot: exploring the LEGO MINDSTORMS Common palette. Student Workbook for independent learners and small groups The following tasks have been completed by:

More information

ZX Distance and Gesture Sensor Hookup Guide

ZX Distance and Gesture Sensor Hookup Guide Page 1 of 13 ZX Distance and Gesture Sensor Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The very smart people at XYZ Interactive have created

More information

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST:

Demon Pumpkin APPROXIMATE TIME (EXCLUDING PREPARATION WORK): 1 HOUR PREREQUISITES: PART LIST: Demon Pumpkin This is a lab guide for creating your own simple animatronic pumpkin. This project encourages students and makers to innovate upon the base design to add their own personal touches. APPROXIMATE

More information

The Motor sketch. One Direction ON-OFF DC Motor

The Motor sketch. One Direction ON-OFF DC Motor One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously

More information

tinycylon Assembly Instructions Contents Written by Dale Wheat Version August 2016 Visit dalewheat.com for the latest update!

tinycylon Assembly Instructions Contents Written by Dale Wheat Version August 2016 Visit dalewheat.com for the latest update! tinycylon Assembly Instructions Written by Dale Wheat Version 2.1 10 August 2016 Visit dalewheat.com for the latest update! Contents Assembly Instructions...1 Contents...1 Introduction...2 Quick Start

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

Application Note. Communication between arduino and IMU Software capturing the data

Application Note. Communication between arduino and IMU Software capturing the data Application Note Communication between arduino and IMU Software capturing the data ECE 480 Team 8 Chenli Yuan Presentation Prep Date: April 8, 2013 Executive Summary In summary, this application note is

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

Experiment 3. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current.

Experiment 3. Ohm s Law. Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Experiment 3 Ohm s Law 3.1 Objectives Become familiar with the use of a digital voltmeter and a digital ammeter to measure DC voltage and current. Construct a circuit using resistors, wires and a breadboard

More information

Intro to Electronics. Week 1

Intro to Electronics. Week 1 Intro to Electronics Week 1 1 What is included? DIY ELECTRONICS 2 Lights http://www.flickr.com/photos/oskay/3423822454/ Intro to Electronics, Week 1 Last modified April 16, 2012 3 Sounds http://www.flickr.com/photos/createdigitalmedia/3701158293/

More information

Congratulations on your purchase of the SparkFun Arduino ProtoShield Kit!

Congratulations on your purchase of the SparkFun Arduino ProtoShield Kit! Congratulations on your purchase of the SparkFun Arduino ProtoShield Kit! Well, now what? The focus of this guide is to aid you in turning that box of parts in front of you into a fully functional prototyping

More information

Building an autonomous light finder robot

Building an autonomous light finder robot LinuxFocus article number 297 http://linuxfocus.org Building an autonomous light finder robot by Katja and Guido Socher About the authors: Katja is the

More information

Objective of the lesson

Objective of the lesson Arduino Lesson 5 1 Objective of the lesson Learn how to program an Arduino in S4A All of you will: Add an LED to an Arduino and get it to come on and blink Most of you will: Add an LED to an Arduino and

More information

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Activity 1 - Play Music A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Computer Science Unit One of the simplest things that we can do, to make something cool with our robot,

More information

TWEAK THE ARDUINO LOGO

TWEAK THE ARDUINO LOGO TWEAK THE ARDUINO LOGO Using serial communication, you'll use your Arduino to control a program on your computer Discover : serial communication with a computer program, Processing Time : 45 minutes Level

More information

Bill of Materials: Metronome Kit PART NO

Bill of Materials: Metronome Kit PART NO Metronome Kit PART NO. 2168325 The metronome kit allows you to build your own working electronic metronome. Features include a small speaker, flashing LED, and the ability to switch between several different

More information

Understanding the Arduino to LabVIEW Interface

Understanding the Arduino to LabVIEW Interface E-122 Design II Understanding the Arduino to LabVIEW Interface Overview The Arduino microcontroller introduced in Design I will be used as a LabVIEW data acquisition (DAQ) device/controller for Experiments

More information

TIGER HOOK 2004 AMCOE INC.

TIGER HOOK 2004 AMCOE INC. TIGER HOOK 2004 AMCOE INC. PIN PARTS SIDE SOLDER SIDE PIN 1 VIDEO RED VIDEO GREEN 1 2 VIDEO BLUE VIDEO SYNC 2 3 SPEAKER + SPEAKER - 3 4 EXTRA - 4 5 EXTRA - STOP 2 EXTRA - ALL STOP 5 6 EXTRA - STOP 3 6

More information

1 Introduction. 2 Embedded Electronics Primer. 2.1 The Arduino

1 Introduction. 2 Embedded Electronics Primer. 2.1 The Arduino Beginning Embedded Electronics for Botballers Using the Arduino Matthew Thompson Allen D. Nease High School matthewbot@gmail.com 1 Introduction Robotics is a unique and multidisciplinary field, where successful

More information

Light Emitting Diode IV Characterization

Light Emitting Diode IV Characterization Light Emitting Diode IV Characterization In this lab you will build a basic current-voltage characterization tool and determine the IV response of a set of light emitting diodes (LEDs) of various wavelengths.

More information

IR Remote Control. Jeffrey La Favre. January 26, 2015

IR Remote Control. Jeffrey La Favre. January 26, 2015 1 IR Remote Control Jeffrey La Favre January 26, 2015 Do you have a remote control for your television at home? If you do, it is probably an infrared remote (IR). When you push a button on the IR remote,

More information

Welcome to the DIY Thirsty Plant Kit - Manual

Welcome to the DIY Thirsty Plant Kit - Manual Welcome to the DIY Thirsty Plant Kit - Manual This is a step-by-step guide to making your own Thirsty Plant Detector. The equipment you should have at your station are wire strippers, wire cutters, wooden

More information

Quantizer step: volts Input Voltage [V]

Quantizer step: volts Input Voltage [V] EE 101 Fall 2008 Date: Lab Section # Lab #8 Name: A/D Converter and ECEbot Power Abstract Partner: Autonomous robots need to have a means to sense the world around them. For example, the bumper switches

More information

Physics 323. Experiment # 1 - Oscilloscope and Breadboard

Physics 323. Experiment # 1 - Oscilloscope and Breadboard Physics 323 Experiment # 1 - Oscilloscope and Breadboard Introduction In order to familiarise yourself with the laboratory equipment, a few simple experiments are to be performed. References: XYZ s of

More information

PICAXE S. revolution Revolution Education Ltd. Web: Vesrion /2009 AXE106.P65

PICAXE S. revolution Revolution Education Ltd.   Web:  Vesrion /2009 AXE106.P65 PICAXE S G ICAXE SIMON SAYS YS GAME Order Codes: AXE106 Simon Says Game Self-Assembly Kit Features 4 play switches with different colour LED indicators piezo sound device speed control preset resistor

More information