Welcome To Arduino Workshop # Welcome to Robotic Workshop by Sunway Robotics Club --- ## Schedule | Time | Event | |:--------:|:------| | 4:00 pm | Start Workshop | | 4:10 pm | Basics of general programming and Arduino programming | | - | Arduino coding tutorials with little turtle robot from keyestudio | | 4:20 pm | Tutorial 1: LED blinking | | 4:35 pm | Tutorial 2: Motor | | 4:50 pm | Tutorial 3: Ultrasonic sensor | | 5:05 pm | Tutorial 4: Servo | | 5:05 pm | Challenge Briefing | | 5.10 pm | Try to solve the challenges! | | 6:15 pm | Workshop Ends ! + Photography Session | --- ## Introduction We will be using the little turtle robot from keyestudio with Arduino programming { style="height:300px" } # Basics of programming --- # What is Programming? --- ## What is Programming? * Some may call it Coding (interchangeable), but some may disagree... * In layman terms: > Programming allows you to "instruct" a "computer" to perform a task --- > Programming allows you to "instruct" a "computer" to perform a task ### Instruct Computers are good followers. It will do everything you provide as instructions... --- > Programming allows you to "instruct" a "computer" to perform a task ### Instruct Computers are good followers. It will do everything you provide as instructions... ...even the wrong ones... --- > Programming allows you to "instruct" a "computer" to perform a task ### Computer A computer is not just your PC or notebook. Even your smartphone, your smart TV and your fitbit are some kind of computers. --- ### Actually.... Programming is like "talking" to a computer - you want the computer to understand your words or instructions. --- ### Actually.... Programming is like "talking" to a computer - you want the computer to understand your words or instructions. and that's why we use a "programming langauge" to instruct the computers... --- ## Why do I want to instruct a computer a.k.a programming? --- ### Programming allows us to solve (complex) problems using a computer adding a few numbers may be easy to you and me, but adding a few hundred random numbers may already sound overwhelming... --- ### Programming allows us to solve (complex) problems using a computer How about creating a website to sell things online? --- ### Programming allows us to solve (complex) problems using a computer How about making a robot able to move and avoid obstacles? --- ### Programming allows us to solve (complex) problems using a computer How about teaching a computer to differentiate a dog from a cat? --- ### How should you approach programming? * Think and plan what you want to achieve with the code * Break it down to multiple steps * Tackle the steps one at a time --- ### In today's workshop We will learn how to instruct a mini-computer using simple instructions you and I can pick up quickly --- ## Introducing - Arduino --- ## Arduino * Arduino is made up of both hardware and software. * The Arduino board is a printed circuit board (PCB) designed to use a microcontroller chip as well as other input and outputs. --- ## Microcontroller * You can think of it as the brain of your device * it is responsible to execute the instructions you have written to complete a task * Examples will be shown later in the tutorials --- ### Programming on an Arduino device You will need to * learn some common language understood by the Arduino platform * learn to write down the instructions in the right sequence * test the written code to see whether the code works --- ### Getting prepared to program on an Arduino device * Get familiar with the Arduino IDE (Integrated Development Environment) * Understand the features of the Arduino board * Be ready to make mistakes and start all over again * Stay curious and explore! --- # Are you READY? F for fullscreen · O for overview