Skip to content

Instantly share code, notes, and snippets.

Stefan Fambach sfambach

Block or report user

Report or block sfambach

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View HCSR501Test
/** HC SR501 Test
* www.fambach.net
* GPL V2
*/
#define SR501PIN A0
void setup() {
Serial.begin(115200);
@sfambach
sfambach / Receiver.ino
Created Aug 7, 2019
Arduino Nano Clone with nRF24 on board
View Receiver.ino
// Nano Remote Receiver
// This programm receives a char array with maximum size 20
// www.fambach.net
//
// Libs:
// https://github.com/tmrh20/RF24/
//
// GPL2
/***********************************************************/
// radio
@sfambach
sfambach / potiServo.ino
Created Jul 19, 2019
Petentiometer controles Servo (Simple mapping example)
View potiServo.ino
/** Servo test with potentiometer
* http://wwww.fambach.net
* GPLv2
*/
#include <Servo.h>
#define SERVO A3
#define POTI A0
Servo s1;
@sfambach
sfambach / PanTiltAndJoy.ino
Created Jun 30, 2019
Controlling a Pan Tilt with help of a Joystick
View PanTiltAndJoy.ino
/***********************************************
* 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>
@sfambach
sfambach / PanTiltTest.ino
Created Jun 30, 2019
Check a Pan Tilt, drive in all directions and back again.
View PanTiltTest.ino
/***********************************************
* Check pan/tilt with two servos
* www.fambach.net
* GPL v2
*/
#include<Servo.h>
Servo servox;
Servo servoy;
@sfambach
sfambach / OpenSmartWirelessJoystickRemoteReceiver.ino
Created Jun 30, 2019
Open Smart Wireless Joystick Remote Receiver Testprogramm
View OpenSmartWirelessJoystickRemoteReceiver.ino
/** 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;
@sfambach
sfambach / LinearerServoTest.ino
Created Jun 23, 2019
Test of a linear servo, connecto to serial monitor and press enter (send empty string) to activate.
View LinearerServoTest.ino
// Linearare Servo Test
// www.famnbach.net
// GPLv2
// -----------------------
#include <Servo.h>
#define SERVO_PIN 10
Servo myservo;
@sfambach
sfambach / dht11.ino
Last active Jun 22, 2019
DHT11 Test
View dht11.ino
// 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
You can’t perform that action at this time.