Remote Sensor Monitoring by Radio with Arduino: Detecting Intruders, Fires, Flammable and Toxic Gases, and Other Hazards at a Distance by David Leithauser
Author:David Leithauser [Leithauser, David]
Language: eng
Format: epub
Publisher: Leithauser Research
Published: 2016-06-15T17:00:00+00:00
#include <SPI.h>
#include <RF24.h>
#define CE_PIN 9
#define CSN_PIN 10
RF24 radio(CE_PIN,CSN_PIN);
const uint64_t pipe = 0xE8E8F0F0E1LL;
const int maximumTries = 10;
int dataArray[3]; // Variable to hold data
int success; // variable to see if transmission succeeded
int tries; // Number of tries to transmit
int motionSensorPin = 4;
int motionSensor;
int previousMotionSensor = LOW;
const int myID = 1;
void setup() {
Serial.begin(9600);
radio.begin();
radio.openWritingPipe(pipe);
pinMode(motionSensorPin, INPUT);
dataArray[0] = myID;
}// End setup
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Circuits | Digital Design |
Electric Machinery & Motors | Electronics |
Fiber Optics | Networks |
Superconductivity |
Whiskies Galore by Ian Buxton(40304)
Introduction to Aircraft Design (Cambridge Aerospace Series) by John P. Fielding(32332)
Small Unmanned Fixed-wing Aircraft Design by Andrew J. Keane Andras Sobester James P. Scanlan & András Sóbester & James P. Scanlan(32137)
Craft Beer for the Homebrewer by Michael Agnew(17440)
Turbulence by E. J. Noyes(7033)
The Complete Stick Figure Physics Tutorials by Allen Sarah(6632)
Kaplan MCAT General Chemistry Review by Kaplan(6045)
The Thirst by Nesbo Jo(5779)
Bad Blood by John Carreyrou(5763)
Learning SQL by Alan Beaulieu(5400)
Weapons of Math Destruction by Cathy O'Neil(5032)
Man-made Catastrophes and Risk Information Concealment by Dmitry Chernov & Didier Sornette(4731)
iGen by Jean M. Twenge(4695)
Digital Minimalism by Cal Newport;(4512)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(4497)
Audition by Ryu Murakami(4093)
1,001 ASVAB Practice Questions For Dummies by Powers Rod(4034)
Electronic Devices & Circuits by Jacob Millman & Christos C. Halkias(4021)
Pale Blue Dot by Carl Sagan(3997)