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
// Light meter | |
// 12K resistor connected between A0 pin and GND | |
// Photoresistor connected between A0 and VCC 3.3V | |
#include "U8glib.h" | |
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK); // Display which does not send AC | |
//U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE|U8G_I2C_OPT_DEV_0); // I2C / TWI | |
//U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST); // Fast I2C / TWI | |
//U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NO_ACK); // Display which does not send AC |
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
// BMP180 Barometric Pressure& Temp Sensor // | |
// SSD1306_128X64 I2C OLED | |
// BMP180 Sensor I2C interface | |
// OLED SDA to BMP SDA to Arduino UNO SDA | |
// OLED SCL to BMP SCL to Arduino UNO SCL | |
// OLED VCC to BMP VCC to Arduino UNO 3.3V | |
// OLED GND to BMP GND to Arduino UNO GND | |
// Video https://www.youtube.com/channel/UCqJym4fsMaT1CZ2i6GxWURQ | |
// More information at http://www.jaimeferns.in/2016/10/arduino-bmp180-barometric-pressure-temp.html | |
// BMP sensor code Modified by embeddedUser from Adafruit example |
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
// Written by EmbeddedUser | |
// Refer to blog http://www.jaimeferns.in/2016/10/how-to-build-humidity-and-temperature.html | |
// Youtube Video https://www.youtube.com/watch?v=g-rcEd_2I-w | |
// Humidity meter with DHT11, Arduino and I2c OLED display | |
// Now support displaying sensor error and configuring deg C or deg F | |
#include <DHT.h> | |
#include "U8glib.h" | |
// Display defaults to Degree F. TO use metric display, |
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
import logging | |
import requests | |
import lxml.html | |
import sys | |
sat = "40014" #SAT norrad_cat_id | |
transmitter = "NSXo8tGxmxpTUMsmSH34FF" #Transmitter UUID | |
start="2017-12-1 17:00" #Start date and time | |
end="2017-12-2 03:00" #Stop date and time |