Embedded Systems Assignment 3
Embedded Systems Assignment 3
Embedded Systems Assignment 3
Assignment 3
S Raguraam RVCE22BME036
The type of preferred IDE depends on the programming language used, cloud or
local hardware utilization etc. A good IDE helps in speeding up the process of
development of software by providing all the necessary tools in a package that is
easy to use with many helpful technical and productivity features.
Arduino Boards are popular choices to build embedded systems projects due to
their computing power, low cost, ease of use and ease of programming. Arduinos
make for excellent beginner boards as well as great choices for projects and
development. There exists a vast ecosystem of sensors, receivers, transmitters,
motor controllers, and servo motors etc. that can be connected to the Arduino for
use in embedded systems in accordance with the application.
The Arduino Uno
The Arduino Uno is the most robust board for beginners in electronics. It is the
most used and documented board of the Arduino family with a large number of
available modules for sensors, connectivity, communication and other parts.
Architecture
Based on the ATMega328P Microcontroller, the Arduino Uno has 14 digital I/O pins
including 6 Pulse Width Modulation Pins (PWM) that enable it to interface with
digital control modules and sensors. It also has 6 analog inputs that read the pin
voltage, a USB Type A port to connect to a computer, power jack, and an In-Circuit
Serial Programming Header (ICSP) which allows it to be flexibly programmed while
installed in a system. It can be programmed using the Arduino IDE with a custom
version of C++ which enables Real Time Control Programming. The Arduino
processor uses the Harvard Architecture which uses separate memory for program
code and program data.
Advantages of Arduino over 8051 Microcontroller
8051 is an 8-bit microcontroller with only 128 bytes of RAM and no EEPROM;
it can control the operation of machines using a fixed program that does not
change over time. It requires connection with an external board to function
and its use is limited to embedded systems and control applications.
Arduino is not just a microcontroller. It is a complete system that includes
the microcontroller and board with all the necessary features including a
pre-programmed boot loader as well as an IDE for easy development. It has
2Kbytes of SRAM and 32Kbytes of Flash memory. Its applications include
automation, embedded systems, Internet of things (IOT) and more.
Arduino IDE can be installed form the official website using the simple
installation wizard that comes with the software.
Upon Installing Arduino IDE, the user must connect the Arduino to the
computer through a USB cable, then configure the USB Port connected to
the Arduino in the Boards manager by installing the supporting packages for
the board.
Writing and Uploading a Sketch to Arduino Board
The user needs to install the required libraries for the application including
interface libraries for any external modules connected to the Arduinobefor
writing the sketch.
After writing the sketch, the user can save and click ‘Verify’. The sketch is
automatically verified by the IDE and the result is shown in the terminal.
Upon successful verification, the user can click ‘Upload’ which compiles and
uploads the sketch to the Arduino. Upon Completion of the upload, the IDE
automatically triggers a reset on the Arduino board and it begins to execute
the new sketch.