Git Product home page Git Product logo

rpi-astro-sensors's Introduction

Raspberry Pi Sensors for Astronomy

The goal of this project is to serve sensor data using a raspberry pi that include sensors:

  • BME280 - including data for Humidity, Temperature, Barometric Pressus
  • IMX90614 - non-contact infrared thermometer, used to determine the temperature of the sky to detect the presence of clouds. As the sky becomes more clear, the sky temperature is much colder. Comparing the IR temperature with the ambient temperature gives an indication of cloud cover.
  • SQM-LE, or a Home-built SQM-LE - used to measure the sky brightness in units of magnitudes per square arcseconds.

These data can be pushed to a mosquitto MQTT broker, or served via a rest api.

Installation

On a clean raspberry pi lite install, run the setup script. It installs python, and python libraries, registers the service and enables it on reboots

pi@astro-sensors:~/rpi-astro-sensors $ ./setup.sh

Usage

Edit the main.py file to point to your MQTT broker.
Run the service with

pi@astro-sensors:~/rpi-astro-sensors $ systemctl start astro-sensor.service

Stop the service with

pi@astro-sensors:~/rpi-astro-sensors $ systemctl stop astro-sensor.service

Restart the service with

pi@astro-sensors:~/rpi-astro-sensors $ systemctl restart astro-sensor.service

Example Usage

Install / Run

API Response

rpi-astro-sensors's People

Contributors

gshau avatar gsc57 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.