Palestine Polytechnic University College of IT and Computer Engineering
Palestine Polytechnic University College of IT and Computer Engineering
Palestine Polytechnic University College of IT and Computer Engineering
Embedded Systems
Ch3: Introduction to Arduino
Dr. Mohammed Aldasht
Spring 2022
ARDUINO
• A circuit board containing an ATMEL ATmega
microcontroller preloaded with a boot loader program.
•A boot loader is a small program, stored in non-volatile
memory.
• When power is applied or the reset button is pressed the CPU
starts executing its instructions.
• When the board is reset, boot loader configures the
microcontroller serial port to send and receive information to
and from the host computer.
1
2/8/2022
2
2/8/2022
3
2/8/2022
EMBEDDED APPLICATION
4
2/8/2022
IDE
• A software runs on host computer, and used to write and
compile source-code into ATmega executable programs.
• Arduino IDE is written in Java.
• Any computer with a Java interpreter is able to run the Arduino
development software.
• Students with Windows, MacOSX or even Linux will be able to
write programs for their embedded hardware.
IDE
5
2/8/2022
PORTABILITY
• Wiringfunctions pertain to the ATmega processor as it sits on
the Arduino circuit board.
• Wiring library functions will not function on any other hardware
platform.
• Wecan use the Arduino hardware and the IDE in order to learn
how to develop ANSI C programs.
• To configure and control our embedded microcontroller, ANSI C
methods are portable.
6
2/8/2022
POWER OPTIONS
• The Arduino Duemilanove circuit board is designed to
automatically switch to the correct power supply.
• Can get power through USB interface during the lab work
and program development
• A separate DC power supply can be used to supply power to
the board.
• Power mayalso be supplied to the GND and Vin pins on the
POWER header.
• The development board can safely operate on an external
supply of 7 V to 12 V.
7
2/8/2022
ARDUINO TOOLS
• Practical work:
• Download the latest Arduino IDE.
• TheIDE is a Java program used to create, write, compile
and upload the embedded software
• Download the latest Serial-to-USB drivers, then
install the USB drivers
• The green power LED should light up.
• Ready to create, upload and run applications
Any Questions?