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
// www.fambach.net | |
// GPLv2 | |
// ------------------ | |
#include "DHT.h" //DHT Bibliothek laden | |
#define DHTPIN GPIO5 // Pin auf dem Arduino | |
#define DHTTYPE DHT11 // Typ des Sensors | |
DHT dht(DHTPIN, DHTTYPE); // Eine Instanz des Sensors erstellen |
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
// Linearare Servo Test | |
// www.famnbach.net | |
// GPLv2 | |
// ----------------------- | |
#include <Servo.h> | |
#define SERVO_PIN 10 | |
Servo myservo; |
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
/** Test the Open-Smart Wireless Joystick | |
* Receiver program | |
* http://www.fambach.net | |
* GPL v2 | |
*/ | |
#include <String.h> | |
#include "VirtualWire.h" | |
int RF_RX_PIN = A3; |
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
/*********************************************** | |
* Check pan/tilt with two servos | |
* www.fambach.net | |
* GPL v2 | |
*/ | |
#include<Servo.h> | |
Servo servox; | |
Servo servoy; |
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
/*********************************************** | |
* Control pan/tilt with joystick | |
* www.fambach.net | |
* GPL v2 | |
* | |
* you can influence the drive of the servos by adjusting the min and max values. | |
*/ | |
#include<Servo.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
/** Servo test with potentiometer | |
* http://wwww.fambach.net | |
* GPLv2 | |
*/ | |
#include <Servo.h> | |
#define SERVO A3 | |
#define POTI A0 | |
Servo s1; |
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
// Nano Remote Receiver | |
// This programm receives a char array with maximum size 20 | |
// www.fambach.net | |
// | |
// Libs: | |
// https://github.com/tmrh20/RF24/ | |
// | |
// GPL2 | |
/***********************************************************/ | |
// radio |
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
/** HC SR501 Test | |
* www.fambach.net | |
* GPL V2 | |
*/ | |
#define SR501PIN A0 | |
void setup() { | |
Serial.begin(115200); |
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
/** | |
* Code snippet to read data from KY-037 / KY-038 sound sensor board | |
* define ports for digital and analog input | |
* Fambach.net | |
*/ | |
// please adapt to your wiring | |
#define MIC_SIGNAL_PIN A1 | |
#define MIC_THRESHOLD_PIN 2 |
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
/** | |
* Blink Test with Fouxmo Lib, controlling esp built in led with Alexa | |
* | |
* For ESP8266/ESP32 Tested with WEMOS D1 Mini (ON/OFF are reversed) | |
* | |
* Basis is the example form fauxmo https://bitbucket.org/xoseperez/fauxmoesp | |
* Additional Requirements: | |
* | |
* fouxmoESP https://bitbucket.org/xoseperez/fauxmoesp/src/master/ | |
* |
OlderNewer