Skip to content

llschall/ardw-sensor-fx

Repository files navigation

ardw-sensor-fx

Retrieves the temperature and humidity measurements from a DHT11 sensor, and renders them in a Java FX chart.

Overview

Overview

Setup (Windows / Linux)

The following command will download the ardw-sensor-fx program to the current folder and start it.

git clone https://github.com/llschall/ardw-sensor-fx;
./ardw-sensor-fx/gradlew -p ardw-sensor-fx run;

Setup of the Arduino board

Hardware

  • Connect the DHT ground (pin -) to the Arduino gnd. Picture: black cable
  • Connect the DHT power (pin +) to the Arduino 5V. Picture: red cable
  • Connect the DHT signal (pin out) to the Arduino pin 4. Picture: green cable

Overview Overview Overview

And of course connect you Arduino board to your PC using any USB cable.
Bluetooth connection might work as well but has not been tested so far.

Software

Upload the ino file content hereafter to your Arduino board, using for instance the official Arduino IDE: https://github.com/llschall/ardw-sensor-fx/blob/main/ino/ardw-sensor-fx/ardw-sensor-fx.ino

It might be necessary to firstly import the Ardwloop and DHT libraries to your Arduino IDE to make the compilation successful.

Overview

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published