Skip to content

NelsonPython/AstroPiQuake

 
 

Repository files navigation

AstroPiOTA

You can sense environment data using SenseHat and Raspberry Pi You can store the data on the Tangle or sell it on data marketplaces such as I3 Marketplace.

AstroPiOTA is a clone of AstroPi that connects to the IOTA Tangle. That's why it's called AstroPiOTA! The Tangle is a distributed ledger useful for storing and sharing data.

AstroPi flies onboard the International Space Station (ISS) keeping astronauts update-to-date about their environment. Here on Earth, you can monitor your local environment data and store it on the Tangle.

Try out the AstroPiOTA emulator. Move the temperature slider to see Smiley's face change colors from cool blue to mellow yellow to red hot. Take a look at earthquake detection. Grab AstroPiOTA with your mouse and move it. Watch the graph change as it detects you simulating an earthquake.

Sensing environment data

Sense Hat has an IMU or Inertial Measurement Unit with these specifications:

  • Temperature and humidity sensors
  • Barometric Pressure sensor
  • Accelerometer that measures acceleration forces
  • Gyroscope that measures momentum and rotation
  • Magnetometer that measures the Earth’s own magnetic field, a bit like a compass

Accelerometer and gyroscope data are measured using coordinates. These are sometimes referred to as yaw, pitch, and roll.

    x is yaw or rotation about the x-axis
    y is pitch or rotation about the y-axis
    z is roll or rotation about the z-axis

Building your own AstroPiOTA

Building the environment sensor

Installing software and configuring your device

Running in headless mode

Using your data

You can store your data directly to the Tangle

Storing data directly to the Tangle

Viewing data using the Devnet Tangle Explorer

Retrieving data using ZMQ

Selling your data

You sell data by publishing it on the I3 Marketplace where subscribers can buy it:

Publishing data to I3 Data Marketplace

Retrieving your data subscription

Investigating your data

Getting starting with the AstroPiOTA notebook on Kaggle

Charting your data on ThingSpeak

Learning as we go

  • Seeds are only needed for sending value transactions

  • As of October 2019, Raspberry Pi Buster operating system appears to have a WiFi Bug. You may want to use Stretch until a solution is found. Learn more: https://www.raspberrypi.org/forums/viewtopic.php?t=252984

  • This tutorial has not been tested with Python 3.7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published