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
// ESP8266-12E ArduCAM Mini Camera Server | |
// | |
// This program demonstrates using an ArduCAM Mini 2MP camera with an ESP8266-12E module. | |
// An OV2640 2MP ArduCAM Mini was used with this program. | |
// | |
// The program has a web interface that will allow: | |
// - storing and viewing of captured jpg files | |
// - viewing live streamed video | |
// - changing the resolution | |
// |
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 <LowPower.h> | |
//FOR DEV PURPOSES!! | |
unsigned int _awakewSecs = 20; | |
unsigned int _sleepMinutes = 2; | |
unsigned int _awakeCounter; | |
#define I2C_ADDRESS 10 |
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
/* | |
* modified from code | |
* by Mathias Leroy | |
* | |
* V0.2 MODIFICATIONS | |
** I2C SET GET | |
** EEPROM SET GET | |
** REMOVE SERIAL OUTPUT - AFFECTED I2C | |
** ENABLE/DISABLE TRACKING | |
** MOVE SERVOS TO LIMITS VIA I2C |
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
/* | |
Example for different sending methods | |
https://github.com/sui77/rc-switch/ | |
modified fo D1M RFTXRX BLOCK pins | |
*/ | |
#include <RCSwitch.h> | |
RCSwitch mySwitch = RCSwitch(); |
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
/* | |
Example for receiving | |
https://github.com/sui77/rc-switch/ | |
If you want to visualize a telegram copy the raw data and | |
paste it into http://test.sui.li/oszi/ | |
modified fo D1M RFTXRX BLOCK pins | |
*/ | |
#include <RCSwitch.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 "I2Cdev.h" | |
#include "MPU6050_6Axis_MotionApps20.h" | |
#include "Wire.h" | |
MPU6050 mpu; | |
uint8_t mpuIntStatus; | |
uint16_t packetSize; | |
uint16_t fifoCount; | |
uint8_t fifoBuffer[64]; | |
Quaternion q; |
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
/* | |
* modified from code | |
* by Mathias Leroy | |
* | |
* V0.2 MODIFICATIONS | |
** I2C SET GET | |
** EEPROM SET GET | |
** REMOVE SERIAL OUTPUT - AFFECTED I2C | |
** ENABLE/DISABLE TRACKING | |
** MOVE SERVOS TO LIMITS VIA I2C |
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
/* | |
For use with a 4 Pin Ultrasonic Ranging Sensor, see: http://www.micropik.com/PDF/HCSR04.pdf | |
& an ATtiny85 Microprocessor | |
Power can be supplied to the ATtiny85 via the Arduino | |
VCC // 5v (+) | |
GND // GND (-) | |
TRIG // Analog Input 3 (Pin 3) | |
ECHO // Analog Input 2 (Pin 4) |
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
// ATTINY85 / 1MHz | |
#include <EEPROM.h> | |
#include <avr/sleep.h> | |
#include <avr/wdt.h> | |
#define USE_SOFTWARE_SERIAL 1 | |
#if (USE_SOFTWARE_SERIAL) | |
#include <SoftwareSerial.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 "Arduino.h" | |
// AVR High-voltage Serial Programmer | |
// Originally created by Paul Willoughby 03/20/2010 | |
// www.rickety.us slash 2010/03/arduino-avr-high-voltage-serial-programmer/ | |
// Inspired by Jeff Keyzer mightyohm.com | |
// Serial Programming routines from ATtiny25/45/85 datasheet | |
// Desired fuse configuration | |
#define HFUSE 0xDF // Defaults for ATtiny25/45/85 | |
#define LFUSE 0x62 |