This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#include <Adafruit_MPU6050.h> | |
#include <Wire.h> | |
#include <WiFi.h> | |
#include <WiFiMulti.h> | |
#include <Adafruit_SSD1306.h> | |
#include "SD.h" | |
#include "SPI.h" | |
// display defines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <NewPing.h> | |
#define TRIGGER_LEFT 1 | |
#define ECHO_LEFT 2 | |
#define TRIGGER_RIGHT 3 | |
#define ECHO_RIGHT 4 | |
#define SENSOR_MAX_RANGE 400 | |
NewPing left(TRIGGER_LEFT, ECHO_LEFT, SENSOR_MAX_RANGE); | |
NewPing right(TRIGGER_RIGHT, ECHO_RIGHT, SENSOR_MAX_RANGE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <BMX055.h> | |
#include <senseBoxIO.h> | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <WiFi101.h> | |
#include "SparkFun_Ublox_Arduino_Library.h" | |
#include <NewPing.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <Adafruit_BMP280.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <SD.h> | |
#include "SenseBoxMCU.h" | |
#include <RV8523.h> | |
File myFile; | |
HDC1080 hdc; | |
RV8523 rtc; | |
// Sensor ID's mit eigenen austauschen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SPI.h> | |
#include <Wire.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#define OLED_RESET 4 | |
#include "SenseBoxMCU.h" | |
Adafruit_SSD1306 display(OLED_RESET); | |
Button switchButton(0); | |
int page = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Testing OTA OSeM Sketch | |
senseBox:home - Citizen Sensingplatform | |
Version: wifiv2_0.3 | |
Date: 2019-12-06 | |
Homepage: https://www.sensebox.de https://www.opensensemap.org | |
Author: Reedu GmbH & Co. KG | |
Note: Sketch for senseBox:home WiFi MCU Edition | |
Model: homeV2Wifi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Basic Over-The-Air Sketch | |
// Library from: https://github.com/sensebox/OTALibrary needs to be installed | |
// Press Red button while holding down the grey button | |
// Afterwards the OTA mode should be enabled | |
#include <SenseBoxOTA.h> | |
void setup() | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Decoder(bytes, port) { | |
// bytes is of type Buffer. | |
'use strict'; | |
var TEMPSENSOR_ID, | |
HUMISENSOR_ID, | |
PRESSURESENSOR_ID, | |
LUXSENSOR_ID, | |
UVSENSOR_ID, | |
PM10_ID, | |
PM25_ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
senseBox:home - Citizen Sensingplatform | |
Version: lorav2.0.0 | |
Date: 2018-09-11 | |
Homepage: https://www.sensebox.de https://www.opensensemap.org | |
Author: Reedu GmbH & Co. KG | |
Note: Sketch for senseBox:home LoRa MCU Edition | |
Model: homeV2lora | |
Email: support@sensebox.de | |
Code is in the public domain. |
NewerOlder