Skip to content

Instantly share code, notes, and snippets.

View embeddeduser's full-sized avatar

Jaime F embeddeduser

View GitHub Profile
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
@embeddeduser
embeddeduser / ArduinoDHT11HumidityMeter.ino
Last active February 22, 2020 22:19
Arduino Humidity Meter with DHT11 and I2C OLED display
// 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,
@embeddeduser
embeddeduser / BarometricPressureMeter.ino
Created April 1, 2017 04:06
Arduino BMP180 Barometric Pressure& Temp Sensor Meter code
// 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
@embeddeduser
embeddeduser / Lightmeter.ino
Last active May 1, 2017 00:22
EmbeddedUser Arduino Light Meter
// 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