Вы находитесь на странице: 1из 24

NATIONAL INSTITUTE OF

ELECTRONICS & INFORMATION TECHNOLOGY


CALICUT

Presented By:

CARIoT Aparna PP
Ashik Alfred
IoT Cloud Dashboard JaiKrishna CV
Piyush P
Rama Mohan Rao Lanka
Srivatsa KS
Guided by:
Mr. Rajesh. M
Scientist “C”
INTRODUCTION

 CarIoT is an IoT dash board for vehicle’s activity in real-time data, self-
diagnostic data and location based data.

 The IoT dash board is portable and available across different devices like
 Desktop,
 Android devices
 Palm held Raspberry Pi Mini Computers.

 We can monitor the


 Health of the Vehicle’s,
 Location Tracking which help us to locate the vehicle instantly
 Real time Running data to check any danger levels of
 Temperatures in the Coolant, Engine Oil,
 Any malfunctioning of the Engine,
 RPM, Speed etc
OBJECTIVE

 Core objective is to develop an IoT Based Cloud Dashboard where the


Engine data is procured from the vehicle’s OBD port and Location data is
procured from the GPS module.

 Dashboard provides the data like Engine On/Off, RPM, Speed, Coolant
Temperature, Idling, Battery Life, MIL, Engine Load etc.

 Dashboard provides Alert mechanism for


 Predictive Maintenance of Car Health such as
 Air-Fuel Ratio Indicator
 Battery Life
 Fuel Injection
 Mal Function Indicator (MIL)
 Driving related alerts Geo-Fencing, and Start/Stop Alerts etc
SYSTEM DIAGRAM

CONTROLLED AREA NETWORK (CAN)

Fuel Level IR Speed Temperature


Regulated
Sensor Sensor
Sensor Power Supply

ADC ADC

ECU - Microcontroller

OBD CAN Transceiver Arduino UNO

NODE MCU Wi-Fi

GPS MODULE Cloud Storage Internet

CARIoT DASH BOARD


SYSTEM DIAGRAM Contd…
….Vehicle OBD2 Connection

Fuel Level IR Speed Temperature


Regulated
Sensor Sensor
Sensor Power Supply

ADC ADC

ECU - Microcontroller

OBD CAN Transceiver

OBD2 to DB9 adapter cable


NISSAN MICRA CAR – OBD2 Port

Can BUS Shield – SPARK FUN


SYSTEM DIAGRAM Contd…
…..OBD2 Pin to DB9 Pin

OBD2 to DB9 adapter cable

OBD2 PIN DB9PIN


CAN High  3rd PIN
CAN Low  5th PIN

 3rd PIN on DB9 connector is the Transmit Data (TD)


 5th PIN is the ground.
SYSTEM DIAGRAM Contd…
…..What is CAN Bus

 The Vehicle’s OBD2 Port is connected to the CAN Bus Shield –Spark Fun with OBD2 to DB9 adapter cable.
 CAN messages from OBD2 Port will be received by CAN Bus Shield

What is CAN bus?

 CAN is a Controller Area Network, which is a network of independent controllers communicating securely.

 It was first developed by Bosch and Intel in 1990 and has been amended since.

 The International Standards Organization (ISO) has further defined CAN using their OSI model.

 CAN –BUS cover 2 layers in the OSI Model i.e. Physical Layer and Data Link Layer.
SYSTEM DIAGRAM Contd…
…..CAN Bus Shield  Ardunio UNO

 The connection between the modules


CAN BUS Shield & Ardunio UNO Board.

 On the CAN BUS Shield, the CAN Messages


received using SPI protocol (available on the MISO,
MOSI and SCLK PINS).

Fuel Level IR Speed Temperature


Regulated
Sensor Sensor
Sensor Power Supply

ADC ADC

ECU - Microcontroller

OBD CAN Shield BUS Arduino UNO


SYSTEM DIAGRAM Contd…
…..CAN Bus Shield  Ardunio UNO

 The Wire connection between the modules Ardunio


UNO Board and NODE MCU

 The GPIO 2nd and 3rd pins on the Ardunio Board has
virtually made its Transmitter and Receiver

GPIO 2nd PIN  Receiver


GPIO 3rd PIN  Transmitter

 The NODE MCU – ESP 2866 Wi-Fi is connected to the


Internet
OBD CAN Shield BUS Arduino UNO

NODE MCU Wi-Fi

Internet
SYSTEM DIAGRAM Contd…
…..IoT Cloud Dash Board

 The Serial Data will be uploaded to the Cloud Platform


