Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devjoseruiz/humeter
Humidity and temperature monitoring with Arduino and Socket.IO.
https://github.com/devjoseruiz/humeter
arduino css html javascript nodejs socket-io
Last synced: 7 days ago
JSON representation
Humidity and temperature monitoring with Arduino and Socket.IO.
- Host: GitHub
- URL: https://github.com/devjoseruiz/humeter
- Owner: devjoseruiz
- License: gpl-3.0
- Created: 2021-12-11T21:16:39.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-11T21:16:48.000Z (about 3 years ago)
- Last Synced: 2024-12-14T13:33:01.948Z (2 months ago)
- Topics: arduino, css, html, javascript, nodejs, socket-io
- Language: EJS
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Humeter
Humidity and temperature monitoring with Arduino and Socket.IO## Introduction
Humeter is a project that combines Arduino and Socket.IO, with the aim of taking data on humidity and ambient temperature, for showing it in a real-time web application.## Requirements
### Hardware
- Arduino UNO or similar
- DHT22 sensor or similar### Software
- Node.js
- Bower## Assembly
![Schema](https://gitlab.com/joseruizdev/humeter/-/raw/master/arduino/schema.png)
## Installation
Go to the project directory. Then, just enter the following commands in the terminal:
```
npm install
bower install
```## Configuration
Indicate the USB port you want to use (by default, `/dev/ttyUSB0`) in `index.js`, line `6`.Also, you can adjust the time interval between each reading, changing the argument of the call to `delay()` function in `arduino/humeter.ino`, line `27`.
> No need to worry about anything else, because the server adapts itself.
## Start
1. Upload the sketch placed in `arduino/humeter.ino` to your Arduino and keep it connected to an USB port.
2. Go to the project directory and enter the following command in the terminal:
```
npm start
```> You must grant permissions to the server to read data via the USB port.