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 "ThingSpeak.h" | |
#include <ESP8266WiFi.h> | |
const int trig = D1; | |
const int echo = D2; | |
#define redLed D3 | |
#define grnLed D4 | |
unsigned long channelID = REPLACE_WITH_YOUR_THINGSPEAK_CHANNEL_ID; | |
const char * write_api = "REPLACE_WITH_YOUR_THINGSPEAK_WRITE_API_KEY"; |
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 <Adafruit_GFX.h> | |
#include <MCUFRIEND_kbv.h> | |
#include "TouchScreen.h" | |
#include<EEPROM.h> | |
#include <Adafruit_Fingerprint.h> | |
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__) | |
SoftwareSerial mySerial(2, 3); | |
#else | |
#define mySerial Serial1 |
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 <Adafruit_Fingerprint.h> | |
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__) | |
SoftwareSerial mySerial(2, 3); | |
#else | |
#define mySerial Serial1 | |
#endif | |
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial); | |
uint8_t operation; | |
uint8_t id; |
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 <TMRpcm.h> // Library for audio play from SDcard | |
#include <pcmConfig.h> | |
#include <pcmRF.h> | |
#include <SD.h> | |
#include <SPI.h> | |
#define SD_ChipSelectPin 10 //using digital pin 10 on arduino uno | |
TMRpcm tmrpcm; | |
void setup() { | |
tmrpcm.speakerPin=9; //PWM pin 9 on Uno | |
Serial.begin(9600); //Begin Arduino serial monitor |
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 <Adafruit_GFX.h> | |
#include <MCUFRIEND_kbv.h> | |
#include "TouchScreen.h" | |
#define BLACK 0x0000 | |
#define BLUE 0x001F | |
#define RED 0xF800 | |
#define GREEN 0x07E0 | |
#define CYAN 0x07FF | |
#define MAGENTA 0xF81F |
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 "esp_camera.h" | |
#include <WiFi.h> | |
#include "soc/soc.h" | |
#include "soc/rtc_cntl_reg.h" | |
// | |
// WARNING!!! PSRAM IC required for UXGA resolution and high JPEG quality | |
// Ensure ESP32 Wrover Module or other board with PSRAM is selected | |
// Partial images will be transmitted if image exceeds buffer size |
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 <Servo.h> | |
#define udm_trig 7 | |
#define udm_echo 6 | |
#define RightMotorPin1 2 | |
#define RightMotorPin2 3 | |
#define LeftMotorPin1 4 | |
#define LeftMotorPin2 5 | |
#define soundpin 12 | |
Servo sensor_servo; |
NewerOlder