Rob 1 Week 2
Rob 1 Week 2
Arduino IDE
Navigating Arduino IDE
Target Outcomes:
https://youtu.be/dqDj7Q4WB5o
TechFactors Copyright 2020
Navigating Arduino IDE
INSTALLING THE IDE
STEP 1: Go to this link: https://www.arduino.cc/en/software
STEP 3: Choose
JUST DOWNLOAD
STEP 4: It will
prompt another page
but still,
Choose
JUST DOWNLOAD
Congratulations!
❑ The main code, also known as a sketch, created on the IDE platform will
ultimately generate a Hex File which is then transferred and uploaded in
the controller on the board.
❑ The IDE environment mainly contains two basic parts: Editor and Compiler
where former is used for writing the required code and later is used for
compiling and uploading the code into the given Arduino Module.
3. Also, notice in the figure that the sketch uses parentheses () and
curly braces {}. Be sure to use the right ones in the right places!
4. Click the Verify button to make sure your code does not have any
typing errors.
TechFactors Copyright 2020
Lesson 4: Navigating Arduino IDE
5. Look for the“Binary sketch size” text in the message pane.
8. Click the Upload button. The status line under your code will
display “Compiling sketch...,” “Uploading...,” and then “Done TechFactors Copyright 2020
Lesson 4: Navigating Arduino IDE
10. If the Hello message does not display as soon as the Serial
Monitor window opens, check for the “9600 baud” setting in the
lower right corner of the monitor.
11. Use File → Save to save your sketch. Give it the name
HelloMessage.
TechFactors Copyright 2020
Navigating
TINKERCAD
Navigating TINKERCAD
https://www.canva.com/design/DAGNWHaIr9g/2nkXEwqfTGe5aDdCWz2gpQ/edit?utm_content
=DAGNWHaIr9g&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton
2. RUNTIME ERROR
< an error detected during execution of the source code >
3. LOGICAL ERROR
< An error encountered when the source code does solve the problem thus the
output of the program is not correct Example: 2+2 = 3; (it runs but did not do the
expected outcome. >
TechFactors Copyright 2020
Algorithm & Flowchart
ALGORITHM
❑ An algorithm is a set of step-by-step procedures, or a set of rules to
follow, for completing a specific task or solving a particular problem.
❑ The word algorithm was first coined in the 9th century. Algorithms
are all around us.
❑ Common examples include: the recipe for baking a cake, the method
we use to solve a long division problem, the process of doing laundry,
and the functionality of a search engine are all examples of an
algorithm.
Represents the start and the end Used for input and output
of a flowchart. operation.