Atl Book Techb
Atl Book Techb
Atl Book Techb
Sensor
What is sensor?
A sensor is a device which detects or measures a physical property and records,
indicates, or otherwise responds to it.
The purpose of a sensor is to detect a physical quantity and translate it into a
signal.
Applications
Used to avoid and detect obstacles
with robots like biped robot, obstacle
avoider robot, path finding robot etc.
Used to measure the distance within a
wide range of 2cm to 400cm
Can be used to map the objects
surrounding the sensor by rotating it
Depth of certain places like wells, pits
etc can be measured since the waves
can penetrate through water
PIR Sensor
The PIR sensor stands for Passive Infrared sensor. It is a low cost sensor which
can detect the presence of Human beings or animals. This sensor has three
output pins Vcc, Output and Ground.
Since the output pin is 3.3V TTL logic it can be used with any platforms like
Arduino, Raspberry, etc.
here are two important materials present in the sensor one is the pyroelectric
crystal which can detect the heat signatures from a living organism
(humans/animals) and the other is a Fresnel lenses which can widen the
range of the sensor. The white colour things is just a lense that is used to
widen the range of the sensor, if you remove the lense you can find the
Pyroelectric sensor inside it covered inside a protective metal casing.
Pin Configuration
Applications
Automatic
Street/Garage/Warehouse
or Garden Lights
Burglar Alarms
Security cams as motion
detectors
Industrial Automation
Control
IR Sensor
The IR (Infrared Sensor) sensor
module consists mainly of the IR
Transmitter and Receiver,
Opamp,Variable Resistor (Trimmer
pot), output LED.
IR LED Transmitter
IR LED emits light, in the range of
Infrared frequency. IR light is invisible
to us as its wavelength (700nm –
1mm) is much higher than the visible
light range. IR LEDs have light
emitting angle of approx. 20-60
degree and range of approx. few centimeters to several feets, it depends upon
the type of IR transmitter and the manufacturer. Some transmitters have the
range in kilometers. IR LED white or transparent in colour, so it can give out
amount of maximum light.
Photodiode Receiver
Photodiode acts as the IR receiver as its conducts when light falls on it.
Photodiode is a semiconductor which has a P-N junction, operated in Reverse
Bias, means it start conducting the current in reverse direction when Light falls
on it, and the amount of current flow is proportional to the amount of Light.
This property makes it useful for IR detection. Photodiode looks like a LED,
with a black colour coating on its outer side, Black colour absorbs the highest
amount of light.
Pin Configuration
Applications
Obstacle Detection
Industrial safety devices
Wheel encoder
IR Array Sensor
The IR array is an array of five IR sensors that are configured and read as
digital bits.(no. of array sensor varies)
IR ARRAY SENSOR
Pin Configuration
Pin Configuration
TSOP-1738 Characteristics
Minimum and Maximum Input Voltage is -0.3 and 5V respectively. Typically
+5V is used.
Can detect IR signals from Remotes (38kHz)
Operating current: 5mA
High Range and wide coverage area.
Will respond only to IR signals, due to high immunity against ambient light
Low power consumption
Has in-built pre amplifier
TTL and CMOS compatible
TSOP-1738 Applications
Receive IR signals
Decode Remote signals
Analyse, re-create or duplicate remote Signals
Wireless control applications
Receiver circuit for IR remote controls
IR Remote tester circuits
MQ Sensor
The MQ series of gas sensors use a small heater inside with an electro-
chemical sensor.
They are sensitive for a range of gasses and are used indoors at room
temperature.They can be calibrated more or less (see the section about "Load-
resistor" and "Burn-in") but a know concentration of the measured gas or
gasses is needed for that.
The output is an analog signal and can be read with an analog input of the
Arduino.
MQ-3
Sensitive for Alcohol, Ethanol, smoke
The heater uses 5V
MQ-4
Sensitive for Methane, CNG Gas
The heater uses 5V.
MQ-5
Sensitive for Natural gas, LPG
The heater uses 5V.
MQ-6
Sensitive for LPG, butane gas
The heater uses 5V.
MQ-7
Sensitive for Carbon Monoxide
The heater uses an alternating voltage of 5V and
1.4V.
MQ-8
Sensitive for Hydrogen Gas
The heater uses 5V.
MQ135
For Air Quality
Sensitive for Benzene, Alcohol, smoke.
The heater uses 5V.
Pin Configuration
Features:
NOTE: The Sensitivity of Digital pin can be varied using the potentiometer.
.
This sensor can be connected in two modes; Analog mode and digital mode.
First, we will connect it in Analog mode and then we will use it in Digital mode.
Features:
Input voltage – 3.3 – 5V.
Output Voltage –0 – 4.2V.
Input Current–35mA.
Output Signal–Both Analog and Digital.
Pin Configuration
The soil Moisture sensor FC-28 has four pins
VCC: For power
A0: AnALOg output
D0: Digital output
GND: Ground
Application:
Raindrop Sensor
The rain sensor module is an easy tool for
rain detection. It can be used as a switch
when raindrop falls through the raining
board and also for measuring rainfall
intensity. The module features, a rain
board and the control board that is
separate for more convenience, power
indicator LED and an adjustable sensitivity
though a potentiometer.
Features:
Operating voltage:5V
Provide both digital and analog output
Adjustable sensitivity
Output LED indicator
Compatible with Arduino
TTL Compatible
Pin Configuration
VCC: 5V DC
GND: ground
DO: high/low output
AO: analog output
Application:
Pin Configuration
Flex sensor is a two terminal device. The Flex sensor does not have polarized
terminals like diode. So there is no positive and negative
Applications
Robotics
Gaming (Virtual Motion)
Medical Devices
Computer Peripherals
Musical Instruments
Physical Therapy
Force Pressure Sensor
Force Pressure Sensor are a polymer thick
film (PTF) device which exhibits a decrease in
resistance with an increase in the force
applied to the active surface. Its force
sensitivity is optimized for use in human
touch control of electronic devices. These are
not suitable for precision measurements.
Pin Configuration
FORCE sensor is a two terminal device. The Force sensor does not have
polarized terminals like diode. So there is no positive and negative.
Escalators
We can me smart shoes using it.
GND 4 Power supply ground. All voltages are reference to the ground.
Application
True colour recognition
Colour mark detection
Sound Sensor
The sound sensor is one type of module used to notice the sound. Generally,
this module is used to detect the intensity of sound. The applications of this
module mainly include switch, security, as well as monitoring. The accuracy of
this sensor can be changed for the ease of usage.
This sensor is capable to determine noise levels within DB’s or decibels at 3 kHz
6 kHz frequencies approximately wherever the human ear is sensitive. In
smartphones, there is an android application namely decibel meter used to
measure the sound level.
Pin Configuration
Pin1 (DO): This is an Digital output pin.
Pin2 (VCC): 3.3V DC to 5V DC.
Pin3 (GND): This is aground pin.
Pin4 (AO): This is an Analog output pin.
Features
These sensors are very simple to use
It gives analog o/p signal
Simply incorporates using logic modules on the input area.
Specifications
The range of operating voltage is 3.⅗ V
The operating current is 4~5 mA
The voltage gain 26 dB ((V=6V, f=1kHz)
The sensitivity of the microphone (1kHz) is 52 to 48 dB
The impedance of the microphone is 2.2k Ohm
The frequency of m microphone is16 to 20 kHz
The signal to noise ratio is 54 dB
Applications
Security system for Office or Home
Spy Circuit
Home Automation
Robotics
Smart Phones
Ambient sound recognition
Audio amplifier
Sound level recognition (not capable to
obtain precise dB value)
Temperature Sensor(LM35)
LM35 is a precession Integrated circuit Temperature
sensor, whose output voltage varies, based on the
temperature around it. It is a small and cheap IC which
can be used to measure temperature anywhere
between -55°C to 150°C. The LM35 device does not
require any external calibration or trimming.
Pin Configuration:
Features:
Applications:
Pin Configuration:
For Sensor
For module
Applications:
This sensor sits in line with your water line and contains a pinwheel sensor to
measure how much liquid has moved through it. There’s an integrated
magnetic hall effect sensor that outputs an electrical pulse with every
revolution. The hall effect sensor is sealed from the water pipe and allows the
sensor to stay safe and dry.
Features:
Sensor Type: Hall effect
Working Voltage: 5 to 18V DC (min tested working voltage 4.5V)
Max current draw: 15mA @ 5V
Output Type: 5V TTL
Working Flow Rate: 1 to 30 Liters /Minute
Working Temperature range: -25 to +80℃
Working Humidity Range: 35%-80% RH
Accuracy: ±10%
Maximum water pressure: 2.0 MPa
Output duty cycle: 50% +-10%
Output rise time: 0.04us
Output fall time: 0.18us
Flow rate pulse characteristics: Frequency (Hz) = 7.5 * Flow rate (L/min)
Pulses per Liter: 450
Durability: minimum 300,000 cycles
Applications:
Paddlewheel Sensors
Touch Sensors are the electronic sensors that can detect touch. They operate
as a switch when touched. These sensors are used in lamps, touch screens of
the mobile, etc… Touch sensors offer an intuitive user interface.
Touch sensors work similar to a switch. When they are subjected to touch,
pressure or force they get activated and acts as a closed switch. When the
pressure or contact is removed they act as an open switch.
Applications
Features:
Applications
PC Peripherals
MP3 Players
Remote Controls
Mobile Phones
Lighting Controls
Metal Touch Sensor
A metal touch sensor is a type of switch that only operates when it's touched
by a charged body. It has a high-frequency transistor which can conduct
electricity when receiving electromagnetic signals.
Pin Configuration
Pin1 (DO): This is an Digital output pin.
Pin2 (+): 3.3V DC to 5V DC.
Pin3 (G): This is aground pin.
Pin4 (AO): This is an Analog output pin.
Pulse Rate Heart Sensor
Pulse Sensor is a well-designed plug-and-play heart-rate
sensor for Arduino. It can be used by students, artists,
athletes, makers, and game & mobile developers who
want to easily incorporate live heart rate data into their
projects.
The working of the Pulse/Heart beat sensor is very
simple. The sensor has two sides, on one side the LED is
placed along with an ambient light sensor and on the
other side we have some circuitry.
This circuitry is responsible for the amplification and
noise cancellation work. The LED on the front side of
the sensor is placed over a vein in our human body.
This can either be your Finger tip or you ear tips, but it
should be placed directly on top of a vein.
Now the LED emits light which will fall on the vein
directly. The veins will have blood flow inside them
only when the heart is pumping, so if we monitor the
flow of blood we can monitor the heart beats as well.
Pin Configuration
Features:
Sleep Tracking.
Anxiety monitoring.
Remote patient monitoring/alarm
system.
Health bands.
Advanced gaming consoles.
Light Dependent Resister
A photo-resistor or LDR is an active component that
decreases resistance with
respect to receiving luminosity on the component's sensitive
surface. The resistance of a photo-resistor decreases with
increase in incident light intensity.
The Light Dependent Resistor (LDR)has no polarity. Meaning
they can be connected in any direction.
LDR Module
Photosensitive sensor module is the most
sensitive for the environmental light
intensity and it is generally used for
detecting the ambient brightness and
intensity of the environment. Without
light intensity it will not reach the
threshold resulting for low level output
but, when the external environment light
intensity exceeds the set threshold it will
result for a high level output.
Specifications
Operating Voltage: 3.3V to 5V DC
Operating Current: 15ma
Output Digital - 0V to 5V, Adjustable trigger level from preset
Output Analog - 0V to 5V based on light falling on the LDR
LEDs indicating output and power
PCB Size: 3.2cm x 1.4cm
LM393 based design
Pin Configuration
VCC = 3.3V to 5V DC
GND = Ground
DO = Digital Output
AO = Analog Output
Application
LDRs are used in Light Sensors
LDR is also used in some cameras
to detect the presence of the
light.
LDRs are used Ligh Intensity
measurement meters.
In the manufacturing industry,
LDR is used as a sensor for the
counting of the packets moving on
a conveyor belt.
LDRs are also used in Light Activated Control Circuits.
LDRs are used in Street Lights which are automatically turn ON in the
night time.
Pin Configuration
GND Ground
Features:
Standalone GPS receiver
Anti-jamming technology
UART Interface at the output pins (Can use SPI ,I2C and USB by soldering
pins to the chip core)
Under 1 second time-to-first-fix for hot and aided starts
Receiver type: 50 Channels - GPS L1 frequency - SBAS (WAAS, EGNOS,
MSAS, GAGAN)
Time-To-First-fix: For Cold Start 32s, For Warm Start 23s, For Hot Start
<1s
Maximum navigation update rate: 5Hz
Default baud rate: 9600bps
EEPROM with battery backup
Sensitivity: -160dBm
Supply voltage: 3.6V
Maximum DC current at any output: 10mA
Operation limits: Gravity-4g, Altitude-50000m, Velocity-500m/s
Operating temperature range: -40ºC TO 85°C
Applications
GPS application
Smart phone and tablets
Navigation systems
Drones
Hobby projects
There are various cell sizes in a GSM system such as macro, micro, pico and
umbrella cells. Each cell varies as per the implementation domain. There are
five different cell sizes in a GSM network macro, micro, pico and umbrella cells.
The coverage area of each cell varies according to the implementation
environment
Pin Configuration
RXD – Pin10 – To receive the data
TXD – Pin 9- To send the data
RTS – Pin8 – To send the request of data transmission
CTS – Pin7 – To clear the send request
RI – Pin4 – Ring indicator
DSR – Pin6 – To indicate that data set ready
DCD – Pin5 – To indicate data carry detect
DTR – Pin3 – To indicate data terminal ready
Applications
Cellular Communication
Robotics
Mobile Phone Accessories
Servers
Computer Peripherals
Automobile
USB Dongles
Bluetooth Module
The HC-05 is a very cool module which can add two-way (full-duplex) wireless
functionality to your projects. You can use this module to communicate
between two microcontrollers like Arduino or
communicate with any device with Bluetooth
functionality like a Phone or Laptop. There are
many android applications that are already
available which makes this process a lot easier.
The module communicates with the help of
USART at 9600 baud rate hence it is easy to
interface with any microcontroller that supports
USART.
Pin Configuration
1 Enable / This pin is used to toggle between Data Mode (set low) and
Key
AT command mode (set high). By default it is in Data mode
8 Button Used to control the Key/Enable pin to toggle between Data and
command Mode
Applications
Wireless communication between two
microcontrollers
Communicate with Laptop, Desktops
and mobile phones
Data Logging application
Consumer applications
Wireless Robots
Home Automation
Features
Low cost, compact and powerful Wi-Fi Module
Power Supply: +3.3V only
Current Consumption: 100mA
I/O Voltage: 3.6V (max)
I/O source current: 12mA (max)
Built-in low power 32-bit MCU @ 80MHz
512kB Flash Memory
Can be used as Station or Access Point or both combined
Supports Deep sleep (<10uA)
Supports serial communication hence compatible with many
development platform like Arduino
Can be programmed using Arduino IDE or AT-commands or Lua Script
Pin Configuration
Pin Pin Name Alternate Normally used for Alternate purpose
Number Name
Applications
IOT Projects
Access Point Portals
Wireless Data logging
Smart Home Automation
Learn basics of networking
Portable Electronics
Smart bulbs and Sockets
Triple Axis Accelerometer
Accelerometer :
An accelerometer is an electromechanical device used to measure
acceleration forces. Such forces may be static, like the continuous
force of gravity or, as is the case with many mobile devices, dynamic
to sense movement or vibrations. Acceleration is the measurement of
the change in velocity, or speed divided by time.
Pin Configuration
Features:
3V-6V DC Supply Voltage
Onboard LDO Voltage regulator
Can be interface with 3V3 or 5V Microcontroller.
All necessary Components are populated.
Ultra Low Power: 40uA in measurement mode, 0.1uA in standby@ 2.5V
Tap/Double Tap Detection
Free-Fall Detection
Analog output
Triple Axis Magnetometer
Magnetometer:
The magnetometer sensor in your tablet or smartphone also utilizes the
modern solid state technology to create a miniature Hall-effect sensor that
detects the Earth's magnetic field along three vertical axes X, Y and Z.
Pin Configuration
GND: Power supply ground
+5v :Power supply input
sda: Data line
scl: Clock line
Features:
I2C digital interface.
3-axis magnetorestive sensors.
Low voltage operations(2.16 to 3.6v) and low power
consumption(100micro A).
Sensors can be used in strong magnetic field environments.
12 bit ADC coupled with low noise level AMR sensors achieves 2 milli
gauss field resolution in +/-8 gauss fields.
Popular two wire serial data interface for consumer electronics.
Wide magnetic field range(+/-8 Oe).
Applications
Weapon systems positioning.
Heart beat monitors.
Locating objects such as submarines,
sunken ships.
Can be deployed in spacecraft.
Weather prediction.
315Mhz RF Transmitter &Reciever
Module
This wireless transmitter and receiver pair operate at 315Mhz. They can easily
fit into a breadboard and work well with microcontrollers to create a very
simple wireless data link. Since these are only transmitters, they will only work
communicating data one-way, you would need two pairs (of different
frequencies) to act as a transmitter/receiver pair.
These modules are indiscriminate and will receive a fair amount of noise.Â
Both the transmitter and receiver work at common frequencies and don’t have
IDs. Therefore, a method of filtering this noise and pairing transmitter and
receiver will be necessary.
Pin Configuration
RF Transmitter part
RF Receiver part
Applications
Remote control switch
automobile anti-theft products,
home security products, electric
doors, shutter doors, windows,
garage door
remote control socket, remote
control LED,
RFID
The RC522 is a 13.56MHz RFID module that is based on the MFRC522
controller from NXP semiconductors. The module can supports I2C, SPI and
UART and normally is shipped with a RFID card and key fob.
It is commonly used in attendance systems and other person/object
identification applications.
The RC522 is a RF Module that consists of a RFID reader, RFID card and a key
chain. The module operates 13.56MHz which is industrial (ISM) band and
hence can be used without any license problem.
The module operates at 3.3V typically and hence commonly used in 3.3V
designs. It is normally used in application where certain person/object has to
be identified with a unique ID.
The keychain has 1kB memory in it which can be used to stored unique data.
The RC522 reader module can both read and write data into these memory
elements. The reader can read data only form passive tags that operate on
13.56MHz.
Pin Configuration
4 IRQ Interrupt pin – used to wake up the module when a device comes
into range
5 MISO/SCL/Tx MISO pin when used for SPI communication, acts as SCL for I2c
and Tx for UART.
8 SS/SDA/Rx Acts as Serial input (SS) for SPI communication, SDA for IIC and
Rx during UART
Features:
13.56MHz RFID module
Operating voltage: 2.5V to 3.3V
Communication : SPI, I2C protocol, UART
Maximum Data Rate: 10Mbps
Read Range: 5cm
Current Consumption: 13-26mA
Power down mode consumption: 10uA (min)
Applications
Automatic billing systems
Attendance systems
Verification/Identification system/security system
Access control systems
Piezoelectric Plate
Piezoelectric plate is a
device that uses the
piezoelectric effect to
measure pressure,
acceleration, strain or
force by converting them
to an electrical charge.
Piezoelectricity is the
electricity generated by
piezo element by effect
called the piezoelectric effect.It is the ability of certain materials to generate an
AC (alternating current) voltage when
subjected to mechanical stress or
vibration, or to vibrate when subjected
to an AC voltage, or both.
Application
Smart Tiles, smart shoes.
Walking Energy Project
Sonar
Engine Testing
Hearing Aids
Sound Playback Module
The Voice Record Module is based on the ISD1820 chip, a multiple‐
message record/playback device.
It can offer true single‐chip voice recording, non-volatile storage, and
playback capability for 8 to 20 seconds. The sample rate is between
8.0 KHz to 3.2 KHz for the duration of 8 to 20 Seconds for the Recorder.
This module use is very easy to use, which you could direct control by the
push button on board or by Microcontroller such as Arduino,
STM32, Chip-Kit etc.
Specifications
Push-button interface, playback can be edge or level activated
Automatic power-down mode
On-chip 8Ω speaker driver
Signal 3V Power Supply
Can be controlled both manually or by MCU
Sample rate and duration changeable by replacing a single resistor
Record up to 20 seconds of audio
Dimensions: 37 x 54 mm
Pin-out
1. VCC– 3.3V power supply
2. GND– Power ground
3. REC – The REC input is an active‐HIGH record signal. The module starts
recording whenever REC is HIGH. This pin must remain HIGH for the
duration of the recording.
4. REC takes precedence over either playback (PLAYL or PLAYE) signal.
5. PLAYE – Playback, Edge‐activated: When a HIGH‐going transition is
detected on continues until an End‐of-Message (EOM) marker is
encountered or the end of the memory space is reached.
6. PLAYL – Playback, Level‐activated, when this input pin level transits for
LOW to HIGH, a playback cycle is initiated.
7. Speaker Outputs – The SP+ and SP‐ pins provide a direct drive for
loudspeakers with impedances as low as 8Ω.
8. MIC – Microphone Input, the microphone input transfers its signals to
the on‐chip preamplifier.
9. FT – Feed Through: This mode enable the Microphone to drive the
speaker directly.
10.P‐E – Play the records endlessly.
You can control the Voice Recorder Module ISD1820 directly with onboard
Buttons.
Connect VCC from ISD1820 to any 3V power supply. In our case, we have
connected to 3.3V on Arduino
Connect GND to GND on Arduino.
1. Push REC button then the RECLED will light and keep push until record
end.
2. Release the REC button
3. Select Playback mode:
o PLAYE, just need push one time, and will playback all of the
records and until the pre-record sound end.
o PLAYL, you need always push this button until you want to stop
playback record or end.
4. P-E mode, when short P‐E jumper the record will playback repeatedly
until jumper off or power down.
5. FT mode, when short FT jumper, that means all of you speak to MIC will
direct playback to Speaker.
Application
It is used in various robotic projects.
Application
In buildings
Circulating hot water
Sump pits
Protection of fire systems
Chapter 2
Passive Elements
A passive element is an electrical component that does not generate power,
but instead dissipates, stores, and/or releases it.
Resistor:
A resistor is a passive two-terminal electrical component that
implements electrical resistance as a circuit element. In
electronic circuits, resistors are used to reduce current
flow.Pass current in proportion to voltage (Ohm's law) and
oppose current.
Symbol:-
Ohm’s law
Ohm's law states that the current through a conductor between two points is
directly proportional to the voltage across the two points.
V = IR
Where,
The fourth and fifth bands are used to determine the percentage tolerance of
the resistor.
Potentiometer:
Potentiometers also known as
POT, are nothing but variable
resistors. They can provide a
variable resistance by simply
varying the knob on top of its
head. It can be classified based on
two main parameters. One is
their Resistance (R-ohms) itself
and the other is its Power (P-
Watts) rating.The value or
resistance decides how much opposition it provides to the flow of current. The
greater the resistor value the smaller the current will flow. Some standard
values for a potentiometer are 500Ω, 1K, 2K, 5K, 10K, 22K, 47K etc
Pin Configuration
1 Fixed End This end is connected to one end of the resistive track
2 Variable End This end is connected to the wiper, to provide variable voltage
3 Fixed End This end is connected to another end of the resistive track
Features
Type: Rotary a.k.a Radio POT
Available in different resistance values like 500Ω, 1K, 2K, 5K, 10K, 22K,
47K, 50K, 100K, 220K, 470K, 500K, 1 M.
Power Rating: 0.3W
Maximum Input Voltage: 200Vdc
Rotational Life: 2000K cycles
Applications
Voltage and Current Control Circuits
Used as volume control knobs in radios
Tuning or controlling circuits
Analog input control knobs
Linear Voltage regulator:
7805 is a three terminal linear voltage
regulator IC with a fixed output voltage
of 5V which is useful in a wide range of
applications. Currently, the 7805 Voltage
Regulator IC is manufactured by Texas
Instruments, ON Semiconductor, Diodes
incorporated, Infineon Technologies,
etc.
Features:
It can deliver up to 1.5 A of current (with heat sink).
Has both internal current limiting and thermal shutdown features.
Requires very minimum external components to fully function.
Pin Configuration:
1 INPUT Pin 1 is the INPUT Pin. A positive unregulated voltage is given as input to
this pin.
2 GROUN Pin 2 is the GROUND Pin. It is common to both Input and Output.
3 OUTPUT Pin 3 is the OUTPUT Pin. The output regulated 5V is taken at this pin of the
IC.
Capacitors:
A capacitor is a device that stores electrical energy in an electric field. It is a
passive electronic component with two terminals. The effect of a capacitor is
known as capacitance.
Applications of Buzzer
Alarming Circuits, where the user has to be alarmed about something
Communication equipments, Automobile electronics
Portable equipments, due to its compact size.
Keypad Module:
A4x4 keypad will have eight terminals.in them four are rows of
matrix and four are columns of matrix. these 8 pins are driven
out from 16 buttons present in the module. those 16
alphanumeric digits on the module surface are the 16 buttons
arranged in matrix formation.
configuration
ROWS
COLUMN
Applications
Security systems.
Vending machines.
Industrial machines.
Engineering systems.
Measuring instruments.
Data entry for Embedded Systems
Hobby projects.
Basically anywhere INPUT device is needed.
Multimeter:
A multimeter, also known as a volt-ohm meter, is a handheld tester used to
measure electrical voltage,
The basic functions and operations of a multimeter are similar for both digital
and analog testers. The tester has two leads—red and black—and three ports.
The black lead plugs into the "common" port. The red lead plugs into either of
the other ports, depending on the desired function.
After plugging in the leads, you turn the knob in the center of the tester to
select the function and appropriate range for the specific test. For example,
when the knob is set to "20V DC," the tester will detect DC (direct current)
voltage up to 20 volts. To measure smaller voltages, you would set the knob to
the 2V or 200mV range.
To take a reading, you touch the bare metal pointed end of each lead to one of
the terminals or wires to be tested. The voltage (or other value) will read out
on the tester.
Multimeters are safe to use on energized circuits and equipment, provided the
voltage or current does not exceed the maximum rating of the tester. Also, you
must be careful never to touch the bare metal ends of the tester leads during
an energized test because you can receive an electrical shock.
Relay:
Relay is basically a switch which opens and closes the circuit either
electronically or mechanically. In other words we can say that a relay is an
electromechanical switch which uses electromagnetism from small current or
voltage to switch higher current or voltage for different appliances. When a
relay is in Normally Open (NO) contact, there is actually an open circuit until
the relay is energized.
If a relay is in Normally Close (NC) contact, there is a closed circuit until a relay
is energized. If we apply current to the relay contact in any of the above cases
(NO, NC), they will change their states i.e. NC will become NO and vice versa.
Relay is used for switching smaller currents in an electronic circuit. It can not
be used for in power consuming devices.
Features
Application
Toggle Switch:
Rocker Switch:
Rocker switches are commonly used to directly power a
device. They are available in many shapes, sizes and
colors, with both standard and custom symbols.
Joystick
When we listen the word “Joystick” we think of
Game controllers. If we talk about Electronics there
are many useful application of Joystick. These type
of module are mostly used in Arduino based DIY
projects and Robot Control.
As we know, the module gives analog output so it
can be used for feeding the analog input based on
direction or movement. It can also be connected to a movable camera to
control its movement.
Features
Technical Specifications
Operating Voltage: 5V
Internal Potentiometer value: 10k
2.54mm pin interface leads
Dimensions: 1.57 in x 1.02 in x 1.26 in (4.0 cm x 2.6 cm x 3.2 cm)
Operating temperature: 0 to 70 °C
Pin Configuration
Pin No. Pin Name Description
5 SW Switch
Application
Note:That not all colors are possible. Some colors are “outside” the triangle
formed by the RGB LEDs. Also, pigment colors such as brown or pink are
difficult, or impossible, to achieve.
Pin Configuration
Applications
Industrial Application
Portable Flashlight/ torchlight
Light guides
Decorative Lighting
LCD backlight
Multi-color Light
7 Segment Led Display:
7-Segment LED display can be used for
displaying digits and few characters. A
seven segment display consists of 7
LEDs arranged in the form of Square ‘8’
and a single LED as dot character.
Different characters can be displayed by
selecting the required LED segments. A
7 seven segment display is an electronic
display, which displays 0-9 digital
information. They are available in
common cathode mode and common
anode mode. There are state lines in
LED, anode is given to positive terminal and cathode is given to negative
terminal then LED will glow.
Features
Available in two modes Common Cathode (CC) and Common Anode (CA)
Available in many different sizes like
9.14mm,14.20mm,20.40mm,38.10mm,57.0mm and 100mm (Commonly
used/available size is 14.20mm)
Available colours: White, Blue, Red, Yellow and Green (Res is commonly
used)
Low current operation
Better, brighter and larger display than conventional LCD displays.
Current consumption : 30mA / segment
Peak current : 70mA
Pin Configuration
Applications
sign boards uses various types of matrix boards with controllers. 8×8 matrix
consists of 64 dots or pixels. There is a LED for each pixel and these LEDs are
connected to total of 16 pins.
As you can see all anodes of same row is connected to one pin and all cathodes
of same column are connected to another pin.
We have 8 row pins and 8 column pins. If a positive voltage is applied to R1 pin
and negative to C1, we can see that the first pixel turns on.
If we apply negative to C2 then the second pixel turns on. Like this we can turn
each pixel by hanging the supply pins.
Forward Voltage for EACH SEGMENT or LED turning ON: 1.5V-2.0V (2.0V
being absolute maximum forward voltage)
EACH SEGMENT or LED Forward Current during ON: 10mA - 15mA
(Typically 10mA, 15mA being absolute maximum forward current)
EACH SEGMENT or LED Reverse Voltage Maximum: 5V
Maximum operating temperature: - 25°C to + 60°
Applications
OUTDOOR displays
POSTER display.
PIXEL gaming.
Character design.
Measuring instruments.
Hobby projects.
Liquid Crystal Display (LCD)
A liquid crystal display or
LCD draws its definition
from its name itself. It is
combination of two states
of matter, the solid and
the liquid. LCD uses a
liquid crystal to produce a
visible image.
Features
Pin Configuration
Pin No: Pin Name: Description
3 VE (Contrast Decides the contrast level of display. Grounded to get maximum contrast.
V)
5 Read/Write Used to read or write data. Normally grounded to write data to LCD
6 Enable Connected to Microcontroller Pin and toggled between 1 and 0 for data
acknowledgement
7 Data Pin 0 Data pins 0 to 7 forms a 8-bit data line. They can be connected to Microcontroller to
send 8-bit data.These LCD’s can also operate on 4-bit mode in such case Data pin 4,5,6
and 7 will be left free.
8 Data Pin 1
9 Data Pin 2
10 Data Pin 3
11 Data Pin 4
12 Data Pin 5
13 Data Pin 6
14 Data Pin 7
AC Motors:
AC motors are highly flexible in many features including speed control and
have a much larger installed base compared to DC motors, some of the key
advantages are:
Low power demand on start
Controlled acceleration
Adjustable operational speed
Controlled starting current
Adjustable torque limit
Reduced power line disturbances
DC Motors:
DC motors were the first type of motor widely used and the systems (motors
and drive) initial costs tend to be typically less than AC systems for low power
units, but with higher power the overall maintenance costs increase and would
need to be taken into consideration. The DC Motors speed can be controlled
by varying the supply voltage and are available in a wide range of voltages,
however the most popular type are 12 & 24V, with some of the advantages
being:
Easy installation
Speed control over a wide range
Quick Starting, Stopping, Reversing and Acceleration
High Starting Torque
Linear speed-torque curve
TYPES OF DC Motor
Brushed
Brushless
Brushed DC Motor:
These are the more traditional type of motor and are typically used in
cost-sensitive applications, where the control system is relatively simple, such
as in consumer applications and more basic industrial equipment.
3. SERVO MOTOR:
A Servo is a small device that has an output shaft. This shaft can be positioned
to specific angular positions by sending the servo a coded signal. As long as the
coded signal exists on the input line, the servo will maintain the angular
position of the shaft. The angular position of the shaft is determined by the
duration of a pulse that is applied to the control wire. This is called Pulse
Coded Modulation.A servomotor is a rotary actuator or linear actuator that
allows for precise control of angular or linear position, velocity and
acceleration. It consists of a suitable motor coupled to a sensor for position
feedback.
Pin configuration
PWM (Signal) is Orange
VCC (Power) is Red
GND (Ground) is Brown
PLASTIC GEAR
This servo is great for scanning type sensors, tiny
robots, and more! Each servo comes with a
variety of horns. These servos use a standard
PWM signal to control them. The Arduino does a
great job of controlling PWM Servos, making
it ideal for a variety of robotic projects. But
sometimes powering these servos can be
problematic. Powering servos from the Arduino's
5v regulator leads to underpowered servos,
limited by both voltage and current.
METAL GEAR
Metal Gear Servo Motor is a high-speed
standard servo can rotate approximately 180
degrees (60 in each direction). It comes in a
standard size and its metal gears mean when the
motor is in a jam, the gears aren’t likely to strip.
Servo Motor Tester can be used to manually operate a servo motor clockwise
and anti-clockwise direction. By pushing the forward or reverse button for a
short period of time you can control the rotation of the servo.
Brushless DC Motor:
Brushless motors alleviate some of the issues associated with the more
common brushed motors (short life span for high use applications) and are
mechanically much simpler in design (not having brushes). The motor
controller uses Hall Effect sensors to detect the rotors position and using this
the controller can accurately control the motor via current in the rotor coils) to
regulate the speed.
1.STEPPER MOTOR
Advantages:
Disadvantages:
Specifications
2. STEPPER MOTOR WITH DRIVER BOARD:
Specifications:
Max. power: 25W
Voltage: 5 - 35V(for engine), 5V for logic
Current: 2A
Dimensions: 43 x 43 x 23 mm
L293D Motor Driver:
The Motor Driver is a module for motors
that allows you to control the working
speed and direction of two motors
simultaneously .This Motor Driver is
designed and developed based on L293D IC.
L293D is a 16 Pin Motor Driver IC. This is
designed to provide bidirectional drive
currents at voltages from 5 V to 36 V.
A motor driver is a small Current Amplifier
whose function is to take a low-current
control signal and then turn it into a higher-
current signal that can drive a motor.
The L293D is a typical Motor Driver which
can drive 2 DC motors simultaneously. Motor Driver ICs are primarily used in
autonomous robotics only.
Chapter-4
Active Element
Active components control the charge flow in electronic circuits. By definition,
active elements generate energy for any device. It is the core component to
operate any device. The two parameters to consider for proper device
operation are current and voltage.
Hence the voltage and current in a circuit may be boosted or stepped down
based on the flow of electrons injected by an active device.
Battery:
Batteries are a collection of one or
more cells whose chemical reactions
create a flow of electrons in a
circuit. All batteries are made up of
three basic components: an anode
(the '-' side), a cathode (the '+' side),
and some kind of electrolyte (a
substance that chemically reacts
with the anode and cathode).
Batteries are a collection of one or
more cells whose chemical reactions
create a flow of electrons in a
circuit. All batteries are made up of three basic components: an anode (the '-'
side), a cathode (the '+' side), and some kind of electrolyte (a substance that
chemically reacts with the anode and cathode).
Batteries that must be thrown away after use are known as primary batteries.
Batteries that can be recharged are called secondary batteries.
Transistor:
A transistor is a semiconductor device used to amplify or
switch electronic signals and electrical power. It is composed
of semiconductor material usually with at least three
terminals for connection to an external circuit.
Diode:
Soldering Tools
Soldering Iron
A soldering iron is a hand tool
that plugs into a standard 120v
AC outlet and heats up in order to
melt solder around electrical
connections. This is one of the
most important tools used in
soldering and it can come in a few
variations such as pen or gun
form. For beginners, it’s
recommended that you use the
pen style soldering iron in the
15W to 30W range. Most soldering irons have interchangeable tips that can be
used for different soldering applications. Be very cautious when using any type
of soldering iron because it can heat up to 896′ F which is extremely hot.
Soldering Station
Conical Tip – Used in precision electronics soldering because of the fine tip.
Because of its pointed end, it’s able to deliver heat to smaller areas without
affecting its surroundings.
Using a sponge will help to keep the soldering iron tip clean by removing the
oxidation that forms. Tips with oxidation will tend to turn black and not accept
solder as it did when it was new. You could use a conventional wet sponge but
this tends to shorten the lifespan of the tip due to expansion and contraction.
Also, a wet sponge will drop the temperature of the tip temporarily when
wiped. A better alternative is to use a brass sponge as shown on the left.
Soldering Iron Stand
Solder
Soldering Safety
Step 1: Begin by making sure the tip is attached to the iron and screwed tightly
in place.
Step 2: Turn on your soldering iron and let it heat up. If you have a soldering
station with an adjustable temp control, set it to 400′ C/ 752′ F.
Step 3: Wipe the tip of the soldering iron on a damp wet sponge to clean it.
Wait a few seconds to let the tip heat up again before proceeding to step 4.
Step 4: Hold the soldering iron in one hand and solder in the other. Touch the
solder to the tip of the iron and make sure the solder flows evenly around the
tip.You should tin the tip of your iron before and after each soldering session
to extend its life. Eventually, every tip will wear out and will need replacing
when it becomes rough or pitted.
Chapter-4
Controllers
ARDUINO:
Arduino is a prototype platform (open-source) based on an easy-to-use
hardware and software. It consists of a circuit board, which can be programed
(referred to as a microcontroller) and a ready-made software called Arduino
IDE (Integrated Development Environment), which is used to write and upload
the computer code to the physical board.
Features
Arduino boards are able to read analog or digital input signals from
different sensors and turn it into an output such as activating a motor,
turning LED on/off, connect to the cloud and many other actions.
You can control your board functions by sending a set of instructions to
the microcontroller on the board via Arduino IDE (referred to as
uploading software).
Unlike most previous programmable circuit boards, Arduino does not
need an extra piece of hardware (called a programmer) in order to load
a new code onto the board. You can simply use a USB cable.
Additionally, the Arduino IDE uses a simplified version of C++, making it
easier to learn to program.
Finally, Arduino provides a standard form factor that breaks the
functions of the micro-controller into a more accessible package.
We will study the Arduino UNO board because it is the most popular board in
the Arduino board family. In addition, it is the best board to get started with
electronics and coding.
Types of Arduino:
Many types of Arduino boards are available in the market, here we
study about some common Arduino boards-
ARDUINO IDE:
The Arduino Integrated Development Environment is a cross-platform
application that is written in functions from C and C++. It is used to write and
upload programs to Arduino compatible boards,
INSTALLATION:
After learning about the main parts of the Arduino UNO board, we are ready
to learn how to set up the Arduino IDE. Once we learn this, we will be ready to
upload our program on the Arduino board.
In this section, we will learn in easy steps, how to set up the Arduino IDE on
our computer and prepare the board to receive the program via USB cable.
Step 1 − First you must have your Arduino board (you
can choose your favorite board) and a USB cable. In
case you use Arduino UNO, Arduino Duemilanove,
Nano, Arduino Mega 2560, or Diecimila, you will need
a standard USB cable (A plug to B plug), the kind you
would connect to a USB printer as shown in the
following image.
Here, we are selecting just one of the examples with the name Blink. It turns
the LED on and off with some time delay. You can select any other example
from the list.
Step 6 − Select your Arduino board.
To avoid any error while uploading your program to the board, you must
select the correct Arduino board name, which matches with the board
connected to your computer.
Go to Tools → Board and select your board.
you must select the name matching the board that you are using.
Step 7 − Select your serial port.
Select the serial device of the Arduino board. Go to Tools → Serial Port menu.
This is likely to be COM3 or higher (COM1 and COM2 are usually reserved for
hardware serial ports). To find out, you can disconnect your Arduino board
and re-open the menu, the entry that disappears should be of the Arduino
board. Reconnect the board and select that serial port.
Step 8 − Upload the program to your board.
Before explaining how we can upload our program to the board, we
must demonstrate the function of each symbol appearing in the
Arduino IDE toolbar.
Specification:
Microcontroller: ESP-8266EX
Operating Voltage: 3.3V
Digital I/O Pins: 11
Analog Input Pins: 1
Clock Speed: 80MHz/160MHz
Flash: 4M bytes
NodeMCU:
NodeMCU is an open source development
board and firmware based in the widely
used ESP8266 -12E WiFi module. It allows
you to program the ESP8266 WiFi module
with the Arduino IDE.
With just a few lines of code you can
establish a WiFi connection and define
input/output pins according to your needs exactly like arduino, turning
yourESP8266 into a web server and a lot more.
It is the WiFi equivalent of ethernet module. Now you have internet of things
(iot) real tool.
With its USB-TTL , the nodeMCUDev board supports directly flashing from USB
port. It combines features of WIFI accesspoint and station + microcontroller.
These features make the NodeMCUextremlypowerful tool for Wifi
networking. It can be used as access point and/or station, host a webserver or
connect to internet to fetch or upload data.
Features
Finally, programableWiFi module.
Arduino-like (software defined) hardware IO.
Can be programmed with the simple and powerful Lua programming
language or Arduino IDE.
USB-TTL included, plug & play.
10 GPIOs D0-D10, PWM functionality, IIC and SPI communication, 1-
Wire and ADC A0 etc. all in one board.
Wifi networking (can be used as access point and/or station, host a web
server), connect to internet to fetch or upload data.
Event-driven API for network applications.
PCB antenna.
Pin Configuration
Here we will make groups of pins with similar functionalities.
1. Power PinsThere are four power pins viz. one VIN pin & three 3.3V
pins. The VIN pin can be used to directly supply the ESP8266 and its
peripherals, if you have a regulated 5V voltage source. The 3.3V pins are
the output of an on-board voltage regulator. These pins can be used to
supply power to external components.
2. GNDis a ground pin of ESP8266 NodeMCU development board.
3. I2C Pins are used to hook up all sorts of I2C sensors and peripherals in
your project. Both I2C Master and I2C Slave are supported. I2C interface
functionality can be realized programmatically, and the clock frequency
is 100 kHz at a maximum. It should be noted that I2C clock frequency
should be higher than the slowest clock frequency of the slave device.
4. GPIO PINS ESP8266 NodeMCU has 17 GPIO pins which can be
assigned to various functions such as I2C, I2S, UART, PWM, IR Remote
Control, LED Light and Button programmatically. Each digital enabled
GPIO can be configured to internal pull-up or pull-down, or set to high
impedance. When configured as an input, it can also be set to edge-
trigger or level-trigger to generate CPU interrupts.
5. ADC CHANNEL The NodeMCU is embedded with a 10-bit precision
SAR ADC. The two functions can be implemented using ADC viz.
Testing power supply voltage of VDD3P3 pin and testing input voltage
of TOUT pin. However, they cannot be implemented at the same time.
6. UART ESP8266 NodeMCU has 2 UART interfaces, i.e. UART0 and
UART1, which provide asynchronous communication (RS232 and
RS485), and can communicate at up to 4.5 Mbps. UART0 (TXD0,
RXD0, RST0 & CTS0 pins) can be used for communication. It supports
fluid control. However, UART1 (TXD1 pin) features only data transmit
signal so, it is usually used for printing log.
7. SPI PINS ESP8266 features two SPIs (SPI and HSPI) in slave and master
modes. These SPIs also support the following general-purpose
SPI features:
timing modes of the SPI format transfer
Up to 80 MHz and the divided clocks of 80 MHz
Up to 64-Byte FIFO
8. SDIO PINS ESP8266 features Secure Digital Input/Output Interface
(SDIO) which is used to directly interface SD cards. 4-bit 25 MHz SDIO
v1.1 and 4-bit 50 MHz SDIO v2.0 are supported
9. PWM PINS The board has 4 channels of Pulse Width Modulation
(PWM). The PWM output can be implemented programmatically and
used for driving digital motors and LEDs. PWM frequency range is
adjustable from 1000 μs to 10000 μs, i.e., between 100 Hz and 1 kHz..
10. CONTROL PINS are used to control ESP8266. These pins include Chip
Enable pin (EN), Reset pin (RST) and WAKE pin.
EN pin – The ESP8266 chip is enabled when EN pin is pulled
HIGH. When pulled LOW the chip works at minimum power.
RST pin – RST pin is used to reset the ESP8266 chip.
WAKE pin – Wake pin is used to wake the chip from deep-sleep.
RASPBERRY Pi:
The Raspberry pi is a single
computer board with credit card
size, that can be used for many tasks
that your computer does, like
games, word processing,
spreadsheets and also to play HD
video.
It was established by the Raspberry
pi foundation from the UK. It has
been ready for public consumption since 2012 with the idea of making a low-
cost educational microcomputer for students and children.
The main purpose of designing the raspberry pi board is, to encourage
learning, experimentation and innovation for school level students. The
raspberry pi board is a portable and low cost.
Maximum of the raspberry pi computers is used in mobile phones. In the 21st
century, the growth of mobile computing technologies is very high, a huge
segment of this being driven by the mobile industries. The 98% of the mobile
phones were using ARM technology.
The raspberry pi comes in two models, they are model A and model B. The
main difference between model A and model B is USB port.
Model A board will consume less power and that does not include an Ethernet
port. But, the model B board includes an Ethernet port and designed in china.
Pin Configuration
Monitor
The raspberry pi model Aboard is designed with 256MB of SDRAM and model B
is designed with 51MB.Raspberry pi is a small size PC compare with other PCs.
The normal PCs RAM memory is available in gigabytes. But in raspberry pi
board, the RAM memory is available more than 256MB or 512MB
CPU (Central Processing Unit)
The Central processing unit is the brain of the raspberry pi board and that is
responsible for carrying out the instructions of the computer through logical
and mathematical operations. The raspberry pi uses ARM11 series processor,
which has joined the ranks of the Samsung galaxy phone
The Central processing unit is the brain of the raspberry pi board and that is
responsible for carrying out the instructions of the computer through logical
and mathematical operations. The raspberry pi uses ARM11 series processor,
which has joined the ranks of the Samsung galaxy phone
Ethernet Port
The Ethernet port of the raspberry pi is the main gateway for communicating
with additional devices. The raspberry pi Ethernet port is used to plug your
home router to access the internet
GPIO Pins
The general purpose input & output pins are used in the raspberry pi to
associate with the other electronic boards. These pins can accept input &
output commands based on programming raspberry pi. The raspberry pi
affords digital GPIO pins. These pins are used to connect other electronic
components. For example, you can connect it to the temperature sensor to
transmit digital data
XBee Socket
The XBee socket is used in raspberry pi board for the wireless communication
purpose
Power Source Connector
The power source cable is a small switch, which is placed on side of the shield.
The main purpose of the power source connector is to enable an external
power source
UART
Display
The connection options of the raspberry pi board are two types such as HDMI
and Composite.Many LCD and HD TV monitors can be attached using an HDMI
male cable and with a low-cost adaptor. The versions of HDMI are 1.3 and 1.4
are supported and 1.4 version cable is recommended. The O/Ps of the
Raspberry Pi audio and video through HMDI, but does not support HDMI I/p.
Older TVs can be connected using composite video. When using a composite
video connection, audio is available from the 3.5mm jack socket and can be
sent to your TV. To send audio to your TV, you need a cable which adjusts from
3.5mm to double RCA connectors
Features
512 MB SDRAM memory
Broadcom BCM2835 SoC full high definition multimedia processor
Dual Core Video Core IV Multimedia coprocessor
Single 2.0 USB connector
HDMI (rev 1.3 and 1.4) Composite RCA (PAL & NTSC) Video Out
3.5 MM Jack, HDMI Audio Out
MMC, SD, SDIO Card slot on board storage
Linux Operating system
Dimensions are 8.6cm*5.4cm*1.7cm
On board 10/100 Ethernet RJ45 jack
Application
The raspberry pi boards are used in many applications like Media streamer,
Arcade machine, Tablet computer, Home automation, Carputer, Internet radio,
Controlling robots, Cosmic Computer, Hunting for meteorites, Coffee and also
in raspberry pi based projects.
Chapter
3D printing technology
The 3D printing process builds a three-dimensional object from a computer-
aided design model, usually by successively adding material layer by layer.The
3D printing is a process of making three dimensional solid objects from a digital
file.
Types of 3D printer
RepRep
Delta
SLA
Basically any solid object can be printed like sunglasses, cube, cone, screw etc.
Process:
3D printing is basically 3 step process-
1. Designing of object
2. Slicing of object
3. Printing of object
Designing
We can find 3D models online also. Thingivers & MyMinifactory.com is the most popular open
source website for 3D model.
Slicing
For slicing of 3D model the most popular software is CURA. Here we slice our model.
Slice file is saved in .gcode format.
We can directly connect cura through printer.
Printing
Extruder :The filament extruder on a FDM printer is the part that extrudes the plastic
filament in a liquid form and deposits it on a printing platform by adding successive layers.
3D printer has 3 axis to move in all direction, extruder melt a plastic filament through small
nozzle above the bed.
Before printing the model, we have to prepare the printer following are the steps:-
Support
4. Hacksaw Blade
Minni
33. Hot glue gun Hot glue gun for pasting &
adhesive purpose.