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
//================================================================================================ | |
// Title: Garage Door Alert Project using Cayenne and a Magnetometer (HMC5883L on GY-80) | |
// Author: ScottC, http://arduinobasics.blogspot.com | |
// Version: 1.0 | |
// Date: 8th Nov 2016 | |
// Arduino IDE: 1.6.9 | |
// Arduino Board: Seeeduino Cloud (or Arduino Yun) | |
// | |
// Description: The following sketch (in combination with Cayenne) will alert you when the | |
// direction of the magnetometer has changed by a pre-determined amount. |
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
/* =============================================================== | |
Project: CHAIN BLOCKS : 433MHz Receiver with Relay and Motor | |
Author: Scott C | |
Created: 26th Feb 2017 | |
Arduino IDE: 1.8.1 | |
Website: http://arduinobasics.blogspot.com.au | |
Description: Use the 433Mhz RF receiver to receive a signal. The Arduino | |
will process this signal and will trigger a relay | |
based on the result of the signal. A motor is attached to the | |
relay for extra effect. |
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
/* =============================================================== | |
Project: CHAIN BLOCKS : HC-SR04 433MHz RF Transmitter sketch | |
Author: Scott C | |
Created: 26th Feb 2017 | |
Arduino IDE: 1.8.1 | |
Website: http://arduinobasics.blogspot.com.au | |
Description: Use a HC-SR04 ultrasonic sensor to trigger a signal to be sent via | |
a 433Mhz RF transmitter. | |
================================================================== */ |
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
//Comet Effect Written for Jason Brown | |
//Author: Scott C | |
//Date: 17th March 2017 | |
//Arduino IDE version 1.8.1 | |
//====================================================================== | |
#include "FastLED.h" //Make sure to install the FastLED library into your Arduino IDE | |
//The total number of LEDs being used is 144 | |
#define NUM_LEDS 144 |
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
/* =============================================================== | |
Project: Hacking the OWI Robotic Arm with Controllino and Cayenne | |
Author: Scott C | |
Created: 14th March 2017 | |
Arduino IDE: 1.8.1 | |
Website: http://arduinobasics.blogspot.com.au | |
Description: Use Cayenne to control the OWI Robotic Arm via the Controllino MAXI. | |
A lot of functionality is built within the Cayenne library. | |
Library File: Install the library file as per the instructions on their website: |
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
//================================================================================================ | |
// Title: Nextion Enhanced Stepper Motor Piano Project | |
// Author: ScottC, http://arduinobasics.blogspot.com | |
// Version: 1.0 | |
// Date: 15th July 2017 | |
// Arduino IDE: 1.8.1 | |
// Arduino Board: Arduino Uno | |
// Nextion Board: Nextion Enhanced NX4827K043 | |
// Description: The Arduino receives Serial messages from the Nextion board, and based on those messages, the Arduino will |
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
//Reverse Comet Effect Written for Leon van der Meij | |
//Author: Scott C | |
//Date: 26th July 2017 | |
//Arduino IDE version 1.8.1 | |
//====================================================================== | |
#include "FastLED.h" //Make sure to install the FastLED library into your Arduino IDE | |
//The total number of LEDs being used is 300 | |
#define NUM_LEDS 300 |
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
/* | |
RF Blink - Transmit sketch | |
Written by ScottC 17 Jun 2014 | |
Arduino IDE version 1.0.5 | |
Website: http://arduinobasics.blogspot.com | |
Transmitter: FS1000A/XY-FST | |
Description: A simple sketch used to test RF transmission. | |
------------------------------------------------------------- */ | |
#define rfTransmitPin 4 //RF Transmitter pin = digital 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
/* | |
RF Blink - Receiver sketch | |
Written by ScottC 17 Jun 2014 | |
Arduino IDE version 1.0.5 | |
Website: http://arduinobasics.blogspot.com | |
Receiver: XY-MK-5V | |
Description: A simple sketch used to test RF transmission/receiver. | |
------------------------------------------------------------- */ | |
#define rfReceivePin A0 //RF Receiver pin = Analog pin 0 |
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
/* | |
RF Remote Capture sketch | |
Written by ScottC 24 Jun 2014 | |
Arduino IDE version 1.0.5 | |
Website: http://arduinobasics.blogspot.com.au/2014/06/433-mhz-rf-module-with-arduino-tutorial_27.html | |
Receiver: XY-MK-5V | |
Description: Use Arduino to Receive RF Remote signal | |
------------------------------------------------------------- */ | |
const int dataSize = 500; //Arduino memory is limited (max=1700) |