AGENDA 212How togetstarted?34What is Arduino?What is an Arduino? Why Arduino? How canI use it and implement it on the lab?Arduino SoftwareHow Arduinos areprogrammedHands OnUsing Tinkercadsimulator
What is amicrocontroller? 4A microcontroller (MCU for microcontroller unit)is a small computer on a singlemetal-oxide-semiconductor (MOS) integratedcircuit (IC) chip. A microcontroller contains oneor more CPUs (processor cores) along withmemory and programmable input/outputperipherals.
What isArduino?What isan Arduino? What is the purpose?How can I use it and implement it on the016
7.
A brief story.The Arduino project began in2005 as a tool for students at theInteraction Design Institute Ivrea in Ivrea,Italy, aiming to provide a low-cost and easyway for novices and professionals to createdevices that interact with theirenvironment using sensors and actuators.Arduinomicrocontroller7
8.
Arduino Microcontroller 8●Open-source electronicsplatform based on easy-to-usehardware and software.● Are able to read inputs - lighton a sensor, a finger on abutton, or a Twitter message -and turn it into an output -activating a motor, turning onan LED, publishing somethingonline.
Analog and digitalpins15TheArduino can input and output analog signals as well as digital signals.An analog signal is one that can take on any number of values, unlike adigital signal which has only two values: HIGH and LOW.We will talkabout thislater!
Arduino Software (IDE)companyname.com18TheArduino Integrated Development Environment - or Arduino Software(IDE)- contains a text editor for writing code, a message area, a text console, atoolbar with buttons for common functions and a series of menus. Itconnects to the Arduino hardware to upload programs and communicatewith them.
19.
Arduino Language 19●Simplified C/C++● Based on the wiringproject○ http://wiring.org.co● Peripheral libraries○ LCD, sensors, 12C, ect.
20.
Useful functions 20pinMode()set pin as input or outputdigitalWrite() set a digital pin high/lowdigitalRead() read a digital pin’s stateanalogRead() read an analog pinanalogWrite() write an “analog” PWM valuedelay() wait an amount of timemillis() get the current time
How to getstarted? 30● Arduino board○ USB cable○ DC power supplies● Download the Arduino’s software(Arduino IDE)○ Read carefully■ Instruccions to install and setup theArduino board with the computerand software○ Download the Arduino IDE software■ http://www.arduino.cc● Plug it in!
33Tinkercad is afree, online 3Dmodeling program that runs ina web browser, known for itssimplicity and ease of use. Sinceit became available in 2011 ithas become a popular platformfor creating models for 3Dprinting as well as an entry-levelintroduction to constructivesolid geometry in schools.