via Wi-Fi Internet connection.

 Along with the Vehicle’s Engine data, the GPS will be


sending its location and uploading to the Cloud Platform.

 The Dash Board on the Cloud Platform is prepared using


the Engine Data and Location Details

NODE MCU Wi-Fi

GPS MODULE Cloud Storage Internet

CARIoT DASH BOARD


Software Flow Chart

On Ardunio Module On Node MCU Module

Node MCU
ESP 2866
Platform as a Service…
….. About Ubidots

 Ubidots is an Application Builder for the Internet of Things(IoT)


 Ubidots accelerates your IoT initiatives, can support wide range of devices
 Connect your devices to the cloud using Ubidots firmware libraries.
 Can Create custom visualizations in clean, real-time dashboards.
 Alert Mechanism like SMS, Emails or trigger Telegrams based on data.
Platform as a Service…UbiDots
….User Account TOKEN ID

 The TOKEN ID of the User Account is


vital because the firmware will be
connected to the right User
Dashboard.

 TOKEN ID account's unique and fixed


master key.

 In the firmware programming it is


mandatory to hardcode the TOKEN ID
which are then used in every API
request..

 The TOKEN IDS are different for


Android Clients and general
Platform as a Service…UbiDots
….Creating a Device

 Creating Device
 Procure Business Version Credentials from UbiDots
 Go to  https://industrial.ubidots.com
 Device Management
 Devices

 In the Devices Pages click on Add Device


Platform as a Service…UbiDots contd…

….Creating a Device
•A created device has
• API Label
• ID

• This API Label is referred in


the Firmware program to
publish the data to correct
device.

•Sample pseudo code written


in NODE MCU program which
publishes the Device data to
the cloud..
Platform as a Service…UbiDots contd…

….Creating a Variable
•A created variable has
• API Label
• ID

• This API Label is referred in the Firmware


program to add the data to correct device.
Platform as a Service…UbiDots contd…

….MQTT
 A variable will be created under a device where the variable will receive the Sensor Data
and the device will be publishing the data into the cloud platform using the Wi-Fi Internet.

 The firmware Libraries from Ubidots has to be downloaded to the NodeMCU programming
environment and the device and variable API-LABELS are programmed.

 MQTT protocol is being used as the Internet Transport Protocol at the Transport Layer in
the OSI model.

 MQTT is a machine-to-machine (M2M)/"Internet of Things" connectivity protocol. It was


designed as an extremely lightweight publish/subscribe messaging transport.

 The design principles are to minimize network bandwidth,


and device resource requirements with assurance of delivery.
Platform as a Service…UbiDots contd…

….Creating a DashBoard

 We have wide range of Widgets


available for our requirement

 The Widget will be connected to


the Device and its corresponding
Variable.

 Widgets available to see data as


 Graphs
 Values
 Map
 Tabular Format
 Control Buttons
DashBoard

 The Dash board can


display data for
 Runtime Data
 Engine ON/OFF
 RPM
 SPEED
 BATTERY
 COOLANT TEMP
 ENGINE LOAD
 MIL
 FUEL PRESSURE
 RUNTIME
 THROTTLE POSITION
 GPS Location Data
GEO FENCE FOR THE VEHICLE
Alert Mechanism

 An Alert Mechanism can be


developed and make a GEO FENCE
for an Vehicle in a geographical
Location.

 Under the Events its possible to set


a Device under GEO FENCE by
mapping its to the location.
GEO FENCE FOR THE VEHICLE
Alert Mechanism
Conclusion & Further Scope

 CarIoT is an IoT dash board for vehicle’s activity in real-time data on the Cloud Dash Board
along self-diagnostic data and location based Alert Mechanism like Geo-Fencing.

 The UbiDots dash board is portable and any danger levels of Temperatures in the Coolant,
Engine Oil, any Malfunctioning of the Engine, RPM, and Speed etc can be notified.

 Multiple Users can access the dash board from any part of the world using Internet.
FUTURE SCOPE
 A complete alert mechanism can be developed for Predictive and Preventive Maintenance
of Car Health such as Air-Fuel Ratio Indicator, Battery Life, Coolant Temperature, Fuel
Injection etc.
 Based on historical data, the Driving Behavior related alerts like Over Speed, Geo-Fencing,
Hard Acceleration, Sudden Brakes can be recorded for Safe Driving.
 We can also procure data for Tyre Pressure, Brakepad Erosion and Emission Levels by
integrating Sensors with the car.

Вам также может понравиться