Bark Activated Dog Door Miles Miles Cernauskas, Devraj Banerjee, Ryan Madigan
Introduction Convenient system to let dog out when away from home Safe from intruders Safe for dog Miles
Outline Project Overview Modular Design Design Layout Circuit/Logic Design Design Changes Requirements and Verification Design Layout Ethical Considerations Future Improvements Summary Questions Miles
Overview Detects object in front of door Detects a dog bark Takes Pictures of both sides of door Tweets alert of dog and link to server Web server displays pictures and contains button to operate the door Motor will open and close door Line trip sensor detects object in doorway Devo
Modular Overview Devo
Distance Sensor Used to determine when dog is close to door Activates microphone dog bark detection Requirement Accurately measures distance in front of door Verification Read serial monitor output, compare to known distance Devo Ultrasonic trigger and echo that measures time for pulse to send and receive to calculate distance. Range to 500 cm. Must receive 10 readings under 50 cm to activate microphone
Dog Bark Detection Goal: keep system safe from potential intruders Requirement Keep false positives to a minimum Dog bark is successfully detected Verification Human speech, loud noises, and other animal sounds do not generate positive dog bark detection Dog bark sample does generate positive dog bark detection Ryan
Microphone Ryan Basic non-inverting amplifier circuit using Ti TL071 and DC offset to produce Arduino readable input
Arduino FFT Pure Data Visualizer Performed FFT on incoming audio signal ~40Hz to 22 kHz range 44.1 kHz sampling rate Amplitude Ryan Frequency Bin
Digital Signal Processing Ryan Frequency range: ~43 Hz—22 kHz. 44.1kHz sampling rate=most common in digital audio. Audible range for humans is 20Hz—20kHz.
Cameras Provide pictures of inside and outside of door for security purposes Requirement Take pictures Store on SD Card Verification Pictures are on SD Card Devo Serial TTL Cameras capable of constant video. To minimize cost and time less powerful cameras. Or video feed cuz it’s the shit.
Twitter Used to notify user of dog waiting at door Contains link to web server Requirement Send tweet Verification Check twitter account Miles
Web Server Requirement Verification Accessible via IP address Miles Requirement Accessible via IP address Displays images Functional open and close Verification Server is accessible Action buttons generate response
Motor Requirements Verifications Brushed DC Motor Arduino Motor Shield 12V, 2A power source Requirements Motor opens and closes door Switches stop door at both ends Line sensor detects obstruction Verifications Motor moves proper direction Door stops when switch is pressed Door stops when laser line is broken Ryan Design change: rotary encoder to snap action switch Problems: Logic in code caused us to break sensors
Line Trip Sensor Ensure safety of dog Comparator circuit 5mW laser Photodiode Ryan
Design Layout Ryan Problem: Wires- use of enclosure and problems with soldering
Final Product Ryan
Ethical Considerations Laser trip sensor Snapshots of both sides of door Dog bark detection Devo -Laser trip sensor is to ensure the dog does not get caught in the door -Cameras and dog bark detection are to ensure that the nothing is let into or out of the house that shouldn’t be
Future Improvements Double sided functionality Build full prototype to work on a full door Further refinement of DSP Use of Wi-Fi shield Externally Accessible Server Fully Live Server with Video Feed Dog in/ Dog out tracking Devo
Summary Full sequence is successful What we would have done differently More reliable IR distance sensors Smaller, lower resolution cameras Smaller microphone Noise filter circuit Miles
Special Thanks ECE 445 Staff: Parts shop: Machine Shop: Paul Carney Lydia Majure Ryan May Dennis Yuan Igor Fedorov Parts shop: Mark Smart Skot Wiedmann Dan Mast Wally Smith Machine Shop: Scott McDonald David Switzer Miles
Questions?