Giter Site home page Giter Site logo

esp32c3_solar_monitor's Introduction

Solar Powered RC Boat Status Website

This repository contains the code for a website hosted on an ESP32-C3 Supermini that displays the status of a solar-powered RC boat. The website provides real-time data on various parameters such as battery level, solar panel voltage, boat speed, and GPS coordinates.

Table of Contents

Introduction

This project aims to monitor and display the operational status of a solar-powered RC boat. The ESP32-C3 Supermini serves as the web server, gathering data from various sensors on the boat and presenting it through a web interface.

Features

  • Real-time monitoring of:
    • Battery level
    • Solar panel voltage
    • Boat speed
    • GPS coordinates
  • Simple and responsive web interface
  • Low power consumption, ideal for solar-powered projects

Hardware Requirements

  • ESP32-C3 Supermini
  • Li-Po Battery (for powering the ESP32 and boat)
  • Solar Panel
  • Voltage sensor
  • GPS module
  • RC Boat (printables.com)

Software Requirements

  • PlatformIO
  • Additional libraries:
    • WiFi.h
    • WebServer.h
    • TinyGPS++.h

Installation

  1. Set up PlatformIO:

    • Install PlatformIO from here.
    • Open Visual Studio Code and install the PlatformIO IDE extension.
  2. Clone the repository:

    git clone https://github.com/yourusername/solar-rc-boat-status.git
    cd solar-rc-boat-status
  3. Configure PlatformIO project:

    • Open the cloned project folder in Visual Studio Code.
    • Ensure the platformio.ini file contains the following configuration:
      [env:esp32c3_supermini]
      platform = espressif32
      board = esp32-c3-devkitm-1
      framework = arduino
  4. Configure WiFi credentials:

    • Create a wifi_config.h file in the src directory with the following content:
      #define WIFI_SSID "your-SSID"
      #define WIFI_PASSWORD "your-PASSWORD"
  5. Upload the code:

    • Connect your ESP32-C3 to the computer.
    • In Visual Studio Code, open the PlatformIO extension and navigate to PIO Home -> Project Tasks -> Upload under the [env:esp32c3_supermini] environment.
    • Click on Upload to compile and upload the code to the ESP32-C3.

Usage

  1. Power up the system:

    • Ensure all sensors and the ESP32-C3 are correctly connected and powered by the solar panel and/or battery.
  2. Connect to the web interface:

    • Once the ESP32-C3 is powered up and connected to the WiFi network, open a web browser.
    • Enter the IP address assigned to the ESP32-C3 (check the Serial Monitor for the IP address).
  3. Monitor the status:

    • The website will display real-time data of the RC boat's battery level, solar panel voltage, speed, and GPS coordinates.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.


Note: Ensure all connections are secure and weatherproof, especially since the project involves water. Regularly check the solar panel and battery status to prevent any damage to the components.


Happy Sailing! ๐Ÿšค๐ŸŒž

esp32c3_solar_monitor's People

Contributors

servus7 avatar

Stargazers

 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.