Giter Club home page Giter Club logo

clima's Introduction

Clima is a solar-powered, custom embedded-IoT solution that tracks climate from a suite of sensors, saves data locally for access via Bluetooth, uses a RESTful Web API, and synchronizes data to the cloud.

Contents

Clima

With this kit, it includes the complete package of sensors, PCB enclosure and mount to place this outdoors. You'll be able to measure wind speed/direction, rain volume, atmospheric conditions like temperature, pressure, humidity, CO2 levels and GPS Coordinates.

Assembly Instructions

A complete kit of Clima.Pro can be found on the Wilderness Labs Store and the Instructions for assembly can be found here.

The store version is 100% kit complete, including the option to upgrade the PCB, Enclosure and Battery only, if you include a previous version of the kit.

You can also source all of the components yourself. For a list of components see the Clima Pro Bill of Material (BoM)

Getting Started

To simplify the way to use this Meadow-powered reference IoT product, we've created a NuGet package that instantiates and encapsulates the onboard hardware into a Clima class.

  1. Add the ProjectLab Nuget package your project:

  2. Change the App type on your MeadowApp class to ClimaAppBase and initialize Clima's MainController passing the Hardware and a INetworkAdapter such as your WiFi adapter onboard the Meadow Core Compute Module:

public class ClimaApp : ClimaAppBase
{
    public override Task Initialize()
    {
        Resolver.Log.Info($"Initialize...");

        var mainController = new MainController();

        var wifi = Hardware.ComputeModule.NetworkAdapters.Primary<IWiFiNetworkAdapter>();

        mainController.Initialize(
            hardware: Hardware,
            networkAdapter: wifi);
            .
            .
            .
  1. Run the Clima_Demo project that does periodic readings of all its sensors and sends them to Meadow.Cloud if you have a Wilderness Labs account and have provisioned your device.

Hardware Specifications

You can find the schematics and other design files in the Hardware_Design folder.

Support

Having trouble building/running these projects?

  • File an issue with a repro case to investigate, and/or
  • Join our public Slack, where we have an awesome community helping, sharing and building amazing things using Meadow.

clima's People

Contributors

adrianstevens avatar bryancostanich avatar ctacke avatar doingnz avatar jorgedevs avatar lamebrain avatar rsforbes avatar summersk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

clima's Issues

Project won't build

I'm getting Secrets and ConnectionStatus issues that confound me - I'm not sure why either is occurring as secrets are populated and present and the namespacing matches up.

image

Hardware/Feature Requests for vNext (v5?)

For the next version of Clima, I propose the following features:

  1. A fan relay.
    We're using a temp sensor of the board, and having that in the enclosure that could be in the sun could yield data that isn't great. Adding a small 30mm case fan could help.
  2. Screw terminals for an external thermistor
    For the reason above, the option of an external wired thermistor would be good
  3. A light sensor and light pipe
    Being able to determine if we're in daylight/direct sun may also assist with #1 above
  4. A battery-backed RTC
    When the device boots it may or may not have a network connection. If it starts logging data before an NTP time comes in, we need to do math to back-correct those data points, which is not fun.
  5. Remove the GPS
    It's used for locating the device, but typically there are fixed-mount so it seems like a lot of BOM cost for a one-time data point that could be achieved in another way
  6. 4-pin header for an SSD1306 I2C display
    The ability to optionally plug in a small I2C display is extremely helpful for development and testing.

Wind direction is uncalibrated

The wind direction from the wind vane reports a 0-360 value, presumably from some fixed point on the hardware. It bears no relation to the actual installed orientation to true north, so the reported direction is only going to be right by accident of install. The app needs to support a calibration offset and there needs to be some way to set/update that offset after the hardware is installed.

Send Data From Meadow to an ASP .NET Server via WiFi Out of Date

For my first practice project I chose the sample project Send Data From Meadow to an ASP .NET Server via WiFi after the Hello, LED project. The coding portion in the linked directions cannot be followed to complete the project. Copying the sample project on GitHub probably will allow me to complete the project.

Recommendation to add section or badge marking out of date or previous version to links providing directions that will not allow you to complete a project. Label is probably most useful for guiding first time users to their first project.

meadow.core not found in local repository (also Meadow.Foundation not found when present)

Looks like the Clima project has a dependency on Meadow.Core.

PS C:\repo\Clima\Source\Clima> dotnet restore Clima.sln C:\Program Files\dotnet\sdk\5.0.200-preview.21079.7\NuGet.targets(290,5): error MSB3202: The project file "C:\repo\Meadow.Core\source\Meadow.Units\Meadow.Units.csproj" was not found. [C:\repo\Clima\Source\Clima\Clima.sln]

I'm also seeing this error which I assume is because the restore is failing.

'C:\repo\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Sensors.Weather.WindVane\Driver\Sensors.Weather.WindVane\Sensors.Weather.WindVane.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. WilderenessLabs.Clima.Meadow.Pro.HardwareDiagnostics C:\repo\Clima\Source\Clima\WilderenessLabs.Clima.Meadow.Pro.HardwareDiagnostics\WilderenessLabs.Clima.Meadow.Pro.HardwareDiagnostics.csproj'

Is there a place where I can get Meadow.Core? I can't seem to lay my eyes on it here in your public repo.

Wind direction should be sampled and report the median

Right now the Clima samples wind direction periodically (one a minute) and reports direction. Physically I see it moving a whole lot, so that number is going to be poor for accuracy. We should probably sample more frequently and return a something more like a rolling-median average of direction.

Potential problem/improvement for rain cover?

I'm no expert, so this is just a hunch on my part, but I feel like the rain cover would work better if the "covers" had some "overhang" with respect to the gaps rather than being "flush" with them. Currently it seems like it wouldn't take much for a raindrop with some force to get some upward momentum and sneak right in if it hit just below a gap.

I've drawn some pink lines in an attempt to illustrate what I think the problem could be:

image

Feel free to close/dismiss the concern if you think/know I'm wrong. Just thought I'd bring up the concern.

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.