Skip to content

Instantly share code, notes, and snippets.

Daniel Eichhorn squix78

Block or report user

Report or block squix78

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:6224647
mvn archetype:create-from-project
View WeatherStationWithDHT22.ino
/**The MIT License (MIT)
Copyright (c) 2016 by Daniel Eichhorn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View Wificonfig.cpp
const char* WIFI_SSID = "yourssid";
const char* WIFI_PWD = "yourpassw0rd";
View WeatherStationConfig.cpp
// WIFI
const char* WIFI_SSID = "yourssid";
const char* WIFI_PWD = "yourpassw0rd";
// Setup
const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes
// Display Settings
const int I2C_DISPLAY_ADDRESS = 0x3c;
const int SDA_PIN = D3;
View DHTLogger.cpp
/***************************
* Begin Settings
**************************/
const char* ssid = "yourssid";
const char* password = "yourpassw0rd";
const char* host = "api.thingspeak.com";
View WeatherStationDemo.cpp
//Thingspeak Settings
const String THINGSPEAK_CHANNEL_ID = "67284";
const String THINGSPEAK_API_READ_KEY = "L2VIW20QVNZJBLAK";
View Processing Positioning IR Camera Code
import processing.serial.*;
int lf = 10; // Linefeed in ASCII
String myString = null;
Serial myPort; // The serial port
int rad = 5; // Width of the shape
void setup() {
size(1024, 768);
noStroke();
View Positioning IR Camera
// Wii Remote IR sensor test sample code by kako http://www.kako.com
// modified output for Wii-BlobTrack program by RobotFreak http://www.letsmakerobots.com/user/1433
// modified for http://DFRobot.com by Lumi, Jan. 2014
// Adapted 2016 by D. Eichhorn for ESP8266 http://blog.squix.ch
#include <Wire.h>
int IRsensorAddress = 0xB0;
//int IRsensorAddress = 0x58;
int slaveAddress;
View gist:552b224471792a10585a787cac7cc1b1
#include <DHT.h>
/**The MIT License (MIT)
Copyright (c) 2016 by Daniel Eichhorn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
View JsonListener.h
class JsonListener {
public:
virtual void whitespace(char c) = 0;
virtual void startDocument() = 0;
virtual void key(String key) = 0;
virtual void value(String value) = 0;
virtual void endArray() = 0;
virtual void endObject() = 0;
virtual void endDocument() = 0;
virtual void startArray() = 0;
You can’t perform that action at this time.