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 <BME280_MOD-1022.h> | |
#include <Wire.h> | |
// Wifi and ThingSpeak settings | |
#include <ESP8266WiFi.h> | |
const char* ssid = "Your SSID"; | |
const char* password = "Your password"; | |
const char* server = "api.thingspeak.com"; |
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 <ESP8266WiFi.h> | |
#include <Wire.h> | |
#include <SFE_MicroOLED.h> | |
#define PIN_RESET 255 // | |
#define DC_JUMPER 0 // I2C Addres: 0 - 0x3C, 1 - 0x3D | |
MicroOLED oled(PIN_RESET, DC_JUMPER); |
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 <SFE_MicroOLED.h> | |
#include "Adafruit_VEML6070.h" | |
#define PIN_RESET 255 // | |
#define DC_JUMPER 0 // I2C Addres: 0 - 0x3C, 1 - 0x3D | |
MicroOLED oled(PIN_RESET, DC_JUMPER); // Example I2C declaration | |
Adafruit_VEML6070 uv = Adafruit_VEML6070(); |
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
# | |
# CCS811_RPi | |
# | |
# Petr Lukas | |
# July, 11 2017 | |
# | |
# Version 1.0 | |
import struct, array, time, io, fcntl |
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
d1_mini_lite.name=WEMOS D1 mini Lite | |
d1_mini_lite.upload.tool=esptool | |
d1_mini_lite.upload.speed=921600 | |
d1_mini_lite.upload.resetmethod=nodemcu | |
d1_mini_lite.upload.maximum_size=434160 | |
d1_mini_lite.upload.maximum_data_size=81920 | |
d1_mini_lite.upload.wait_for_upload_port=true | |
d1_mini_lite.serial.disableDTR=true | |
d1_mini_lite.serial.disableRTS=true |
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
/* | |
* IRremote: IRsendDemo - demonstrates sending IR codes with IRsend | |
* An IR LED must be connected to Arduino PWM pin 3. | |
* Version 0.1 July, 2009 | |
* Copyright 2009 Ken Shirriff | |
* http://arcfn.com | |
*/ | |
#include <boarddefs.h> | |
#include <IRremote.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
void setup() { | |
Serial.begin(115200); | |
} | |
void loop() { | |
int measurement = 0; | |
measurement = hallRead(); | |
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
/* | |
Wemos D1 mini/D1 lite | |
Buzzer Shield example | |
by Petr Lukas | |
Simple music, sound efects and cricket chirp sounds | |
*/ | |
int buzzer=D5; //Buzzer control port, default D5 |
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
/* | |
* -------------------------------------------------------------------------------------------------------------------- | |
* Example sketch/program showing how to read data from a PICC to serial. | |
* -------------------------------------------------------------------------------------------------------------------- | |
* This is a MFRC522 library example; for further details and other examples see: https://github.com/miguelbalboa/rfid | |
* | |
* Example sketch/program showing how to read data from a PICC (that is: a RFID Tag or Card) using a MFRC522 based RFID | |
* Reader on the Arduino SPI interface. | |
* | |
* When the Arduino and the MFRC522 module are connected (see the pin layout below), load this sketch into Arduino IDE |
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
/*************************************************************************** | |
This is a library for the APDS9960 digital proximity, ambient light, RGB, and gesture sensor | |
This sketch puts the sensor in gesture mode and decodes gestures. | |
To use this, first put your hand close to the sensor to enable gesture mode. | |
Then move your hand about 6" from the sensor in the up -> down, down -> up, | |
left -> right, or right -> left direction. | |
Designed specifically to work with the Adafruit APDS9960 breakout | |
----> http://www.adafruit.com/products/3595 |
OlderNewer