KEMBAR78
Implement iot using python | PPTX
FABRIKAM
IMPLEMENT IOT USING PYTHON
P y t h o n & I n t e r n e t o f T h i n g s
Presented By :
IoTIAN Innovator
FABRIKAM 2
TOPICSTO BE COVERED
ABOUT IoT
WHY WE USED PYTHON In IoT?
PYTHON package
FABRIKAM
About IoT
=
The recipe for the internet of things is very simple. A
'thing', which could literally be anything, is fitted with an
embedded system which connects it to the internet, in other
words, it has its own IP address.
FABRIKAM
Why We used Python
In IoT?
4
IoT occupies a place of importance in Wireless
Sensor Networks, Data Analytics, Cyber
Physical Systems, Big Data and Machine
Learning. It is also very focused on real time
analytics and processes. So, for the
development of an IoT solution, one would need
a programming language which is PYTHON.
Because PYTHON is most popular & has all the
facility to do all these things using his libraries.
FABRIKAM 5
Most popular language
FABRIKAM 6
ImplementIoTUsing PYTHON
mraa
Sockets
Mysqldb
Numpy
Matplotlib
Pandas
Opencv
Tkinter
Tensorflow
Paho-mqtt
W e w i l l b e d i s c u s s i n g t h e P Y T H O N p a c k a g e s w h i c h w e u s e d f o r
d e v e l o p i n g I o T A p p l i c a t i o n i n P Y T H O N .
FABRIKAM
mraa
This library is used in microcontrollers
like: IntelEdition, Radpberry pi. Being a
high level library, reading from and writing
to pins is a one line affair, and the library
also provides support for communication
protocols such as I2C, UART and SPI.
FABRIKAM 8
Socket
sockets is a package which facilitates
networking over TCP/IP and UDP using
Python. One of the more interesting uses of
sockets, is that one can build their own
communication protocol using this package
as the base.
FABRIKAM 9
mysqldb
A database is a no-brainer when it comes
to most IoT applications. For something
whose sole purpose is to send data to the
internet, for generating some prediction
using machine learning .
FABRIKAM 10
numpy
This package is use for scientific computing
using python. very similar to MatLab,
but much lighter. The feature I use most is to
read sensor data in bulk from my databases
and work on them using the inbuilt
functions.
FABRIKAM 11
matplotlib
Data visualization is one of the most
fundamental operations that can be
performed. It looks pretty impressive when
you convert a huge list of numbers to a
concise graph which can be understood
intuitively. matplotlib provides a number
of different styles of graphs that can be
plotted using local data.
FABRIKAM 12
pandas
pandas is a package dedicated towards
data analysis. It is in essence, a local
alternative to using SQL databases which
is more suited to dealing with data as it is
built on numpy.
FABRIKAM 13
opencv
Opencv is a Python port of the very
successful C library for image processing.
It contains high-level variants of familiar
image processing functions which make
photo analysis much easier. The big
brother of signal processing, image
processing.
FABRIKAM 14
tkinter
Tkinter is a GUI development library
which comes bundled in with all
distributions of Python. This is extremely
useful in situations such as functionality
testing or repeated executions of the same
code.
FABRIKAM 15
tensorflow
This library is also used for applying ML to
IoT Objects. This is a very useful library to
have if you deal with a lot of non linear
datasets or work extensively with decision
trees and neural networks.
FABRIKAM 16
paho-mqtt
This library is used for fast communication
using MQTT protocol in
PYTHON. MQTT requests can be made
directly within Python, without any
additional setup to be done. Especially
useful in the prototyping stage.
FABRIKAM
https://www.element14.com/community/groups/internet-
of-things/blog/2017/02/17/iot-with-python-essential-
packages
https://in.pycon.org/2018/
17
References
FABRIKAM
THANK YOU

Implement iot using python

  • 1.
    FABRIKAM IMPLEMENT IOT USINGPYTHON P y t h o n & I n t e r n e t o f T h i n g s Presented By : IoTIAN Innovator
  • 2.
    FABRIKAM 2 TOPICSTO BECOVERED ABOUT IoT WHY WE USED PYTHON In IoT? PYTHON package
  • 3.
    FABRIKAM About IoT = The recipefor the internet of things is very simple. A 'thing', which could literally be anything, is fitted with an embedded system which connects it to the internet, in other words, it has its own IP address.
  • 4.
    FABRIKAM Why We usedPython In IoT? 4 IoT occupies a place of importance in Wireless Sensor Networks, Data Analytics, Cyber Physical Systems, Big Data and Machine Learning. It is also very focused on real time analytics and processes. So, for the development of an IoT solution, one would need a programming language which is PYTHON. Because PYTHON is most popular & has all the facility to do all these things using his libraries.
  • 5.
  • 6.
    FABRIKAM 6 ImplementIoTUsing PYTHON mraa Sockets Mysqldb Numpy Matplotlib Pandas Opencv Tkinter Tensorflow Paho-mqtt We w i l l b e d i s c u s s i n g t h e P Y T H O N p a c k a g e s w h i c h w e u s e d f o r d e v e l o p i n g I o T A p p l i c a t i o n i n P Y T H O N .
  • 7.
    FABRIKAM mraa This library isused in microcontrollers like: IntelEdition, Radpberry pi. Being a high level library, reading from and writing to pins is a one line affair, and the library also provides support for communication protocols such as I2C, UART and SPI.
  • 8.
    FABRIKAM 8 Socket sockets isa package which facilitates networking over TCP/IP and UDP using Python. One of the more interesting uses of sockets, is that one can build their own communication protocol using this package as the base.
  • 9.
    FABRIKAM 9 mysqldb A databaseis a no-brainer when it comes to most IoT applications. For something whose sole purpose is to send data to the internet, for generating some prediction using machine learning .
  • 10.
    FABRIKAM 10 numpy This packageis use for scientific computing using python. very similar to MatLab, but much lighter. The feature I use most is to read sensor data in bulk from my databases and work on them using the inbuilt functions.
  • 11.
    FABRIKAM 11 matplotlib Data visualizationis one of the most fundamental operations that can be performed. It looks pretty impressive when you convert a huge list of numbers to a concise graph which can be understood intuitively. matplotlib provides a number of different styles of graphs that can be plotted using local data.
  • 12.
    FABRIKAM 12 pandas pandas isa package dedicated towards data analysis. It is in essence, a local alternative to using SQL databases which is more suited to dealing with data as it is built on numpy.
  • 13.
    FABRIKAM 13 opencv Opencv isa Python port of the very successful C library for image processing. It contains high-level variants of familiar image processing functions which make photo analysis much easier. The big brother of signal processing, image processing.
  • 14.
    FABRIKAM 14 tkinter Tkinter isa GUI development library which comes bundled in with all distributions of Python. This is extremely useful in situations such as functionality testing or repeated executions of the same code.
  • 15.
    FABRIKAM 15 tensorflow This libraryis also used for applying ML to IoT Objects. This is a very useful library to have if you deal with a lot of non linear datasets or work extensively with decision trees and neural networks.
  • 16.
    FABRIKAM 16 paho-mqtt This libraryis used for fast communication using MQTT protocol in PYTHON. MQTT requests can be made directly within Python, without any additional setup to be done. Especially useful in the prototyping stage.
  • 17.
  • 18.