Giter Site home page Giter Site logo

lakeonwan / microbit-telemetry Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

Wireless data logger for temperature, light and sound level using 2 BBC Micro:bit units and a Raspberry PI

License: MIT License

Python 100.00%
bbc-microbit data-logger iot light-sen radio-control raspberry-pi remote rpi sensor sensor-data

microbit-telemetry's Introduction

microbit-telemetry

This project uses two BBC micro:bits and one computer

๐ŸŒ world <----sense---- Micro:bit -transmit-> Micro:bit -transmit-> Raspberry PI -log-> ๐Ÿ“
         ๐ŸŒก temperature     v2      (radio)              (serial)         
         ๐Ÿ’ก    light
         ๐ŸŽค    sound

micro:bit v2 - sensor and transmitter (radio)

microbit_sense_and_send.py

When the application is started, the micro:bit screen shows the letter 'S'.

After that it periodically senses:

  • temperature
  • light level
  • sound level using micro:bit v2 build-in microphone

When pressing button A, the micro:bit led screen outputs sensor data

  • The 1st led brightness corresponds with temperature
  • The 2nd led brightness corresponds with light level
  • The 3rd led brightness corresponds with sound level

Pressing button A again disables outputting to the led screen

micro:bit - receiver (radio) and transmitter (serial)

microbit_radio_receive_and_send_serial.py

When the application is started, the micro:bit screen shows the letter 'R'.

After that it periodically checks for incoming data that is sent by the sensor micro:bit v2. When data is received, a led on the led screen is turned on briefly

Raspberry Pi - receiver (serial) and logger

hub_serial_read_and_process.py

This application receives its telemetry data over the serial port and logs it in a file called telemetry.log

The serial port settings are:

setting value
port /dev/ttyACM0
baudrate 115200

microbit-telemetry's People

Contributors

lakeonwan 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.