- www.exploreembedded.com
This file contains hidden or 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
/* | |
* For detailed tutorial on building the project visit: | |
* https://exploreembedded.com/wiki/Building_a_Frivolous_Internet_Connected_Display_with_ESP32 | |
* Install the libraries listed in the tutorial before compiling the code. | |
* Reference links: | |
https://exploreembedded.com/wiki/Secure_IOT_with_AWS_and_Hornbill_ESP32 |
This file contains hidden or 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 <SPI.h> | |
#include <SD.h> | |
#include <SparkFunDS1307RTC.h> | |
#include <Wire.h> | |
#include "max6675.h" | |
int ktcSO = 8; | |
int ktcCS = 9; | |
int ktcCLK = 10; | |
const int chipSelect = 4; |
This file contains hidden or 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
/* | |
* Indoor Air Quality v0.1 | |
* | |
* Demo sketch to log Indoor Air Quality to thingspeak.com | |
* | |
* Temperature, humidity, TVOC and C02 are measured and logged. | |
* The data is also printed on the terminal and displayed on OLED | |
* | |
* More details visit: | |
* |
This file contains hidden or 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<delay.h> | |
int pin = 2; | |
int numLED = 17; | |
int cnt =0; | |
int ledCount = 3; | |
int rCircle =0; | |
uint8_t pixels[48]; | |
uint8_t bite = 0xf0; |
This file contains hidden or 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
/* | |
Blink | |
Turns on an LED on for one second, then off for one second, repeatedly. | |
This example code is in the public domain. | |
*/ | |
// Pin 13 has an LED connected on most Arduino boards. | |
// Pin 11 has the LED on Teensy 2.0 | |
// Pin 6 has the LED on Teensy++ 2.0 |
This file contains hidden or 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
/* | |
| | |
| For tutorial visit: | |
| http://exploreembedded.com/wiki/index.php?title=Interactive_Menus_for_your_project_with_a_Display_and_an_Encoder | |
| | |
*/ | |
#include <SPI.h> | |
#include <Adafruit_GFX.h> |
This file contains hidden or 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
/*******Interrupt-based Rotary Encoder Sketch******* | |
by Simon Merrett, based on insight from Oleg Mazurov, Nick Gammon, rt, Steve Spence | |
modified at EE to include the select switch | |
Tutorial at: | |
http://exploreembedded.com/wiki/Interactive_Menus_for_your_project_with_a_Display_and_an_Encoder | |
*/ | |
static int pinA = 2; // Our first hardware interrupt pin is digital pin 2 | |
static int pinB = 3; // Our second hardware interrupt pin is digital pin 3 |
This file contains hidden or 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
/* | |
Sketch: GPRS HTTP Test | |
*/ | |
#include <gprs.h> | |
#include <SoftwareSerial.h> | |
char http_cmd[] = "GET exploreembedded.com/wiki/images/1/15/Hello.txt HTTP/1.0\r\n\r\n"; | |
char buffer[512]; |
This file contains hidden or 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
Terminal log file | |
Date: 7/9/2016 - 12:16:48 PM | |
----------------------------------------------- | |
AT | |
OK | |
AT+CFUN=1 | |
OK |
This file contains hidden or 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
/* | |
ADXL3xx | |
Reference: | |
http://www.arduino.cc/en/Tutorial/ADXL3xx | |
The circuit: | |
analog 0: accelerometer self test | |
analog 1: z-axis |
NewerOlder