Skip to content

Basic implementation of transferring DHT values through UDP connection

Notifications You must be signed in to change notification settings

sharqawiDev/DHT_IoT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DHT_IoT

Basic implementation of transferring DHT values through UDP connection and Arduino Uno.

The Goal

Using Arduino Uno to collect DHT sensor values and send them through UDP protocol to local server on my laptop device.

Components

Software Side

External Arduino Libraries

Python External Modules

  • socket
  • json Note: unlike Arduino libraries, it is enough here to just import the libraries in the code (there is no need to download anything)

How to Start

After connecting all pieces together, just upload the Arduino code to the Arduino and then run the python code using the command python recieve.py. You will then watch the data printed in the console.

How it works?

The DHT sensor collects data, these data are packaged using json generator and send through UDP protocol to the local python server to parse the json object and show the data on console.

About

Basic implementation of transferring DHT values through UDP connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published