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 table.md
PCBWay LocoPCB PCBGogo Seeedstudio
Parts supplied by service Yes Yes Yes Yes
Parts supplied by customer Yes Yes Yes Yes
Mixed Yes Yes Yes Yes
Min. Order Quantity 5 5 5 5
Files Required Gerber, Pick&Place, BOM Gerber, BOM Gerber, BOM Gerber, BOM
Photo Review Yes No Yes N/A
Total Days 17 14 27 N/A
PCB Costs 38 5 5 N/A
View ESP32AzureRequest.ino
/**
* ©2018 by Daniel Eichhorn - ThingPulse (https://thingpulse.com)
*/
#include <WiFi.h>
#include <HTTPClient.h>
#define IOT_HUB_NAME "IOT HUB NAME"
#define DEVICE_NAME "DEVICE NAME"
#define SAS_TOKEN "SAS TOKEN"
View ExampleListener.cpp
[..]
void ExampleListener::key(String key) {
currentKey_ = key;
}
void ExampleListener::value(String key) {
if (currentKey_ == "name") {
name_ = value;
} else if (currentKey_ == "city") {
city_ = value;
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;
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 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 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 WeatherStationDemo.cpp
//Thingspeak Settings
const String THINGSPEAK_CHANNEL_ID = "67284";
const String THINGSPEAK_API_READ_KEY = "L2VIW20QVNZJBLAK";
View DHTLogger.cpp
/***************************
* Begin Settings
**************************/
const char* ssid = "yourssid";
const char* password = "yourpassw0rd";
const char* host = "api.thingspeak.com";
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;
You can’t perform that action at this time.