Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
xxlukas42 / wemos_bme280.ino
Created April 3, 2017 19:45
Wemos D1 mini Pro and Bosch BME280
View wemos_bme280.ino
#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 = "";
View wemos_chirp.ino
#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
xxlukas42 / VEML6070.ino
Created July 2, 2017 19:08
Sketch for VEML6070 for Wemos D1 Pro mini with OLED shield (using Adafruit library
View VEML6070.ino
#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();
# CCS811_RPi
# Petr Lukas
# July, 11 2017
# Version 1.0
import struct, array, time, io, fcntl
xxlukas42 / boards.txt
Last active November 26, 2017 20:28
This board list includes Wemos D1 Mini Lite - copy it to C:\Users\USERNAME\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0
View boards.txt D1 mini Lite
xxlukas42 / IRSend_example.ino
Created September 7, 2017 21:53
Arduino example of microphone dependent IR signal send for Samsung TV
View IRSend_example.ino
* 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
#include <boarddefs.h>
#include <IRremote.h>
xxlukas42 / esp32_internal_hall.ino
Last active August 31, 2022 14:27
Arduino source code for ESP32 internal temperature sensor and hall sensor
View esp32_internal_hall.ino
void setup() {
void loop() {
int measurement = 0;
measurement = hallRead();
xxlukas42 / Buzzer_Shield.ino
Last active December 24, 2019 11:13
Wemos D1 Shields examples
View Buzzer_Shield.ino
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
View MFRC522.ino
* --------------------------------------------------------------------------------------------------------------------
* 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:
* 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
View APDS9960.ino
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