Code Monkey home page Code Monkey logo

freertos-weatherstation-datalogger's Introduction

FreeRTOS-WeatherStation-Datalogger

Introduction:

The project was developed to create a system for collecting and displaying data from multiple sensors, specifically a DHT11 temperature and humidity sensor, a DS3232 real-time clock (RTC), a light sensor using an LDR, and an MPX4115 pressure sensor. The data from these sensors is displayed on an SSD1306 OLED display and saved on an SD card. The project utilizes the Arduino Mega 2560 as the main microcontroller board, along with the Arduino_FreeRTOS library to schedule tasks for collecting and displaying the sensor data.

alt text


Hardware Design:

The hardware design for this project involves connecting the sensors to the Arduino Mega 2560 board through various pins and buses. The OLED display and the RTC are connected to the Arduino board via the I2C bus, while the SD card is connected via the SPI bus with the chip select pin set to pin 48. The DHT11 temperature and humidity sensor is connected to digital pin 7, the LDR light sensor is connected to analog input pin A0, and the MPX4115 pressure sensor is connected to analog input pin A1.

alt text


Sample Result:

The weather station and data logger project was successfully implemented and tested. The sensors were able to continuously collect data and the OLED display was able to display the data in a clear and easy-to-read manner. The data was also successfully saved to the SD card and could be easily accessed and analyzed later as shown in the following test sample:

alt text

alt text

freertos-weatherstation-datalogger's People

Contributors

bahaaay avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.