PT Report
PT Report
ON
“EMBEDDED SYSTEMS”
BY
S. EKADARSHINI
42130683
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
1
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
BONAFIDE CERTIFICATE
Internal Guide
MS. MARY SAJIN SANJU
Head of theDepartment
2
ACKNOWLEDGEMENT
We would like to thank our parents, friends, and classmates for their
encouragement throughout our Internship period. At last, but not the least,
we thank everyone for supporting us directly or indirectly in completing this
Internship successfully.
3
TABLE OF CONTENTS
CHAPTER
TITLE PAGE
NO NO
ABSTRACT 8
1 INTRODUCTION 9
2 OVERVIEW OF INTERNSHIP 10
3 CURRICULUM 11
3.1 Introduction for Embedded systems 11
4 MICROCONTROLLERS AND 12
MICROPROCESSORS
4
8.3 TFT Touchscreen LCD Display
9 EMBEDDED TOOLS
9.1 Integrated Development Environment (IDE)
9.2 Compilers And Cross Compilers
9.3 Debugging Tools
9.4 Simulators And Emulators
9.5 RTOS
9.6 Version Control System
9.7 Programming Languages And Libraries
9.8 Hardware Prototype Tools
9.9 Analog And Digital Processing Tools
9.10 Debugging And Profiling Tools
10 INTERFACING 42
10.1 SPI
10.2 I2C
10.3 USB
11 CONCLUSION 43
BIBLIOGRAPHY 44
5
LIST OF FIGURES
5 Espressif Logo 19
5.2 ESP 32 22
6 Raspberry Pi Logo 27
6
7.6 Sound Sensor 35
7.9 IR Sensor 36
7.11 pH Sensor 37
7
ENCLOSE CERTIFICATE
8
ABSTRACT
9
CHAPTER – 1
INTRODUCTION
Our mentors are distinguished in their respective fields and bring invaluable
insight and experience to our classrooms. All our mentors adopt a hands-
on teaching approach and will guide you to success in your careers.
10
CHAPTER – 2
OVERVIEW OF INTERNSHIP
Embedded systems represent a dynamic and foundational field in the world
of technology. These systems, comprising hardware and software
intricately interwoven to perform specific functions, have become an integral
part of our daily lives, often operating discreetly behind the scenes. As the
global landscape of technology continues to advance at a rapid pace,
embedded systems play an increasingly crucial role in enabling innovative
solutions and enhancing the efficiency of a wide range of applications. This
introduction serves as a prelude to the exploration of embedded systems
within the context of my internship experience.
11
CHAPTER – 3
CURRICULUM
12
CHAPTER – 4
13
4.1 Arduino Uno:
The Arduino Uno is a popular and widely used microcontroller board in the
Arduino platform. Arduino is an open-source electronics platform that
provides a hardware and software environment for building a variety of
projects, from simple LED blinking to complex robotics.
Here are some key features and information about the Arduino Uno:
Digital I/O Pins: It has 14 digital input/output pins, of which 6 can be used
as pulse-width modulation (PWM) outputs. These pins are used for
interfacing with digital devices like LEDs, sensors, and more.
14
Analog Inputs: The Uno has 6 analog input pins that can be used to read
analog signals from sensors and other analog devices.
Software: You can program the Arduino Uno using the Arduino Integrated
Development Environment (IDE). Arduino programming is done using a
simplified version of the C/C++ programming language.
Open Source: The hardware and software designs of the Arduino Uno are
open-source, which means that anyone can use, modify, and distribute
them.
To get started with an Arduino Uno, you typically write code (referred to as
a Sketch), upload it to the board via USB, and watch your project come to
life. The board can be easily extended with additional shields and
components, making it a flexible tool for various applications.
15
4.2 Arduino Nano:
Here are some key features and information about the Arduino Nano:
Size: The Nano is quite small, measuring around 45mm x 18mm, making it
suitable for compact projects where space is limited.
16
I/O Pins: It has 14 digital input/output pins, with 6 of them being capable
of providing PWM (Pulse Width Modulation) output. Additionally, it has 8
analog input pins for reading analog sensor values.
Voltage Regulator: The board typically operates at 5V, but it can handle
input voltages between 7-12V. It has an onboard voltage regulator that
allows you to power it using a wider range of input voltages.
USB Interface: The Nano can be easily connected to a computer via a mini
USB port for programming and power.
Programming: You can program the Arduino Nano using the Arduino IDE
(Integrated Development Environment), which supports a simplified version
of C/C++.
Variants: There are different variants of the Arduino Nano, including those
with different microcontroller chips (such as ATmega168P or ATmega328P)
and different form factors (like the Nano Every and Nano 33 IoT).
The Arduino Nano is popular for small, portable, and embedded projects
where space and power consumption are important factors. It's commonly
used in robotics, wearable technology, and various DIY electronics
projects.
17
4.3 Arduino Uno WiFi Rev2:
The Arduino Uno WiFi Rev2 is a development board that combines the
features of the classic Arduino Uno with built-in wireless communication
capabilities. It's an evolution of the original Arduino Uno, adding Wi-Fi
functionality to the mix.
Here are some key features of the Arduino Uno WiFi Rev2:
Microcontroller: Like the original Arduino Uno, the Uno WiFi Rev2 is based
on the ATmega328P microcontroller. It has the same 32KB of flash
memory, 2KB of SRAM, and 1KB of EEPROM.
Wi-Fi Connectivity: The primary feature that sets the Uno WiFi Rev2 apart
is its built-in Wi-Fi module. It features a u-blox NINA-W102 Wi-Fi module,
allowing you to connect to Wi-Fi networks and communicate with the
internet wirelessly.
18
Digital and Analog I/O Pins: The board retains the same 14 digital
input/output pins and 6 analog input pins found on the classic Uno.
Power Supply: The board can be powered via USB, a DC power jack, or
an external battery, similar to the original Uno.
Software: You can program the Arduino Uno WiFi Rev2 using the Arduino
IDE, just like any other Arduino board. The addition of the Wi-Fi module
allows you to create IoT (Internet of Things) projects that can connect to the
internet and interact with web services.
Open Source: Like other Arduino boards, the Arduino Uno WiFi Rev2 is
open-source hardware and software.
This board is a great choice for projects that require wireless connectivity
and IoT capabilities. You can create projects like remote sensor monitoring,
home automation, or internet-connected gadgets using the built-in Wi-Fi
module. The Arduino Uno WiFi Rev2 maintains compatibility with most
Arduino Uno shields, making it a versatile option for both beginners and
experienced makers looking to add wireless capabilities to their projects.
19
CHAPTER 5
Espressif (ESP)
1) ESP 8266
2) ESP 32
3) ESP 32 AI CAM
20
5.1 ESP 8266:
Here are some key features and information about the ESP8266:
21
Flash Memory: The ESP8266 typically comes with 512KB of flash memory,
which is used for storing the program (firmware) and data. Some versions
have more flash memory.
3) Wi-Fi-enabled gadgets
The module's low cost, compact size, and extensive community support
have made it a popular choice for DIY electronics enthusiasts, hobbyists,
and professional developers working on wireless and IoT projects. While it's
not the latest technology in this field (with the ESP32 being a more powerful
successor), the ESP8266 remains relevant for many applications due to its
simplicity and cost-effectiveness.
22
5.2 ESP32:
Flash Memory: The ESP32 typically comes with 4MB of flash memory,
which is used for storing the program (firmware) and data. Some versions
have more flash memory.
23
project requirements. It also supports more hardware interfaces compared
to the ESP8266.
5) Bluetooth-enabled gadgets
24
The ESP32 is a powerful and versatile microcontroller that provides many
options for connectivity and expansion. Its features and capabilities make it
a popular choice for both hobbyists and professionals working on wireless
and IoT projects.
25
5.3 ESP 32 AI-CAM:
Here are some key features and information about the ESP32-CAM:
Flash Memory: It typically comes with 4MB of flash memory for storing
firmware and data.
26
GPIO Pins: The module has a variety of GPIO pins, some of which are
used for camera-related functions, making it suitable for custom expansion
and connection to other peripherals.
27
CHAPTER 6
RASPBERRY PI
28
Programming and Development: Raspberry Pi supports multiple
programming languages, including Python, Scratch, Java, and C/C++. It's
an excellent platform for learning programming, electronics, and hardware
interaction. The GPIO (General-Purpose Input/Output) pins allow users to
connect and control external devices and sensors.
Projects and Applications: Raspberry Pi is incredibly versatile and is used
for a wide range of projects, including home automation, media centers
(using software like Kodi), retro gaming consoles (with software like
RetroPie), web servers, robotics, DIY electronics, and much more. Its low
cost and small form factor make it suitable for embedded systems and IoT
applications.
Community and Support: Raspberry Pi has a large and active community.
There are plenty of online resources, tutorials, forums, and projects shared
by enthusiasts and developers. The community's openness and willingness
to share knowledge have contributed significantly to the Raspberry Pi's
popularity.
Add-Ons and HATs: There are numerous accessories and HATs
(Hardware Attached on Top) available for Raspberry Pi, including camera
modules, displays, sensors, motor controllers, and more. These expand the
capabilities of the Raspberry Pi for various applications.
Educational Use: Raspberry Pi Foundation aims to promote computer
science education, and Raspberry Pi computers are widely used in schools
and educational institutions worldwide for teaching programming,
electronics, and computer science concepts.
Here's an overview of these popular devices:
1) Raspberry Pi 4 Model B
2) Raspberry Pi Pico
29
6.1 Raspberry Pi 4 Model B:
The Raspberry Pi 4 Model B is one of the latest and most powerful single-
board computers in the Raspberry Pi series. It builds upon the success of
its predecessors while offering significant improvements in terms of
performance and connectivity.
Video Output: It has two micro HDMI ports that support dual displays with
4K resolution, making it an excellent choice for media centers and desktop
computing.
30
USB Ports: The Raspberry Pi 4 has two USB 3.0 ports and two USB 2.0
ports, providing faster data transfer speeds and more connectivity options.
GPIO Pins: Like previous models, it features 40 GPIO pins for connecting
to external hardware and electronics.
31
6.2 Raspberry Pi Pico:
Here are the key features and information about the Raspberry Pi Pico:
32
Memory: It has 264KB of SRAM for program and data storage. The Pico
does not have built-in flash memory; instead, you load your program onto it
from a computer every time you want to change or update the code.
I/O Pins: The Pico has 3.3V I/O pins. It's important to note that these pins
are not 5V-tolerant, so you need to use level shifters when interfacing with
5V components.
Power Supply: The board can be powered via USB or an external power
source. It operates at 3.3V.
33
CHAPTER 7
SENSORS
34
7.3 LDR Sensor (Photodetector or Photocell): Detects light levels and
can be used in applications such as automatic lighting systems and
photography equipment.
35
Fig 7.5 Motion Sensor
7.7 Humidity Sensor: Measures the amount of moisture in the air and is
often used in weather stations and HVAC systems.
36
7.8 Gas Sensor: Detects the presence and concentration of specific
gases, often used in gas leak detectors, air quality monitors, and industrial
safety systems.
37
7.11 pH Sensor: Measures the acidity or alkalinity of a liquid and is used
in applications like water quality monitoring and chemical analysis.
38
CHAPTER 8
DISPLAY MODULES
The most commonly used Display Device with Arduino is the 16×2 LCD. It
is an alphanumeric character display which means that this LCD is capable
of displaying only numbers and characters (and very few custom
characters).The numbers 16×2 represents the number of characters (16)
per row and total number of rows (2). There is also a slightly bigger version
of this display called the 20×4 LCD.. Since this interface takes up a lot of
Arduino’s pins, PCF8574 based I2C add-on boards are developed for 16×2
LCD.Using I2C based LCD reduces the required pins.
39
8.2 OLED Display
The next useful display device for Arduino is the monochrome OLED
Display. OLED Displays have self-illuminating pixels i.e., each pixel is
capable of producing its own light. So, there is no need for any
backlight.Coming to Arduino OLED Displays, the most commonly used is
the 128×64 pixel OLED Display which measures approximately 0.96”
diagonally.Coming to the communication, OLED Displays are available in
two interface options: SPI and I2C. Both look very similar except that pins
are different in both these devices.The advantage of OLED over traditional
Character LCDs is that it is a Graphical Display, which means, it is very
easy to display bitmap images and characters with different fonts.
40
8.3 TFT Touchscreen LCD Display
TFT LCD displays the information. In order to interact with the system, you
need additional hardware like a Rotary Encoder or Push Buttons. The TFT
Touchscreen LCD Display solves this problem by integrating touchscreen
on to the TFT Display.
41
Chapter - 9
Embedded Tools
42
9.3 Debugging Tools:
Git: A widely used version control system for managing source code in
embedded development projects.
43
9.8 Hardware Prototyping Tools:
These embedded tools are essential for the development of a wide range
of embedded systems, from simple microcontroller-based projects to
complex real-time control systems and Internet of Things (IoT) applications.
The choice of tools depends on the specific requirements of the project, the
target hardware platform, and the developer's preferences.
44
Chapter - 10
Interfacing
Despite being simpler than the other types of serial communication, UART-
based serial communication is still widely used in electronic devices,
particularly as an interface toward modems and GPS receivers.
Furthermore, using TTL-to-USB serial converters, it is easy to connect a
UART to a console on the host machine, which is often handy for providing
log messages.
45
10.1 SPI
• Master-slave protocol
The master device, usually the microcontroller, shares the bus with one or
more slaves. To trigger the communication, a separate slave select (SS)
signal is used to address each slave connected to the bus. The bus uses
two independent signals for data transfer, one per direction, and a shared
clock line that synchronizes the two ends of the communication. Due to the
clock line being generated by the master, the data transfer is more reliable,
making it possible to achieve higher bitrates than ordinary UART. One of
the keys for the continued success of SPI over multiple generations of
microcontrollers is the low complexity required for the design of slaves,
which can be as simple as a single shift register. SPI is commonly used in
sensor devices, LCD displays, flash memory controllers, and network
interfaces.
10.2 I2C
46
10.3 USB
If the transceiver supports host mode, the embedded system can act as a
USB host and devices can be connected to it. In this case, the system
should implement device drivers and applications to access the functionality
provided by the device.
47
CHAPTER 11
CONCLUSION
48
BIBLIOGRAPHY
1) www.google.co.in
2) https://randomnerdtutorials.com
3) http://www.electronicsforu.com
4) https://www.electronicshub.org/arduino-display-devices/.com
5) https://www.arduino.cc/en/software.com
6) https://www.espressif.com/.com
7) https://www.raspberrypi.com/products/raspberry-pi-pico/.com
8) https://www.wikipedia.org/.com
9) https://www.instructables.com/Arduino-Projects/.com
10) https://lastminuteengineers.com/electronics/arduino-projects/.com
11) https://www.tutorialspoint.com/microprocessor/microprocessor_over
view.htm.com
12) https://www.thingbits.in/products/raspberry-pi-pico.com
13) https://www.adafruit.com/product/4864.com
14) https://www.irjet.net/.com
15) https://www.academia.edu/52416178/International_Research_Jour
nal_of_Engineering_and_Technology_IRJET_e.com
49
END OF THE REPORT
CERTIFICATES
NPTEL CERTIFICATES
50
51
VALUE ADDED COURSE
52