NCTU PPT 2023 2024 - WEEK2 Arduino
NCTU PPT 2023 2024 - WEEK2 Arduino
2/18/2024 12:35 PM
Lec. 2 Arduino February 2024
1
Outline
كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 2
Introduction to Embedded Systems كلية تكنولوجيا الصناعة والطاقة
• Any computing system consists of processor, memory and I/O peripherals.
It is divided into general purpose and specific purpose systems
• An embedded system is a special-purpose computer system designed to
perform certain dedicated functions.
• It is a combination of Software and Hardware”
• It is Specific to an application
2/18/2024 12:35 PM 3
Embedded Systems Components كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 4
Common Characteristics of Embedded كلية تكنولوجيا الصناعة والطاقة
Systems
• Dependability
• Single-functioned (dedicated System)
– Executes a single program, repeatedly
• Tightly-constrained (Efficient)
– Low cost, low power, small, fast, etc.
• Reactive and real-time
– Continually reacts to changes in the system’s environment
– Must compute certain results in real-time without delay
2/18/2024 12:35 PM 5
Microprocessor (CPU) كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 6
Microcontroller كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 7
Microprocessor vs. Microcontroller كلية تكنولوجيا الصناعة والطاقة
Microprocessor Microcontroller
Microprocessors are widely used in computer systems Microcontroller is widely used in embedded systems
It has only a CPU embedded into it It has a CPU, a fixed amount of RAM, ROM and other
peripherals all embedded on it
connect all the In case of microprocessor we have to As all the components are internally connected in
components externally so the circuit becomes large and microcontroller so the circuit size is small
complex
It consumes more power It consumes less power than a microprocessor
It has very less internal register storage so it has to rely It has many registers so processing time is less
on external storage. So all memory operations are
carried out using memory based external commands
which results in high processing time
2/18/2024 12:35 PM 8
What is Arduino? كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 9
Different types of Arduino كلية تكنولوجيا الصناعة والطاقة
2/18/2024 12:35 PM 11
Arduino Uno كلية تكنولوجيا الصناعة والطاقة
PWR IN USB
(to Computer)
• The Uno is one of the more popular boards in the Arduino family and a great
choice for beginners. The Arduino Uno is a microcontroller board based on
RESET
the ATmega328 .
• The data signal runs from the sensor to the output pins of the Arduino.
The data is further recorded by the Arduino.
2/18/2024 12:35 PM 14
Arduino Sensors cont., كلية تكنولوجيا الصناعة والطاقة
• The Arduino IDE is an open-source software, which is used to write and upload code
to the Arduino boards.
• The IDE application is suitable for different operating systems such as Windows, Mac
OS X, and Linux. It supports the programming languages C and C++. Here, IDE stands
for Integrated Development Environment.
• The program or code written in the Arduino IDE is often called as sketching. We need
to connect the Genuino and Arduino board with the IDE to upload the sketch written
in the Arduino IDE software.
2/18/2024 12:35 PM 17
Arduino IDE cont., كلية تكنولوجيا الصناعة والطاقة
• Read carefully
-Instructions to install and setup the Arduino board with the computer and software
- Download the Arduino IDE software
• Plug in the Arduino board into the computer after writing the sketch.
Thank
q
you