MAHANT BCHITTAR SINGH COLLEGE OF ENGINEERING
AND TECHNOLOGY
INDUSTRIAL TRAINING PRESENTATION
ON
EMBEDDED SYSTEMS
SUBMITTED BY :- GAGLEEN KOUR (02/18)
AMANDEEP KOUR (43/18)
SONALI SAINI (72/18)
DEPARTMENT OF ELECTRONICS AND
COMMUNICATION
INTRODUCTION
We have done our 4 to 6 weeks industrial training from HIMMEL
Infotel Private Limited on ” Embedded systems” . HIMMEL Infotel
Private Limited is a Private incorporated on 26 December 2017. It is
classified as Non-govt. company and is registered at Registrar of
Companies, Delhi.
As we know Embedded system is a vast field and in our training we
have laid main focus on ARDUINO .
EMBEDDED SYSTEM
An embedded system is a microprocessor-based computer hardware system with
software that is designed to perform a dedicated function, either as an independent
system or as a part of a large system. At the core is an integrated circuit designed to
carry out computation .
ARDUINO
Arduino is an open-source electronics platform based on easy-to-use hardware and
software. Arduino boards are able to read inputs - light on a sensor, a finger on a button,
or a Twitter message - and turn it into an output - activating a motor, turning on an LED,
publishing something online. You can tell your board what to do by sending a set of
instructions to the microcontroller on the board.
WHY ARDUINO ?
Inexpensive
Cross-platform
Simple, clear programming environment
Easy to use
ARDUINO IDE
Arduino IDE(Integrated Development Environment) is the
software for Arduino.
It is a text editor like a notepad with different features. It supports C/C+
+ language
It is used for writing code, compiling the code to check if any errors are
there and uploading the code to the Arduino.
It is a cross-platform software which is available for every Operating
System like Windows, Linux, macOS.
It supports every available Arduino board including Arduino
mega, Arduino Leonardo, Arduino Ethernet and more
Arduino file is called a Sketch where the user writes code.
The format of Arduino is saved as .ino
HOW ARDUINO IDE WORKS?
When a user writes code and compiles, the IDE will generate a Hex file for the code. (Hex
file are Hexa Decimal files which are understood by Arduino) and then sent to the board
using a USB cable. Every Arduino board is integrated with a microcontroller, the
microcontroller will receive the hex file and runs as per the code written.
ARDUINO UNO
The Arduino Uno is an open-source microcontroller board based on the Microchip
ATmega328P microcontroller and developed by Arduino.cc. ... The word "uno" means "one"
in Italian and was chosen to mark the initial release of Arduino Software.
PIN DESCRIPTION
COMPONENTS
While working on Arduino we came across various components used in
different projects,divided into input and output components.
1. Switch
2. Infrared Sensor
3. Thermistor
4. Potentiometer
5. Display Unit LCD
Switch
The first input device we will study is the switch.
It allows the human to input binary information into
the computer.
Typically we define the asserted state, or logic true,
when the switch is pressed.
INFRARED SENSOR
An infrared (IR) sensor is an electronic device that
measures and detects infrared radiation in its
surrounding environment.
When an object comes close to the sensor, the infrared
light from the LED reflects off of the object and is
detected by the receiver.
FIG: IR SENSOR
THERMISTOR
Thermistors are a type of semiconductor, meaning
they have greater resistance than conducting
materials, but lower resistance than insulating
materials.
FIG:THERMISTOR
POTENTIOMETER
A potentiometer (also known as a pot or potmeter) is
defined as a 3 terminal variable resistor in which the
resistance is manually varied by varying the position of a
sliding to control the flow of electric current.
POTENTIOMETER
DISPLAY UNIT (LCD)
Liquid crystal displays (LCD) are widely used in
recent years as compares to LEDs.
This is due to the declining prices of LCD, the
ability to display numbers, characters and graphics,
incorporation of a refreshing controller into the
LCD, their by relieving the CPU of the task of
refreshing the LCD and also the ease of
programming for characters and graphics.
HD 44780 based LCDs are most commonly used.
LCD
LCD PIN DESCRIPTION
INTRODUCTION TO ARDUINO
PROGRAMMING.
A program written in the Arduino Programming Language is
called sketch. A sketch is normally saved with the .ino extension (from
Arduino).
The main difference from “normal” C or C++ is that you wrap all your
code into 2 main functions. You can have more than 2, of course, but
any Arduino program must provide at least those 2.
LIST OF PROGRAMS DONE
Here is a list of some of the basic programs that we have done in our training –
Blinking of LED
Rotation of LED’s from left to right
Glowing of alternate LED’S
Writing “HELLO WORLD” on 16*2 LCD.
Mini project on Person counter using LCD.
Running DC motor in clockwise and anti clockwise direction
Light intensity based street lights
Controlling of DC motor speed using temperature sensor that will sense the heat and
accordingly increases or decreases the speed of fan. Etc
Mini project on EVM using LCD
PROGRAM (LED Blink)
PROGRAM (hello, world)
LCD PROGRAM
// include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
{
Void loop() {
}
}
INTERFACING OF DC MOTOR
A DC motor is any of a class of rotary electrical motors that
converts direct current electrical energy into mechanical energy
DC motors are used because they have better speed control ie a
DC motor's speed can be controlled over a wide range, using
either a variable supply voltage or by changing the strength of
current in its field windings.
Small DC motors are used in tools, toys, and appliances
BASIC PROGRAM ON INTERFACING OF DC
MOTOR
AIM: To run the dc motor in clockwise and anti-clockwise direction.
COMPONENTS USED:
Various components that we have used in our circuit are-
1. Arduino UNO
2. L293D MOTOR DRIVER
3. DC MOTOR
4. 9V BATTERY
5. Connecting wires
L293D MOTOR DRIVER-Pin description
L293D is a typical Motor driver or Motor Driver IC which allows DC motor to drive on
either direction.
The VSS is where the power supply is given. IN4 and IN3 will be used for direction control.
OUT4 and OUT3 will be connected to the DC motor.
The 12 and 13 GND pin will be grounded.
Enable2 (EN2) is used to control the speed of the
DC motor.
CIRCUIT
CIRCUIT DESCRIPTION
The power terminal that is VSS is connected to the positive terminal of the
breadboard which is further connected to the 5v of the Arduino board.
The input 4 (IN4) is connected to the 4th
pin of the Arduino chip, while the OUT Vss(power
output 4 (OUT4) pin is connected 4 terminal)
to the DC motor.
5V of Arduino
GROUND
PINS
External
Both the ground pins are power
grounded on the negative terminal. supply
PROGRAM
MINI PROJECT-EVM
.
PROGRAM
THANK YOU