0% found this document useful (0 votes)
46 views54 pages

Day3-Iot Master Class

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)
46 views54 pages

Day3-Iot Master Class

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/ 54

Internet

of
Things
Master Class
Day 3
M.K.Jeevarajan
www.pantechsolutions.net
What you will learn Today

 What is Node MCU ,ESP32,ESP32CAM


 Features of Node MCU , ESP32,ESP32CAM
 PINOUT of Node MCU , ESP32,ESP32CAM
 UART,SPI, IIC –How it works
 IoT Applications
About Pantech Prolabs India Pvt Ltd
 Started in the Year 2004
 Lab equipments and Sensor Interface
 Manufacturer of Brainsense EEG Headset
 Reconfigurable Algorithms on AI
 Manufacture of AI development Boards
 Power electronics, Fuel cell and Renewable Energy trainers

Vision
To help 10 Million students around
the globe to learn technology in a
easy way
www.pantechsolutions.net
About me

My Primary Expertise
Microcontroller Architecture: 8051,PIC,AVR,ARM,MSP430,PSOC3
DSP Architecture: Blackfin,C2000,C6000,21065L Sharc
FPGA: Spartan,Virtex,Cyclone
Image Processing Algorithms: Image/Scene Recognition, Machine Learning, Computer Vision, Deep Learning,
Pattern Recognition, Object Classification ,Image Retrieval, Image enhancement and denoising.
Neural Networks : SVM,RBF,BPN
Cryptography :RSA,DES,3DES,Ellipti curve,Blowfish,Diffe Hellman
Compilers: Keil,Visual DSP++,CCS, Xilinx Platform studio,ISE, Matlab, Open CV
https://www.linkedin.com/in/jeevarajan/ www.pantechsolutions.net
Announcement
● Attendance Link at 9 pm
● Minimum attendance required for an E-Certificate is 27
Days. Attendance link will be valid for 1 hrs. after the event.
● For Internship Candidates no attendance required ,it will be
accessed from the LMS Portal. (learn.pantechsolutions.net)
● Recorded Video Streaming for LAB classes to improve
Learning Experience
● PPT in facebook group
● Source code and projects available download only for
Internship canditates
Mindset Lesson for the Day
Formal Education will make you Living
Self Education will bring you Fortune.
-Jim Rohn
List down the learning and investment needed to
achieve Your Goal.

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
What is NodeMCU

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Why is so Popular

Cheap
Powerful
Low Power consumption

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Node MCU V 1.0
ESP8266

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
What is ESP32

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
What is ESP32

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
ESP32 vs ESP8266 ESP8266
ESP32

MCU Xtensa Single-core 32-bit L106 Xtensa Dual-Core 32-bit LX6 with
600 DMIPS

802.11 b/g/n Wi-Fi HT20 HT40

Bluetooth X Bluetooth 4.2 and BLE

Typical Frequency 80 MHz 160 MHz

SRAM X ✓
Flash X ✓
GPIO 17 34

Hardware /Software PWM None / 8 channels None / 16 channels

SPI/I2C/I2S/UART 2/1/2/2 4/2/2/2

ADC 10-bit 12-bit

CAN X ✓
Ethernet MAC Interface X ✓

Touch Sensor X ✓
Temperature Sensor X ✓(old versions)

Hall effect sensor X ✓


Working Temperature -40ºC to 125ºC -40ºC to 125ºC

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Softwares supported for Node
MCU

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
What is ESP32 CAM

The ESP32-CAM is a very small camera module with the ESP32-S chip that costs
approximately $10. Besides the OV2640 camera, and several GPIOs to connect peripherals, it
also features a microSD card slot that can be useful to store images taken with the camera or
to store files to serve to clients.
Block diagram

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
PIN OUT FOR ESP32CAM

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Programming of ESP32 CAM

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Features of ESP32CAM
● The smallest 802.11b/g/n Wi-Fi BT SoC module
● Low power 32-bit CPU,can also serve the application processor
● Up to 160MHz clock speed, summary computing power up to 600 DMIPS
● Built-in 520 KB SRAM, external 4MPSRAM
● Supports UART/SPI/I2C/PWM/ADC/DAC
● Support OV2640 and OV7670 cameras, built-in flash lamp
● Support image WiFi upload
● Support TF card
● Supports multiple sleep modes
● Embedded Lwip and FreeRTOS
● Supports STA/AP/STA+AP operation mode
● Support for serial port local and remote firmware upgrades (FOTA)
www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
WHAT IS UART
● Universal asynchronous receiver and Transmitter
● Serial port, COM port, RS232, RS485
● VERY COMMON AND SIMPLE
● Useful for communication to
○ Microcontroller

○ Computer

○ Other FPGA
Asynchronous Vs Synchronous

Two methods of serial communication are

•Synchronous Communication: Transfer of bulk data in the framed structure at a time


