GithubHelp home page GithubHelp logo

thomasbarris / arduinopromini_bme280_sigfox Goto Github PK

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

An low power Arduino with a BME280 sensor that sends data over SigFox and finally push the data to an MQTT server

License: GNU General Public License v3.0

Arduino 56.93% Python 43.07%
arduino sigfox sensor

arduinopromini_bme280_sigfox's Introduction

SigFox Arduino Sensor

A low power Arduino with a BME280 sensor that sends data over SigFox and finally push the data to an MQTT server

Getting Started

Prerequisites

  • FTDI adapter
  • 3.3V Arduino Pro Mini (modified)
  • Pololu 3.3V Step-Up/Step-Down Voltage regulator (S7V8F3)
  • battery holder. I used a holder for two LR20 batteries
  • SigFox Modem (Wisol)
  • a place to run a phyton3 script
  • access to a MQTT server

Installing

i) modify your Arduino Pro Mini according to this instructions

ii) wire the Step-Up/Step-Down converter to the battery and Arduino pins + add the SigFox modem

iii) transfer the sketch with the FTDI adapter from your PC to the Arduino and open the serial console on your PC

iv) use the modem ID, PAC to register at SigFox's backend

v) after that login to Sigfox and set up the message forwarding by clicking on "Device Type" -> on "Name" in the list (last column) -> callbacks -> new

vi) add the message forwarding (callback). The images shows my setting which work with the python script. Screenshot

vii) modify the python script and add the data for your mail provider and MQTT server. Add it to cron so it runs every 5 minutes */5 * * * * /usr/bin/python3 /home/thomas/sigfox/sigfox.py

viii) you probably want to change the hard coded MQTT channels in line 46-49

that's it

Python Script

The python script is a very dirty hack but works now here since a week. I am not a programmer and this was my frist python program. Feel free to improve it or avoid it by using GET/POST SigFox callbacks

arduinopromini_bme280_sigfox's People

Contributors

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