This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <ESP8266WiFiMesh.h> | |
/* Create the mesh node object */ | |
ESP8266WiFiMesh mesh_node = ESP8266WiFiMesh(ESP.getChipId(), manageRequest); | |
/** | |
* Callback for when other nodes send you data | |
* | |
* @request The string received from another node in the mesh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* DHTServer - ESP8266 Webserver with a DHT sensor as an input | |
Based on ESP8266Webserver, DHTexample, and BlinkWithoutDelay (thank you) | |
Version 1.0 5/3/2014 Version 1.0 Mike Barela for Adafruit Industries | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
#include <DHT.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************ | |
EggTimer_Data_Get.ino | |
Example EggTimer Get Period Example | |
Andres Sabas @ The Inventor's House | |
Original Creation Date: Jan 17, 2016 | |
This example demonstrates how to use the TCP client | |
functionality of the ESP8266 WiFiSecure library to GET | |
data to a EggTimer on | |
https://eggtimer.herokuapp.com | |
Development environment specifics: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************ | |
Distributed as-is; no warranty is given. | |
************************************************************/ | |
// The SparkFunESP8266WiFi library uses SoftwareSerial | |
// to communicate with the ESP8266 module. Include that | |
// library first: | |
#include <SoftwareSerial.h> | |
// Include the ESP8266 AT library: | |
#include <SparkFunESP8266WiFi.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#include <SparkFunESP8266WiFi.h> | |
#include <avr/pgmspace.h> | |
#include <Servo.h> | |
#include <json_arduino.h> | |
#include "config.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install build-essential python-dev libcurl4-openssl-dev python-pip libssl-dev wig python-alsaaudio sox espeak libsox-fmt-mp3 | |
pip install pycurl cherrypy | |
sudo nano /lib/modprobe.d/aliases.conf | |
# This sets the index value of the cards but doesn't reorder. | |
options snd_usb_audio index=0 | |
options snd_bcm2835 index=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libusb-1.0 build-essential pciutils usbutils libpci-dev libusb-dev libftdi1 libftdi-dev zlib1g-dev subversion | |
git clone https://github.com/flashrom/flashrom | |
cd flashrom | |
sudo make | |
sudo maker install | |
sudo nano /etc/modprobe.d/raspi-blacklist.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"SX1301_conf": { | |
"lorawan_public": true, | |
"clksrc": 0, /* radio_1 provides clock to concentrator */ | |
"radio_0": { | |
"enable": true, | |
"type": "SX1257", | |
"freq": 904200000, | |
"rssi_offset": -166.0, | |
"tx_enable": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by Andres Sabas | |
### KiCad ### | |
# For PCBs designed using KiCad: http://www.kicad-pcb.org/ | |
# Temporary files | |
*.000 | |
*.bak | |
*.bck | |
*.kicad_pcb-bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <TheThingsNetwork.h> | |
#include <SoftwareSerial.h> | |
#define RESET 15 | |
//SoftwareSerial loraSerial(4, 5); // RX, TX !! labels on relay board is swapped !! | |
#define loraSerial Serial1 | |
#define debugSerial Serial | |
// Replace REPLACE_ME with TTN_FP_EU868 or TTN_FP_US915 |