Skip to content

Instantly share code, notes, and snippets.

@seco
seco / esp8266-lgwhisen-slack-bot.ino
Created April 5, 2017 05:27 — forked from chaeplin/esp8266-lgwhisen-slack-bot.ino
esp8266-lgwhisen-slack-bot.ino
// 80MHZ NODEMCU V.1
// slackbot testing using https://github.com/urish/arduino-slack-bot
/**
Arduino Real-Time Slack Bot
Copyright (C) 2016, Uri Shaked.
Licensed under the MIT License
*/
@seco
seco / slack_test.ino
Created April 3, 2017 07:46 — forked from NaotoKumagai/slack_test.ino
SlackBOTのコードを少し改変
// https://github.com/urish/arduino-slack-bot
#include <Arduino.h>
#include <Hash.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HTTPClient.h>
#include <WebSocketsClient.h>
#include <ArduinoJson.h>
#define WIFI_SSID "接続したいSSID"
@seco
seco / ESP8266_Xiaomi_Yi_Remote_Controller.ino
Created March 10, 2017 04:30 — forked from emmynet/ESP8266_Xiaomi_Yi_Remote_Controller.ino
Simple test to control Xiaomi Yi camera with a standalone ESP8266 ESP-01 (costs about 2$ on ebay).
/*
* This sketch demonstrates how to use ESP8266 to control Xiaomi Yi Camera.
*
* @author Emmanuel Granatello
* @version 0.1
* @since 2016-02-16
*/
#include "ESP8266WiFi.h"

ESP8266 Web Server to storing ap config to EEPROM.

Original by chriscook8 from esp8266.com I just modified to use ESP8266WebServer library for easy to handle the http request.

This is sample code not yet complete.

Todo

  • when Wifi connected need to close the softAP.
// how long each led stays on for
int delayTime = 1;
//how long between each
int charBreak = 3;
//how long to wait after the message is finished before it repeats
int resetTime = 20;
int LED1 = 2;
int LED2 = 3;
int LED3 = 4;
Blynk Web Dashboard
------
A [Pen](http://codepen.io/shrikantgg/pen/oYgoxm) by [shrikant](http://codepen.io/shrikantgg) on [CodePen](http://codepen.io/).
[License](http://codepen.io/shrikantgg/pen/oYgoxm/license).
@seco
seco / i2s_stream.c
Created December 14, 2016 12:19 — forked from cnlohr/i2s_stream.c
ESP32 I2S C Code Example/Snippet
//Almost entirelly lifted directly from https://github.com/igrr/esp32-cam-demo
//Just clocked a little differently and has chained buffers.
//This totes works with the I2S bus on the ESP32 for READING 16 wires simultaneously.
//Can be clocked off of I2S's internal controller or an external clock.
#define I2S_D0 4
#define I2S_D1 5
#define I2S_D2 18
#define I2S_D3 19
#define I2S_D4 36
@seco
seco / esp32.md
Created November 17, 2016 02:38 — forked from morganrallen/esp32.md
ESP32 hacking notes

Basic hookup

As I plan to make a custom breakout board I wanted to solder as few connections as possible. I was able to boot the device, with UART (out at least) soldering the following.

PIN NAME
0 GND
1 3V3
2 EN
@seco
seco / Energy_Monitor.ino
Created November 1, 2016 00:44 — forked from whatnick/Energy_Monitor.ino
ESP8266 Energy Monitor
/*
* This sketch sends ads1115 current sensor data via HTTP POST request to thingspeak server.
* It needs the following libraries to work (besides the esp8266 standard libraries supplied with the IDE):
*
* - https://github.com/adafruit/Adafruit_ADS1X15
*
* designed to run directly on esp8266-01 module, to where it can be uploaded using this marvelous piece of software:
*
* https://github.com/esp8266/Arduino
*
@seco
seco / add-option-to-dropdown.js
Created September 27, 2016 03:20 — forked from paulund/add-option-to-dropdown.js
Add and Remove Options in Select using jQuery
$("#selectBox").append('<option value="option6">option6</option>');