Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
443 views
Simple Arduino Projects PDF
Uploaded by
Manpreet Singh Saini
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save simple-arduino-projects.pdf For Later
Download
Save
Save simple-arduino-projects.pdf For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
443 views
Simple Arduino Projects PDF
Uploaded by
Manpreet Singh Saini
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save simple-arduino-projects.pdf For Later
Carousel Previous
Carousel Next
Save
Save simple-arduino-projects.pdf For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 15
Search
Fullscreen
Simple Arduino Projects For Beginners : Sreeeerrers te Arduino Projects In this tutorial, we're going to help you create a few simple arduino projects that are perfect for beginners. These basic projects will help you understand how to set up the Arduino software and then connect the components to perform a specific action. If you're completely brand new to Arduino, make sure you download our free ebook below. This guide was created for the absolute beginner and will help you to understand the Arduino board along with its parts and components.Tools and Parts Needed In order to complete the projects in this tutorial, you'll need to make sure you have the following items. + Arduino Uno Board + Breadboard — half size + Jumper Wires USB Cable LED (5mm) Push button switch 10k Ohm Resistor 220 Ohm Res Download The Software At this point, we're ready to download the free software known as the IDE. The Arduino IDE is the interface where you will write the sketches that tell the board what to do. You can find the latest version of this software on the Arduino IDE download page. Peed ees ARDUINO. reer ae ‘Tne open-source Arena Saware (0) firey an ieee frome To install the software, you will need to click on the link that corresponds with your computer’s operating system.Arduino IDE Once the software has been installed on your computer, go ahead and open it up. This is the Arduino IDE and is the place where all the programming will happen Take some time to look around and get comfortable with it. oe. © Makerspaces_com | Arduino 1.8.1 - a x loop) {1. Menu Bar: Gives you access to the tools needed for creating and saving Arduino sketches. 2. Verify Button: Compiles your code and checks for errors in spelling or syntax. . Upload Button: Sends the code to the board that’s connected such as Arduino Uno in this case. Lights on the board will blink rapidly when uploading. 4, New Sketch: Opens up a new window containing a blank sketch : When the sketch is saved, the name of the sketch is displayed 6. Open Existing Sketch: Allows you to open a saved sketch or one from the stored examples. 7. Save Sketch: This saves the sketch you currently have open 8. Serial Monitor: When the board is connected, this will display the serial information of your Arduino 9. Code Area: This area is where you compose the code of the s board what to do 10. Message Area: This area tells you the status on saving, code compiling, errors and more. 11. Text Console: Shows the details of an error messages, size of the program that was compiled and additional info. 12.Board and Serial Port: Tells you what board is being used and what serial port it’s connected to. etch that tells the Connect Your Arduino Uno At this point you are ready to connect your Arduino to your computer. Plug one end of the USB cable to the Arduino Uno and then the other end of the USB to your computer’s USB port. Once the board is conn select Arduino Uno. .d, you will need to go to Tools then Board then finally© Makerspaces.cor| Arduino V8.4 - ao x Fle Edt Skerch [Took] Help uta Format cet chive Sheth Fic Encoding & Reload Seta Mentor ‘cesntton Naksrspaces, 1 Ta ia Seal Plotier cami \WaF101Fivare Updater “Soars ‘Ardsino/Genuino Unc®™ Boa Manage, For 4 arduino VR Boards Get Board info Arduino Yin Programmer: “AVRSP mil" J) Arauno(Genune Uno eee Arduino Duerilanove or Diecnita Ardine Nano i ‘Arduine/Genuine Mega or Megs 280 Ardine Mega ADK Arduino Leonatdo Ardiro eonerdo ETH ‘Arduine/Genuine Miero void seusp( 1 pat Next, you have to tell the Arduino which port you are using on your computer. To select the port, go to Tools then Port then select the port that says Arduino. @ Nuteepacescom | Arcine 181 - o x File Eat Sketch Teale] Help ute Format cok ‘Archive Sketch Fic Encoding & Reload Seal Mentor Cceashttent Sel Pater ClaeShitteL Makerspaces 1) mma 32 0 WiFi) Fire Updater ois Set) | Boards “Arduine/Senuine Uno” > is locp() |) Programmen “AVR? mk > 77 put your] BuenBoctloaderArduino Project 1: Blink an LED It’s finally time to do your first Arduino project. In this example, we are going to make your Arduino board blink an LED. If you need a refresher on the parts of the Arduino or how a breadboard works, check out our previous tutorial called Arduino For Beginners. Required Parts Arduino Uno Board Breadboard — half size Jumper Wires USB Cable LED (5mm) 220 Ohm ResistorConnect The Parts You can build your Arduino circuit by looking at the breadboard image above or by using the written description below. In the written description, we will use a letter/number combo that refers to the location of the component. If we mention H19 for example, that refers to column H, row 19 on the breadboard, Step 1 — Insert black jumper wire into the GND (Ground) pin on the Arduino and then in the GND rail of the breadboard row 15 Step 2— Insert red jumper wire into pin 13 on the Arduino and then the other end into F7 on the breadboard Step 3 — Place the LONG leg of the LED into H7 Step 4 — Place the SHORT leg of the LED into H4 Step 5 — Bend both legs of a 220 Ohm resistor and place one leg in the GND rail around row 4 and other leg in 14 Step 6 — Connect the Arduino Uno to your computer via USB cable Upload The Blink Sketch Now it’s time to upload the sketch (program) to the Arduino and tell it what to do. In the IDE, there are built-in example sketches that you can use which make it easy for beginners, To open the blink sketch, you will need to go to File > Examples > Basics > Blink © Materspacer com | Arduino 18:1 - 0 x [File Edit Sketch Tools Help New Caen Open. caleo Open Recent Sketchbook uit in Examples Close Cae sae ces ‘AnalogReacSenal Saves... Ceeshites | O2Digital BarelMinimur O.Anelog PageSetup ChirShitP | 04 Communication DigitelReedSeriat Pent ce psa As pace Preferences CilrComma | O8Sensore Resdanalog\oltage O7.Displey z aut cae‘Now you should have a fully coded blink sketch that looks like the image below. © Blink Arduino 18.1 - ao x Fie Flt Sketch Toole Help oaNext, you need to click on the verify button (check mark) that’s located in the top left of the IDE box. This will compile the sketch and look for errors. Once it says “Done Compiling” you are ready to upload it. Click the upload button (forward arrow) to send the program to the Arduino board. © Bink] Arduino 1.21 - o x etch Took Help The built-in LEDs on the Arduino board will flash rapidly for a few seconds and then the program will execute. If everything went correctly, the LED on the breadboard should turn on for a second and then off for a second and continue in a loop.Congrats! You just completed your first Arduino project. Troubleshooting — If you ran into a problem don’t give up, check out the troubleshooting section at the end for common ways to fix problems. Change The Code Before we go to the next project, lets change some of the code in the “Blink” sketch to make it do something different. Playing around with the sketch will help you start to learn how the code controls the board. Ji she setup Fanction rune once when you press reset or power the board vosd setup] [ initialize Gigical pin TED BUTLTIN as an output, (the oop Function runs over and over again forever void Leep(} [ Changed to 200 delay 200) digitalWrice (IED BUILTIN, 2om7 sere ) I Changed to 200 Keep the Arduino board connected and change the delay portion of the code from (1000) to (200). Click the verify button on the top left of the IDE and then click upload. This should make the LED on the breadboard blink faster. NOTE - Arduino measures time in milliseconds and 1000 milliseconds = 1 second. The original code (1000) turns on the LED for 1 second and then off for 1 second. By adjusting the code from (1000) to (200) it shortens the time between on and off which makes it blink faster.Arduino Project 2: LED w/ Switch Now it’s time to talk switches and how they can be incorporated into Arduino projects. A switch is a electrical component that completes a circuit when pushed and breaks the circuit when released. In this project, we will be using a small pushbutton switch to control an LED. Required Parts Arduino Uno Board Breadboard — half size + Jumper Wires + USB Cable LED (Smm) Push button switch 10k Ohm Resistor + 220 Ohm ResistorConnect The Parts You can build your Arduino circuit by looking at the breadboard image above or by using the written description below. In the written description, we will use a letter/number combo that refers to the location of the component. If we mention H19 for example, that refers to column H, row 19 on the breadboard, Step 1 — Connect the blue jumper wire from the GND on the Arduino to the GND rail (blue line) on the breadboard near A13 Step 2 — Connect the blue jumper wire from the GND rail on the breadboard near A17 to H19 Step 3 — Connect the red jumper wire from the power rail on the breadboard around row A27 to H26 Step 4 — Connect the green jumper wire from pin 2 on Arduino to J24 on the breadboard Step 5 — Place one leg of a 10k Ohm resistor in G19 and the other leg in G24 Step 6 — Place the pushbutton switch into F24, F26, E24 and E26 Step 7— Place one leg of a 220 Ohm resistor in DS and the other leg in GS Step 8 — Insert the short leg of the LED in the GND rail around AS and the long leg in BS Step 9 — Connect the black jumper wire from pin 13 on the Arduino to IS on the breadboard Step 10 — Connect the red jumper wire from SV on the Arduino to power rail (+) near AB Step 11 — Connect the Arduino Uno to your computer via USB cable Upload The Switch Sketch Now it’s time to upload the sketch to the Arduino that will allow us to use a switch. As with the blink sketch, there are example programs already loaded in the Arduino IDE that we will be using. In order to use a switch, we have to load the file called “Button” which can be found here: File > Examples > Digital > Button© Maerspaces com | Adina 181 File Edt Sketch Toole Help New Open. (Open Recent Sketchbook cel cero. Close Save Save As. Page Setup Print Preferences cee Quit aa Buin Ecarmples en on.Basics a BinkWithowDelay ses ae ‘Ctrts Shits P (04.Communication Debounce coh 05.Control DigitalinputPullup eae acon ae Hees rene cae eS ace eee —— MarduinolSPNow you should have a fully coded button sketch that looks like the image below. @ Button | Arduino 1.8.1 - o x File Edit Sketch Tools Helo This example in the public domain, J constants won't change. They're used nere to 1 set pin nurbers ine bustonPin = 2; // the oumber of the pushbutton pin st int ledPin = 13; // the number of the LED pin 1/ variables will change: ae buctonstate = D7 1/ vaziable for reading the pushburton status is secap() | 1 wwivielize the TED pin as an oucput: pintlode (ledPin, OOTEUT); (7 spivielize the pushbaeten pin a9 an inpu pintlode (ousconPin, INPUT); I yore 20000) £ (read the stave of che pushoutson value: buttonState = digive:Resd (bucton?in) + 1 check 3f the paskbucton is pressed. 11 32 iv ia, the buttonstate ia HIGH: Af (battenstate — £103) | dj carn LED ont qagitalwrice (ieapan, 16H); pels 17 carn TED off: digitelirive (LedPin, Lowy; } I ¥Next, you need to click on the verify button (check mark) that’s located in the top left of the IDE box. Once it says “Done Compiling” you are ready to upload it. Click the upload button (forward arrow) to send the program to the Arduino board. Press the button switch on the breadboard and you should be able to turn on and off the LED as shown in this Youtube video. Troubleshooting If you are having any problems with the projects we did, make sure the following has been checked. 1. Verify the LED is actually functional. Use a 3v coin cell battery and connect the LONG leg of the LED to the (+) and SHORT leg to the (-) of the battery. 2. Verify the correct leg of the LED is connected properly. LONG leg to positive and SHORT leg to negative. 3. Make sure the Arduino IDE shows the correct board. Go to Tools > Board then select Arduino Uno. 4, Make sure the Arduino IDE shows the correct port. Go to Tools > Port then select the port that says Arduino. 5. Verify all component connections are secure with the Arduino board and breadboard. Resources + This instructable and LED calculator will help you determine which size resistor to use for projects involving LEDs + This resistor color code calculator will help you decode what size resistor you have based on the color bands + Download our FREE Ebook (PDF) - Beginners Guide to Arduino for more info on the basics of Arduino
You might also like
Xtream IPTV Activation Code 2025
PDF
72% (64)
Xtream IPTV Activation Code 2025
18 pages
The Kama Sutra in 200 Positions
PDF
84% (114)
The Kama Sutra in 200 Positions
215 pages
Jouissance Club Livre
PDF
100% (5)
Jouissance Club Livre
258 pages
The Complete French Conjugation Course - Cover
PDF
100% (6)
The Complete French Conjugation Course - Cover
447 pages
DUNOD DCG 2 Droit Des Sociétés
PDF
94% (16)
DUNOD DCG 2 Droit Des Sociétés
497 pages
Vocabulaire Progressif Du Français Corrigés
PDF
100% (11)
Vocabulaire Progressif Du Français Corrigés
65 pages
200 Common French Verbs
PDF
80% (10)
200 Common French Verbs
3 pages
Complete French (Learn French With Teach Yourself)
PDF
92% (65)
Complete French (Learn French With Teach Yourself)
509 pages
Collins Easy Learning French Grammar (Gnv64)
PDF
97% (58)
Collins Easy Learning French Grammar (Gnv64)
162 pages
Easy French Step-by-Step PDF
PDF
100% (23)
Easy French Step-by-Step PDF
399 pages
Colloquial French - The Complete Course For Beginners (Colloquial Series) PDF
PDF
100% (12)
Colloquial French - The Complete Course For Beginners (Colloquial Series) PDF
287 pages
The Perfect French Self Study Guide
PDF
100% (5)
The Perfect French Self Study Guide
22 pages
Advanced French Grammar PDF
PDF
97% (35)
Advanced French Grammar PDF
717 pages
Vocabulaire Progressif Du Francais Debutant Complet 2015
PDF
97% (33)
Vocabulaire Progressif Du Francais Debutant Complet 2015
114 pages
Le Petit Prince
PDF
100% (16)
Le Petit Prince
57 pages
French Grammar Basic
PDF
60% (10)
French Grammar Basic
16 pages
Arduino Lab Report 1
PDF
No ratings yet
Arduino Lab Report 1
7 pages
Short Stories FR Intermediate PDF
PDF
100% (7)
Short Stories FR Intermediate PDF
185 pages
365 Days of French Expressions Without Audio
PDF
100% (3)
365 Days of French Expressions Without Audio
237 pages
French Made Simple
PDF
93% (14)
French Made Simple
196 pages
ARDUINO UNO Document
PDF
100% (1)
ARDUINO UNO Document
25 pages
French Foundations Master The Basics in Two Weeks (Olly Richards)
PDF
100% (7)
French Foundations Master The Basics in Two Weeks (Olly Richards)
155 pages
Arduino Course Final Exam Time: 45 Min: Choose The Best Answer For Each Question
PDF
No ratings yet
Arduino Course Final Exam Time: 45 Min: Choose The Best Answer For Each Question
6 pages
French Workbook
PDF
100% (10)
French Workbook
288 pages
Infinitive: Simple Past
PDF
100% (14)
Infinitive: Simple Past
4 pages
Le Français en Images
PDF
91% (11)
Le Français en Images
86 pages
233 Complete French Grammer - Sample
PDF
82% (11)
233 Complete French Grammer - Sample
20 pages
A Definitive Guide To French Verbs
PDF
86% (7)
A Definitive Guide To French Verbs
106 pages
Blinking An Led
PDF
No ratings yet
Blinking An Led
7 pages
Fundamentals of Arduino A Guide To Arduino For Beginners: I. Objectives
PDF
No ratings yet
Fundamentals of Arduino A Guide To Arduino For Beginners: I. Objectives
8 pages
Practical: 1 Introduction To Arduino Board, Arduino IDE and Cables
PDF
No ratings yet
Practical: 1 Introduction To Arduino Board, Arduino IDE and Cables
33 pages
Arduino Exodus Beginner Arduino Projects ESP8266 Arduino IDE Guide Basic Arduino Coding (Nithukanth Sooriyan)
PDF
100% (1)
Arduino Exodus Beginner Arduino Projects ESP8266 Arduino IDE Guide Basic Arduino Coding (Nithukanth Sooriyan)
167 pages
Arduino IDE Programming - Simple Interrupt Application
PDF
100% (1)
Arduino IDE Programming - Simple Interrupt Application
18 pages
Diy Uno Play Breadboard Atmega328p With FT232 Breakout Board
PDF
100% (3)
Diy Uno Play Breadboard Atmega328p With FT232 Breakout Board
8 pages
ATL Arduino Homework Activity Workbook - Prof. Dattaraj Vidyasagar Vidyasagar Academy
PDF
No ratings yet
ATL Arduino Homework Activity Workbook - Prof. Dattaraj Vidyasagar Vidyasagar Academy
34 pages
Arduino Programming Part1 Notes
PDF
100% (1)
Arduino Programming Part1 Notes
7 pages
Serial Communication Bus-Interface (Unit3)
PDF
100% (2)
Serial Communication Bus-Interface (Unit3)
44 pages
ISP Flash Microcontroller Programmer Ver 3
PDF
100% (1)
ISP Flash Microcontroller Programmer Ver 3
6 pages
Arduino Based Heart Beat Sensor
PDF
100% (1)
Arduino Based Heart Beat Sensor
21 pages
Arduino - PPT
PDF
No ratings yet
Arduino - PPT
127 pages
Arduino Part 1: Topics: Microcontrollers Programming Basics: Structure and Variables Digital Output
PDF
No ratings yet
Arduino Part 1: Topics: Microcontrollers Programming Basics: Structure and Variables Digital Output
30 pages
Arduino Programming Part6 Notes LCD 20x4
PDF
100% (2)
Arduino Programming Part6 Notes LCD 20x4
10 pages
Arduino Lecture
PDF
No ratings yet
Arduino Lecture
52 pages
Presentation On Wireless Notice Board Display Using Arduino Uno and Bluetooth Module
PDF
No ratings yet
Presentation On Wireless Notice Board Display Using Arduino Uno and Bluetooth Module
15 pages
Wirelesss Notice Board Using Iot
PDF
No ratings yet
Wirelesss Notice Board Using Iot
13 pages
Arduino Interfacing With LCD Display and Keypad
PDF
100% (2)
Arduino Interfacing With LCD Display and Keypad
5 pages
Arduino
PDF
100% (2)
Arduino
44 pages
Programming STM32F103C8 Board Using USB Port
PDF
100% (3)
Programming STM32F103C8 Board Using USB Port
4 pages
ARDUINO
PDF
100% (1)
ARDUINO
28 pages
Build The Class AB Push Pull Amplifier.: Report On
PDF
No ratings yet
Build The Class AB Push Pull Amplifier.: Report On
18 pages
Automated Writing Machine
PDF
No ratings yet
Automated Writing Machine
53 pages
Advanced View Arduino Projects List - Use Arduino For Projects
PDF
No ratings yet
Advanced View Arduino Projects List - Use Arduino For Projects
107 pages
IOT Lab Manual
PDF
No ratings yet
IOT Lab Manual
37 pages
Arduino UNO - Lab Manual-5-33
PDF
100% (1)
Arduino UNO - Lab Manual-5-33
29 pages
Bluetooth Notice Board100
PDF
No ratings yet
Bluetooth Notice Board100
16 pages
Arduino
PDF
100% (1)
Arduino
24 pages
Arduino PPT Akhil
PDF
No ratings yet
Arduino PPT Akhil
15 pages
Serial Communication in Arduino Uno
PDF
No ratings yet
Serial Communication in Arduino Uno
3 pages
Notes Arduino Nano
PDF
No ratings yet
Notes Arduino Nano
10 pages
Experiment-2.1 LED Flasher Light
PDF
No ratings yet
Experiment-2.1 LED Flasher Light
8 pages
Basic Electronics: Arduino Uno: Christopher John I. Gayta, Ece, Ect
PDF
No ratings yet
Basic Electronics: Arduino Uno: Christopher John I. Gayta, Ece, Ect
27 pages
IOT Based Air Quality Monitoring
PDF
No ratings yet
IOT Based Air Quality Monitoring
43 pages
IoT (15CS81) Module 5 Arduino Uno
PDF
No ratings yet
IoT (15CS81) Module 5 Arduino Uno
30 pages
Chapter 3-PIC IO Port Programming
PDF
75% (4)
Chapter 3-PIC IO Port Programming
36 pages
2 - Arduino Board - Arduino IDE - LED Control - PWM
PDF
No ratings yet
2 - Arduino Board - Arduino IDE - LED Control - PWM
33 pages
The Arduino Platform: Resorce Person
PDF
No ratings yet
The Arduino Platform: Resorce Person
31 pages
IOT and Applications - Lab Manual
PDF
No ratings yet
IOT and Applications - Lab Manual
60 pages
Diylab Tinkercad Arduino Module
PDF
No ratings yet
Diylab Tinkercad Arduino Module
10 pages
Arduino Lab Manual
PDF
No ratings yet
Arduino Lab Manual
79 pages
Atmega128 I/O Ports: Versus
PDF
100% (2)
Atmega128 I/O Ports: Versus
16 pages
Tutorial - Arduino and The I2C Bus - Part One
PDF
100% (1)
Tutorial - Arduino and The I2C Bus - Part One
18 pages
LaboratoryManualForEmbeddedControllers PDF
PDF
No ratings yet
LaboratoryManualForEmbeddedControllers PDF
96 pages
Arduino Part 1: Topics: Microcontrollers Programming Basics: Structure and Variables Digital Output
PDF
No ratings yet
Arduino Part 1: Topics: Microcontrollers Programming Basics: Structure and Variables Digital Output
192 pages
Arduino - Arrays
PDF
No ratings yet
Arduino - Arrays
6 pages
I2C Interface Tutorial
PDF
100% (1)
I2C Interface Tutorial
6 pages
Arduino LCD 2
PDF
100% (2)
Arduino LCD 2
8 pages
Breadboard Basics
PDF
No ratings yet
Breadboard Basics
3 pages
IOT Lab Manual
PDF
100% (1)
IOT Lab Manual
26 pages
Advanced View Arduino Projects List - Use Arduino For Projects-4
PDF
No ratings yet
Advanced View Arduino Projects List - Use Arduino For Projects-4
61 pages
Obstacle Avoiding Robot
PDF
100% (1)
Obstacle Avoiding Robot
17 pages
Lab Based Project Report On: Obstacle Avoiding Robot
PDF
No ratings yet
Lab Based Project Report On: Obstacle Avoiding Robot
27 pages
Arduino Projects Experiments Part11
PDF
No ratings yet
Arduino Projects Experiments Part11
20 pages
Title Sensors and Actuators With Arduino UNO Theory: Interfacing
PDF
No ratings yet
Title Sensors and Actuators With Arduino UNO Theory: Interfacing
7 pages
Arduino UNO Sample Project
PDF
No ratings yet
Arduino UNO Sample Project
20 pages
15 Arduino Uno Breadboard Projects
PDF
No ratings yet
15 Arduino Uno Breadboard Projects
18 pages
C'est-A-Dire - Advanced French Conversation PDF
PDF
100% (10)
C'est-A-Dire - Advanced French Conversation PDF
316 pages
Colloquial French Grammar
PDF
95% (19)
Colloquial French Grammar
257 pages
Language Hacking French (Learn How To Speak French Book)
PDF
100% (7)
Language Hacking French (Learn How To Speak French Book)
622 pages
French Grammar
PDF
100% (33)
French Grammar
368 pages
Easy French - 2 Books in 1 French Language + Short Stories For Beginners. A Complete Step-By-step Guide To Learn and Speak French Quick and Easy Starting From Zero
PDF
100% (3)
Easy French - 2 Books in 1 French Language + Short Stories For Beginners. A Complete Step-By-step Guide To Learn and Speak French Quick and Easy Starting From Zero
230 pages