•Asynchronous Communication: Transfer of a byte data in the framed structure at a time
UART
UART PARAMETERS
● Baud Rate (9600, 19200, 115200, others)
● Number of Data Bits (7, 8)
● Parity Bit (On, Off)
● Stop Bits (0, 1, 2)
● Flow Control (None, On, Hardware)
UART DATA STREAM EXAMPLE
Introduction to SPI
Master and Slave Mode
Master and Slave Mode –Multiple
Slave
What is IIC
I2C requires a mere two wires, like asynchronous serial, but those two wires can support up to 1008
peripheral devices. Also, unlike SPI, I2C can support a multi-controller system, allowing more than one
controller to communicate with all peripheral devices on the bus (although the controller devices can't talk to
each other over the bus and must take turns using the bus lines).

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Why Use I2C?
Disadvantage of Serial Port(UART)
● serial ports are asynchronous (no clock data is transmitted), devices using them must agree
ahead of time on a data rate. The two devices must also have clocks that are close to the same
rate

● Another core fault in asynchronous serial ports is that they are inherently suited to
communications between two, and only two, devices. While it is possible to connect multiple
devices to a single serial port, bus contention (where two devices attempt to drive the same line
at the same time)
Disadvantage of SPI
 The most obvious drawback of SPI is the number of pins required. Connecting a single
controller [1] to a single peripheral [1] with an SPI bus requires four lines; each additional
peripheral device requires one additional chip select I/O pin on the controller.
 SPI only allows one controller on the bus,

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
I2C is Open Drain
● UART or SPI connections, the I2C bus drivers are "open drain",
meaning that they can pull the corresponding signal line low, but
cannot drive it high. Thus, there can be no bus contention where one
device is trying to drive the line high while another tries to pull it low,
eliminating the potential for damage to the drivers or excessive
power dissipation in the system. Each signal line has a pull-up
resistor on it, to restore the signal to high when no device is
asserting it low.
Features of I2C
● Half-duplex Communication Protocol
Bi-directional communication is possible but not simultaneously.
● Synchronous Communication – The data is transferred in the form of frames or blocks.
Can be configured in a multi-master configuration.
● Arbitration –
I2C protocol supports multi-master bus system but more than one bus can not be used
simultaneously. The SDA and SCL are monitored by the masters. If the SDA is found high when it
was supposed to be low it will be inferred that another master is active and hence it stops the
transfer of data.
 Serial transmission
I2C uses serial transmission for transmission of data.
Used for low-speed communication.

● Clock Stretching
The clock is stretched when the slave device is not ready to accept more data by holding the
SCL line low, hence disabling the master to raise the clock line. Master will not be able to raise the
clock line because the wires are AND wired and wait until the slave releases the SCL line to show it
is ready to transfer next bit.
Start
● Start Condition: The SDA line switches from a high voltage level to a
low voltage level before the SCL line switches from high to low.

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Stop
After required data blocks are transferred through the SDA line, the master device switches the
SDA line from low voltage level to high voltage level before the SCL line switches from high to low.

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
I2C – How it works
Sending Data to a Slave Device

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Reading Data from a Slave Device
Circuit Diagram

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
IoT applications with ESP32 CAM

www.pantechsolutions.net
For learning hub visit learn.pantechsolutions.net
Big Announcement for Diwali
offer
Launching Warrior Way Community
Python Boot camp(10 Days)

•Application Based Learning


•Notebooks: Anaconda Navigator, Google Colab, Pycharm, Jupyter, Spyder
•Python Object & Data Structure
•Python Statements
•Methods & Functions
•Object Oriented Programming
•Modules and Packages
•Decorators & Generators
•Working with Images
•Working with Files
•Emails with Python
Embedded System Design & IOT
Master Class(30 Days)
● 8051 Architecture (5 Days)

● PIC Architecture(5 Days)


● ARM7-LPC2148(5 Days)

● LPC4088 CortexM4(5 Days)


● NodeMCU(5 Days)
Arduino Master Class(30 Days)
● Basics of Arduino
● Building ESD using Arduino
● Communication Protocol
● Sensors
● Display
● Motor
● Robotics System
● Electrical System
● Matlab & IoT
Raspberry PI Master Class(30 Days)
● Basics of Raspberry PI
● Building ESD using RPI
● Communication Protocol
● Sensors
● Display
● Motor
● Robotics System
PCB Design Master Class(12 Days)

 Introduction to Schematic Capture


 Introduction to Allegro and Footprint Creation
 Importing Schematics in allegro ,Placement and route
 Gerber Creation, BOM, PDF
 How to Design a 8051 Microcontroller Board
Soft Skills
BONUS
Validity for
One year

Click here to enroll


Validity for
One year

Click here to enroll

PROGRAM STARTS FROM NOV 10


How it works
 First Batch of Job Assistance Coaching program starts on November 10.
 It is a Coaching Program.
 You have to do self study ,Have to participate in Master mind get
feedback to Improve.
 Get the Resume reviewed before applying (5 Resume review included)
 Group career coaching
Click here to enroll internship @750
Questions and Answers

?
Thank you

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy