This document provides an overview of an Arduino course covering embedded systems and programming. The summary includes:
- The course covers introduction to embedded systems including components, characteristics, and basic structure. It also covers introduction to computer programming concepts for Arduino like variables, operators, and control statements.
- The Arduino environment and programming is explained including the board, IDE, sensors, actuators and communication. Common electronic components and modules used with Arduino like LEDs, buttons, LCDs, ultrasonic sensors, and Bluetooth are described.
- The document concludes with a section on circuit diagrams for Arduino projects. Key concepts around pins, analog/digital input/output, pulse width modulation, delay, and
Arduino is the popular open-source electronics prototyping platform based on easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments and is designed to be as flexible as possible to fit your project's needs.
Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
Introduction to Arduino Hardware and Programming:
Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.
Teachers and students use it to build low cost scientific instruments, to prove chemistry and physics principles, or to get started with programming and robotics. Designers and architects build interactive prototypes, musicians and artists use it for installations and to experiment with new musical instruments. Makers, of course, use it to build many of the projects exhibited at the Maker Faire. Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers can use it to build an interactive device.
Arduino is the popular open-source electronics prototyping platform based on easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments and is designed to be as flexible as possible to fit your project's needs.
Arduino Workshop Day 1 Slides
Basics of Arduino - Introduction, Basics of Circuits, Signals & Electronics, LED Interfacing, Switch, Buzzer, LCD & Bluetooth Communication.
Introduction to Arduino Hardware and ProgrammingEmmanuel Obot
Introduction to Arduino Hardware and Programming:
Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.
Teachers and students use it to build low cost scientific instruments, to prove chemistry and physics principles, or to get started with programming and robotics. Designers and architects build interactive prototypes, musicians and artists use it for installations and to experiment with new musical instruments. Makers, of course, use it to build many of the projects exhibited at the Maker Faire. Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers can use it to build an interactive device.
Class materials for teaching the basic use of Arduino with LED, button, debouncing concept and Serial output. These materials were originally used in Startathon 2016.
The code is available here. https://github.com/SustainableLivingLab/intro-to-arduino
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
Arduino for beginners- Introduction to Arduino presentation
Learn Arduino basics in easy steps. Arduino for beginners course series.Arduino is an open-source platform used for building electronics projects. All Arduino boards have a microcontroller.
A microcontroller is basically a really small computer.
its full a description of raspberry pi with an ultimate customized contents, with lots of animation.
it can help anybody to understand the raspberry pi.
Getting started with Arduino Programming can be daunting. These are slides I used in my classes which introduced programming concepts to non-engineers, non-programmers, but totally people who wanted to learn more about electronics.
In a nutshell, an Arduino is an open hardware development board that can be used by tinkerers, hobbyists, and makers to design and build devices that interact with the real world. While Arduino refers to a specific type of board design, it can also be used to refer to a company which manufactures a specific implementation of these boards, and is typically also used to describe the community around compatible boards made by other people or companies which function in a similar way.
Class materials for teaching the basic use of Arduino with LED, button, debouncing concept and Serial output. These materials were originally used in Startathon 2016.
The code is available here. https://github.com/SustainableLivingLab/intro-to-arduino
Arduino for beginners- Introduction to Arduino (presentation) - codewithgauriGaurav Pandey
Arduino for beginners- Introduction to Arduino presentation
Learn Arduino basics in easy steps. Arduino for beginners course series.Arduino is an open-source platform used for building electronics projects. All Arduino boards have a microcontroller.
A microcontroller is basically a really small computer.
its full a description of raspberry pi with an ultimate customized contents, with lots of animation.
it can help anybody to understand the raspberry pi.
Getting started with Arduino Programming can be daunting. These are slides I used in my classes which introduced programming concepts to non-engineers, non-programmers, but totally people who wanted to learn more about electronics.
In a nutshell, an Arduino is an open hardware development board that can be used by tinkerers, hobbyists, and makers to design and build devices that interact with the real world. While Arduino refers to a specific type of board design, it can also be used to refer to a company which manufactures a specific implementation of these boards, and is typically also used to describe the community around compatible boards made by other people or companies which function in a similar way.
1.Gives basic idea about what is arduino? and their funtionalites.
2. Applications of arduino
3. Adruino programming
4. what is Nodemcu ?
5. pindiagram of Nodemcu
Arduino is an open-source project that created microcontroller-based kits for building digital devices and interactive objects that can sense and control physical devices.
By the end of this presentation you will be able to tell :
1. What is Arduino ?
2. Languages Supporting Arduino
3.Difference between microprocessor and microcontroller ?
4. Various different Arduino Boards
5. Arduino UNO R3 DataSheet
6. Parts and Functions of Arduino UNO R3 Board
7. Variables, functions and libraries used in Arduino board
8. Arduino Code: Blink Example
9. Applications of Arduino in real life
10. Simulators used for Arduino coding
An introduction to Arduino micro-controller platform and C programming meant for the board. Introduction to debugging and hardware specification and limitations of the board.
An Embedded system is a programmed controlling and operating system with a dedicated function within a larger mechanical or electrical system , often with real-time computing constrain.
It is a system that has software embedded into computer hardware , which makes a system dedicated for an applications or specific part of an application.
Similar to arduinocourse-180308074529 (1).pdf (20)
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
4. System
What System mean
is an arrangement in which all its unit
assemble work together according to a set
of rules.
defined as a way of working, organizing or
doing one or many tasks according to a
fixed plan.
in a system, all its subcomponents
depend on each other.
Example
5. Embedded System
Definition
Embedded means something that is
attached to another thing.
a computer hardware system having
software embedded in it
An embedded system can be an
independent system or it can be a part of a
large system.
An embedded system is a microcontroller or
microprocessor based system which is
designed to perform a specific task.
Example
7. Embedded System Characteristics
Single Function
Tightly constrained
Size, Speed, Power ,Cost
Reactive and Real time
Microprocessors based
Memory
Connected
Connected peripherals to connect input and output devices.
HW-SW systems
Software is used for more features and flexibility. Hardware is used for performance and
security.
9. Basic Structure of Embedded system
Sensor − It measures the physical quantity and converts it to an electrical signal which
can be read by an observer or by any electronic instrument like an A2D converter. A
sensor stores the measured quantity to the memory.
A-D Converter − An analog-to-digital converter converts the analog signal sent by the
sensor into a digital signal.
Processor & ASICs − Processors process the data to measure the output and store it
to the memory.
D-A Converter − A digital-to-analog converter converts the digital data fed by the
processor to analog data
Actuator − An actuator compares the output given by the D-A Converter to the actual
(expected) output stored in it and stores the approved output.
10. Microprocessor VS Microcontroller
Microprocessor
multitasking in nature. Can perform
multiple tasks at a time.
RAM, ROM, I/O Ports, and Timers can be
added externally and can vary in
numbers.
Microcontroller
Single task oriented.
RAM, ROM, I/O Ports, and Timers cannot
be added externally. These components
are to be embedded together on a chip
and are fixed in numbers.
11. Arduino Environment
Arduino board
• 8-bit microcontroller
• USB programming
interface
• I/O pins
Software IDE
• Compiler
• Debugger
• Simulator
Shields
• Unique functionalities
• Easy to attach
• Good libraries provided
13. Microcontroller
ATmega328
ATmega16U2
• Write your code into
• To communication with USB
Operating voltage → 5V
Input Voltage →7-12V
Digital I/O pins → 14 pins → 0:13
Analog input pins → 6 pins → A0:A5
Flash Memory → 32KB
Clock speed → 16MHz
14. Arduino Pins
Pins are wires connected to the micro
controller
Pins are the interface of micro
controller
Pins voltages are controlled by a
sketch
Pins voltages can be read by a sketch
Output pins
• Voltages is determined by sketch
• Other components can be controlled
through outputs
Input pins
• Input pins are controlled by other
component
• Arduino read the voltage on the pin
allow it to respond to events
15. Analog Vs Digital
Digital
Can be only Two Value 0volt or 5Volt
Arduino Has 14 Digital Input / Output Pins
Analog
Can be any Value from 0Volt to 5Volt
Arduino Has 6 Analog Input Pins
16. Power
𝑉𝑖𝑛 to connect external voltage source
GND the Ground of Arduino
5V Arduino supply you by 5V
3.3V Arduino supply you by 3.3V
USB connector “to connect Arduino with
laptop”
Power jack “to connect external power
source with Arduino
Rest button “to restart the program”
17. Software
Firmware
Low level code support the main
function
USB interface, power modes , reset
Come with Arduino
Application code
We write this code
19. Setup the Arduino IDE
Download the IDE https://www.arduino.cc/en/Main/Donate
20. Setup the Arduino IDE
Install Arduino app on your PC
Connect the Board to your PC using USB cable
Install USB and other drivers
Launch the Arduino app
Select your Arduino board “Tools >>board>> Arduino UNO
Select serial port “Tools >>port>>COM’X’”
Write your code
21. Sensors
How bright is it ?
How loud is it?
How humid is it?
How distance is it ?
Is the button being pressed?
Is there motion ?
22. Sensors
• Allow the microcontroller receive info. From the environments
• Perform operation based on the state of environment
• Microcontroller sense voltage only
• Sensors logic must convert an environmental effect into voltage
23. Actuators
Devices that cause something to happen
in the physical word
Visual → LEDs , LCDs
Audio → Buzzer , Speaker
Motion → Motors , valves
24. Actuators
Digital Actuators
• They only control the power
• Even complicated actuators can be
controlled via power
Analog Actuators
• Many actuators need an analog voltage for
complete control
• Arduino can’t generate analog outputs
• DAC will convert digital numbers to analog
voltage
• Most microcontrollers don’t have DAC
• Can by one attached
26. Setup () Function
• Use for primary order
• Start by powering Arduino
void setup ()
{
arguments
}
27. Loop() function
• Work as long as Arduino work
• Start after setup function end
• The main code written in it
void loop()
{
Arguments
}
28. Basics symbol
Operation
Symbol
Every line of code must ended by it
; “semi Colom”
Group line of code
Every function must be start and ended by it
{ }
Curly bracket
To write comments between it
/*…….*/
29. Variables
Variables Name Conditions
A sequence of visible character
Must start with a non-numerical
character
No C language keywords
Data Types Size
30. Variable Scope
Local Variable
Variables that are declared
inside a function or block are
local variables. They can be
used only by the statements that
are inside that function or block
of code.
Formal Parameter
can be declared. In the definition of
function parameters
Global Variables
Global variables are defined outside
of all the functions, usually at the top
of the program.
39. If –else if - else
if( expression1 )
{
Statement 1
}
If else (expression2 )
{
statement 2
}
else
{ statement3 }
40. Switch statement
switch (expression )
{
case ‘const_expr1’ : stat1
break ;
case ‘const_expr2’ : stat2
break ;
default : stat3
}
,
• Compere each case with
expression and operate the case
equal to expression
• Default → operating when no
case is matching
• Break → use to stop operation
41. Loop Statements
For Loop
While Loop
Do-while loop
Nested Loop
Infinite Loop
49. Pin mode function
• These function allow access to the pins
• Set a pin to act as an INPUT or OUTOUT
pinMode( pin , mode )
Pin
• Is the number of the pin “0:13 for digital
• analog” “A0:A5 for analog pins
Mode
• Is the I/O mode the pin is set to “INPUT” “OUTPUT”
50. Digital output function
• Assign the state of an output pin
• Assign either LOW or HIGH
digitalWrite(pin , Value)
Value
• HIGH
• LOW
51. Digital input function
• Returns the state of an input pin
• Returns either LOW or HIGH
digitalRead(pin)
52. Analog input function
• Returns the state of an analog pin
• Returns an integer number from 0 to 1023
• 0 for 0Volt 1023 for 5Volts
analogRead(pin)
53. Pulse Width Modulation
On-Time − Duration of time signal is high.
Off-Time − Duration of time signal is low.
Period − It is represented as the sum of
on-time and off-time of PWM signal.
Duty Cycle − It is represented as the
percentage of time signal that remains on
during the period of the PWM signal.
54. Analog Output Function
writes an analog value (PWM wave) to a pin
this function works on pins 3, 5, 6, 9, 10, and 11.
Values from 0 to 255
0 mean Zero Volt
255 mean 5 Volt
analogWrite(pin,value)
55. Delay function
• Pauses the program for milliseconds
• Useful for human interaction
delay(m sec)
56. Delay Microseconds()
The same function of normal “delay” but
Normal delay measure in mille second
This function measure in micro second
delayMicroseconds(time);
57. pulse In()
• We use this function to calculate time from Arduino call it to end of code
• Frist argument is the pin number
• Second argument is the pulse level we want to detect
pulseIn (Pin, State);
59. serial communication
Used for communication between the Arduino board and a computer or
other devices.
All Arduino boards have at least one serial port
It communicates on digital pins 0 (RX) and 1 (TX) as well as with the
computer via USB.
Thus, if you use these functions, you cannot also use pins 0 and 1 for
digital input or output.
60. Serial functions
Serial . begin(Baud Rate)
To start communication with other devices
Sets the data rate in bits per second (baud) for serial data transmission
Serial . print(Value, Format)
To show data received from Arduino on serial monitor on your PC .
Format is optional Parameter [BIN, OCT, HEX, DEC]
Printed Data shown in the same line
61. Serial Communication
Serial.available()
Get the number of bytes available for reading from the serial port.
Data Returned stored in Serial Buffer Register
Serial.read()
Reads incoming serial data
Return Data
64. LED
Two terminal “ anode + the long terminal
cathode – the short terminal “
Current only flow in one direction + to –
Anode – cathode voltage must be above
threshold
LEDs have a maximum current limit
Don’t connect LEDs directly with power
supply
65. Push button
• Closing switch complete circuit
• Voltage on both terminal is identical when switch is closed
66. Potentiometer
A potentiometer, informally a pot, is a three-terminal resistor with a sliding or rotating
contact that forms an adjustable voltage divider. If only two terminals are used, one end
and the wiper, it acts as a variable resistor or rheostat.
67. Light Depended Resistor “ LDR”
• Two terminal device
• Analog sensor
• In darkness resistance increase
• In brightness resistance decrease
68. Buzzer
• Two input :- signal / ground
• Produces a sound when applying voltage
69. Most Important Modules
Liquid Crystal Display (LCD)
Ultrasonic HC-SR04
Relay Module
H-Bridge
Bluetooth Module HC-05
70. Liquid Crystal Display
Has it’s own Library to use with Arduino
Need variable resistor to control display
contrast
Use Parallel interface
71. Ultrasonic
4 terminal device
• Vcc → 5V
• GND → 0V
• Trig → output
• Echo→ input
To calculate distance in cm use the
following equation
Time in micro second /58 = distance in cm
72. Relay Module
Use to Control High Power Devices
Digital Control
NC → Normally Open
NO → Normally Close
73. Bluetooth Module
Use Serial Communication
TX in Bluetooth connected to RX with
Arduino and Vise Versa
74. H-Bridge
Each motor has two control Line
Can control both direction and speed
Need external power source