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
// Install https://github.com/wemos/WEMOS_DHT12_Arduino_Library first | |
#include <WEMOS_DHT12.h> | |
DHT12 dht12; | |
void setup() { | |
Serial.begin(115200); | |
} |
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 Lolin D1 PRO (ESP8266) | |
Basic demo | |
by Petr Lukas | |
*************************************************************/ | |
// Install Adafruit_NeoPixel library https://github.com/adafruit/Adafruit_NeoPixel first | |
#include <Adafruit_NeoPixel.h> | |
#include <Wire.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
/************************************************************* | |
Wemos Lolin D32 PRO (ESP32) | |
Basic demo | |
by Petr Lukas | |
*************************************************************/ | |
#include <Adafruit_GFX.h> // Core graphics library | |
#include <Adafruit_ST7735.h> // Hardware-specific library | |
#include <WEMOS_SHT3X.h> // SHT30 library | |
#include <SPI.h> | |
#include <SD.h> // SD card library |
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> | |
#define PIN_RESET 255 | |
#define DC_JUMPER 0 | |
int i; | |
int moi = 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
/************************************************************* | |
Wemos Lolin32 Lite (ESP32) | |
Plant monitoring example | |
by Petr Lukas | |
Simple device setup, which allows to monitor temperature, | |
moisture, air pressure, light level and soil moisture | |
************************************************************* | |
BLYNK LIBRARY |
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 |
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
/* | |
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
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
/* | |
* 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> |