0% found this document useful (0 votes)
12 views

IOT Unit III

Iot

Uploaded by

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

IOT Unit III

Iot

Uploaded by

Tejaswini Pawar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Unit III

IoT physical device endpoint –

What is an IoT Device:


A "Thing" in Internet of Things (IoT) can be any object that has a unique identifier and which can
send/receive data (including user data) over a network (e.g., smart phone, smart TV, computer, refrigerator,
car, etc.).
IoT devices are connected to the Internet and send information about themselves or about their
surroundings (e.g., information sensed by the connected sensors) over a network (to other devices or
servers/storage) or allow actuation upon the physical entities/environment around them remotely.
IoT Device Examples

➢A home automation device that allows remotely monitoring the status of appliances and controlling the
appliances.

➢An industrial machine which sends information abouts its operation and health monitoring data to a
server.

➢A car which sends information about its location to a cloud-based service

➢A wireless-enabled wearable device that measures data about a person such as the number of steps walked
and sends the data to a cloud-based service. Basic building blocks of an IoT Device

Basic building blocks of IoT device


Raspberry Pi Interface
What is Raspberry pi ?
The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and
uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore
computing, and to learn how to program in languages like Scratch and Python. It’s capable of doing
everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition
video, to making spreadsheets, word-processing, and playing games.”
Raspberry pi has Serial, SPI and I2C interfaces for data transfer.
Serial : The Serial interface on Raspberry Pi has receive (Rx) and transmit (Tx) pins for communication
with serial peripherals.
SPI : Serial Peripheral Interface (SPI) is a synchronous serial data protocol used for communicating with
one or more peripheral devices. in an SPI connection, there are five pins on Raspberry Pi for SPI interface :
• MISO (Master in slave out) – Master line for sending data to the peripherals.
• MOSI (Master out slave in) – Slave line for sending data to the master.
• SCK (Serial Clock) – Clock generated by master to synchronize data transmission
• CE0 (Chip Enable 0) – To enable or disable devices
• CE0 (Chip Enable 1) – To enable or disable devices
I2C :
The I2C interface pins on Raspberry Pi allow you to connect hardware modules. I2C interface allows
synchronous data transfer with just two pins – SDA (data line) an SCL (Clock Line).

Programming Raspberry Pi with python


The Raspberry Pi made physical computing and programming accessible to many -- it is relatively
inexpensive, and almost anyone could simply connect a monitor, keyboard, and mouse to get
started. Python is an easy to start with high-level language, and it is an integral part of the Raspberry Pi's
operating system.

In this guide, we'll show you how to get started with the Thonny IDE, learn about basic data types and
control flow statements that are readily used when working with sensors and actuators on the Raspberry Pi.

Complete this guide to get started with Python programming on the Raspberry Pi.
Complete this guide to get started with Python programming on the Raspberry Pi.
1. Step 1 Overview. ...
2. Step 2 What is a programming language? ...
3. Step 3 Starting Python for the First Time. ...
4. Step 4 Save and execute code. ...
5. Step 5 Run Python via Terminal. ...
6. Step 6 Data Types: Numbers. ...
7. Step 7 Data Types: String. ...
8. Step 8 Data Types: Boolean.

You might also like