Skip to content

KrishnaRishi2208/ESP8266-ThingsBoard-UltraSonic-Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ESP8266-ThingsBoard-UltraSonic-Sensor

View Ultrasonic Sensor data using ThingsBoard Dashboard

Requirements:

1 esp8266 1 UltraSonic Sensor Jumper wires

Procedure

1)First,connect the board with the following schema:

  esp8266 GND  ----> Ultrasonic GND
  
  esp8266 D2   ----> Ultrasonic Echo
  
  esp8266 D1   ----> Ultrasonic Trig
  
  esp8266 Vin  ----> Ultrasonic Vcc

2)Then,download and run the UltrasonicDataSend.ino file. In the file, change your ssid,password,token.

3)Then, go to https://demo.thingsboard.io/ and sign in to your account.

  Go to devices and create a new device with any name and click add.
  
  Here, you need to configure the device to your application by clicking on manage credentials and copying the access token and pasting it into the  ACCESS_TOKEN variable defined in the UltrasonicDataSend.ino file.
  
  Go to dashboards and import ultrasonic_test.json file.
  
  In the dashboard, change the alias to the device you just created.
  
  Here, you may need to add the data key as "distance"(use the same spelling).

4)Now, upload your code to esp8266 and view the data on your ThingsBoard dashboard.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages