Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
cswiger2
Created March 2, 2020 © GPL3+

Deer Scare Garden Protector

A sensitive Kemet PIR sensor detects animals trying to eat your vegetables at night and turns a noisy water sprinkler on them.

IntermediateFull instructions provided8 hours52

Things used in this project

Hardware components

Espressif esp8266-03
×2
solenoid water valve
×1
crydom solid state relay
×1
Proximity Sensor- Pyroelectric Infrared Sensor Module
KEMET Electronics Corporation Proximity Sensor- Pyroelectric Infrared Sensor Module
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Basic Schematic

Sensor and Solid State Relay to GPIO pins

Code

Hackster Kemet Make Sense of Our Proximity Sensor Contest

Arduino code for the two esp8266-03 modules. esp8266_Kemetmqtt_2Reconnect sketch interfaces with the sensor and publishes control messages. Sketch esp8266_mqttValve monitors the topic and turns the water on and off.

Credits

cswiger2

cswiger2

8 projects • 9 followers

Comments