A very simple project which collects a temperature value from the DS18B20 sensor and sends it out using a MQTT client.
Video: https://www.youtube.com/watch?v=zlS7tIBRaxU
- Java
- OpenJDK: Device I/O Project
- Eclipse Paho
- Android
- Spring Framework(Boot)
- SockJS
- Chart.js
You can find it here
You can find it here
You can find it here
Raspberry Pi needs to be configured in order to be able to read a temperature from the DS18B20 sensor. See how to do it. See also how to load drivers at startup.
How to launch the application on Raspberry Pi:
-
Build the project
mvn clean install -
Upload the following folder to Raspberry Pi:
iot.home\hardware\home.core\target\product -
Launch the
product\launcher\launch_linux.shfile. Please make sure thelaunch_linux.shfile has execute permission.
