Skip to content

Instantly share code, notes, and snippets.

Sandeep Patil Xplorer001

View GitHub Profile
View Building_a_Frivolous_Internet_Connected_Display.ino
/*
* 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
View EE_IDL.ino
#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;
View IAQ_v_0_1.ino
/*
* 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:
*
View neoPixel_ExploreM3.ino
#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;
View Ex_1_Blinky.ino
/*
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
View simple_UI_nokiaDisplay_and_Rotary_endcoder.ino
/*
|
| 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>
View encoder_basic.ino
/*******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
View GPRS_HTTP_SIM800L.ino
/*
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];
View GPRS_SIM800L_LOG.txt
Terminal log file
Date: 7/9/2016 - 12:16:48 PM
-----------------------------------------------
AT
OK
AT+CFUN=1
OK
View adxl335_with_ExploreM3.ino
/*
ADXL3xx
Reference:
http://www.arduino.cc/en/Tutorial/ADXL3xx
The circuit:
analog 0: accelerometer self test
analog 1: z-axis
You can’t perform that action at this time.