0% found this document useful (0 votes)
7 views66 pages

Sensor Applications with Arduino & Raspberry Pi

The document discusses various sensors used in embedded systems, including compass, light, sound, and accelerometer sensors, detailing their functions and applications. It also compares Arduino and Raspberry Pi, highlighting their purposes, hardware, programming environments, operating systems, connectivity options, and costs. Arduino is suited for real-time control projects, while Raspberry Pi serves as a versatile single-board computer for more complex applications.

Uploaded by

Akshaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views66 pages

Sensor Applications with Arduino & Raspberry Pi

The document discusses various sensors used in embedded systems, including compass, light, sound, and accelerometer sensors, detailing their functions and applications. It also compares Arduino and Raspberry Pi, highlighting their purposes, hardware, programming environments, operating systems, connectivity options, and costs. Arduino is suited for real-time control projects, while Raspberry Pi serves as a versatile single-board computer for more complex applications.

Uploaded by

Akshaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

ATMEGA328

Developing sensor based application through embedded


system platform
Compass sensor
A digital compass, or magnetometer, is a sensor that measures
the earth's magnetic field to determine the direction to the
magnetic poles.
Light sensor
Light Sensors. The light sensor is a passive device that
converts the light energy into an electrical signal output.
Light sensors are more commonly known as Photoelectric
Devices or Photo Sensors because they convert light energy
(photons) into electronic signal (electrons).
The light sensor is a useful component for various
reasons, such as detecting movement, tracking the
movement of the sun and automatic lighting.
Sound Sensor
• Sound is detected via a microphone and fed into an LM393
op amp.
• The sound level set point is adjusted via an on board
potentiometer.
• When the sound level exceeds the set point, an LED on the
module is illuminated and the output is sent low.
Accelerometer Sensor
• The accelerometer is the device capable of detecting
changes in motion in the form of acceleration.
• It can also measure the vibration of a structure.
• The acceleration is defined as the change in speed or
velocity over time.
• The motion sensors are present inside the accelerometer.
Arduino and raspberry pi difference
Purpose:

Arduino: Arduino is a microcontroller platform designed for real-time


control and monitoring of hardware projects.
It is best suited for projects that require precise timing and control,
such as robotics, home automation, and simple embedded systems.
Raspberry Pi: Raspberry Pi is a single-board computer that runs a full
operating system (usually a version of Linux) and is capable of running
a wide range of applications.
It is more like a small, low-cost computer and is ideal for tasks that
require a general-purpose computing environment, including web
browsing, word processing, and running various software applications.
Hardware:

Arduino: Arduino boards are based on microcontrollers, which

are simple, low-power devices. They are typically equipped with

digital and analog input/output pins for connecting sensors and

actuators.

Raspberry Pi: Raspberry Pi boards are single-board computers

with more powerful processors, RAM, and graphics capabilities.

They have USB ports, HDMI output, and support for networking,

making them suitable for a broader range of applications.


Programming:
Arduino: Arduino is programmed using a
simplified C/C++ programming language. It has
a simple integrated development environment
(IDE) that is easy to use, making it accessible for
beginners.
Raspberry Pi: Raspberry Pi can be programmed
in various programming languages, including
Python, C/C++, and many others. It offers a
more versatile environment for software
development.
Operating System:
Arduino: Arduino doesn't run a full-fledged operating
system. Instead, it runs a single program that you
upload to it. There's no multitasking or background
processes.
Raspberry Pi: Raspberry Pi runs a full operating
system, allowing for multitasking and the installation
of various software applications. This makes it more
suitable for complex projects that require internet
connectivity and a graphical user interface.
Connectivity:
Arduino: Arduino boards are usually used for
embedded systems and have limited connectivity
options. They can interface with sensors and
actuators and communicate with other devices via
serial, I2C, SPI, or GPIO pins.
Raspberry Pi: Raspberry Pi offers more connectivity
options, including USB ports, Ethernet, Wi-Fi, HDMI,
audio output, and GPIO pins. This makes it easier to
connect to a wide range of peripherals and networks.
Cost:

Arduino: Arduino boards are generally less expensive

than Raspberry Pi boards, making them an affordable

choice for many hobbyists and students.

Raspberry Pi: Raspberry Pi boards are slightly more

expensive but offer more computing power and

versatility.
Raspberry Pi
Implementation of IoT with Raspberry Pi

You might also like