Skip to content

Instantly share code, notes, and snippets.

@polluxlabs
polluxlabs / esp8266WebServer.ino
Created February 22, 2020 14:26
ESP8266 Web Server
// Library für WiFi-Verbindung
#include <ESP8266WiFi.h>
// Daten des WiFi-Netzwerks
const char* ssid = "Dein Netzwerkname";
const char* password = "Dein Passwort";
// Port des Web Servers auf 80 setzen
WiFiServer server(80);
@polluxlabs
polluxlabs / GPSOnArduino.ino
Created February 29, 2020 20:41
GPS on Arduino
#include <SoftwareSerial.h>
#include <TinyGPS++.h>
TinyGPSPlus gps;
// Die serielle Verbindung zum GPS Modul
SoftwareSerial ss(4, 3);
void setup() {
Serial.begin(115200);
@polluxlabs
polluxlabs / arduinoThereminAMinor.ino
Last active April 17, 2020 15:29
An Arduino Theremin with A-Minor Pentatonic
/*
Arduino Theremin with A minor pentatonic scale
pollux labs, 2020
All rights reserved.
*/
const int trigger = 5;
const int echo = 4;
const int piezo = 10;
@polluxlabs
polluxlabs / lcdHillRun.ino
Last active March 20, 2020 12:07
LCD Hill Run v2 - Arduino Jump'n'Run
/*
* Copyright (c) 2020 by Miles C.
*/
#include <LiquidCrystal.h>
#include "pitches.h"
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
const int JUMP_PIN = 2;
const int BUZZER_PIN = 5;
@polluxlabs
polluxlabs / arduinoOrgan.ino
Created March 22, 2020 13:37
An Arduino Organ with Kinder Surprise
/*
Arduino Organ by pollux labs, 2020
More procects and tutorials: https://polluxlabs.net
*/
// Import the CapacitiveSensor Library.
#include <CapacitiveSensor.h>
//Define speaker pin
#define speaker 11
@polluxlabs
polluxlabs / hintUmbrella.ino
Last active January 25, 2021 17:23
Erinnerung an den Regenschirm
/*********
Pollux Labs
Complete project details at https://polluxlabs.net
*********/
#include <Wire.h> //I2C-Verbindung
#include <Adafruit_GFX.h> //OLED-Display
#include <Adafruit_SSD1306.h> //OLED-Display
#include <ESP8266WiFi.h> //WiFI
@polluxlabs
polluxlabs / alarmSystemESP8266.ino
Last active March 27, 2020 13:39
Alarm System for the ESP8266
/*********
Pollux Labs
https://polluxlabs.net
*********/
#include <ESP8266WiFi.h>
// WLAN-Zugangsdaten
const char* ssid = "Name deines WLAN-Netzes";
const char* password = "Dein WLAN-Passwort";
@polluxlabs
polluxlabs / issTracker.ino
Last active June 2, 2020 10:19
ISS Tracker with an ESP8266
/*********
pollux labs, 2020
https://polluxlabs.net
*********/
#include <Wire.h> //I2C
#include <Adafruit_GFX.h> //OLED-Display
#include <Adafruit_SSD1306.h> //OLED-Display
#include <ESP8266WiFi.h> //WiFI
/*
pollux labs, 2020
*/
#include <LiquidCrystal.h>
#include <Wire.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
const int noisePin = 7;
@polluxlabs
polluxlabs / pflanzenwaechterATtiny85.ino
Last active May 28, 2020 16:42
Kompakter Pflanzenwächter mit ATtiny85 und Batterie
/*
Code for the ATtiny85
https://polluxlabs.net
Copyright: CC BY-NC-ND
*/
#include <avr/sleep.h>
#include <avr/wdt.h>
#define calibrationPin 1