Milestone 4

System concept

Through our user research and feedback we propose PAWLS:

A system that helps the owners of the newly adopted dogs. PAWLS focuses on helping new owners by providing an assistant that senses when the dog is agitated, scared, or in need of their owners. PAWLS is essentially a smart crate system that attempts to decrease disruptive barking in dogs. It has the capability to collect data about a dog’s barking, its potential triggers, and suggests actions that the owner can take to help their dog.
There are two components to Pawls, the physical crate that uses pervasive technology and the mobile app which gives users the power to access all the collected data in digestible form and control the crate.
Each year, approximately 6.5 million companion animals enter shelters in the US. Less than half of these animals, however, are adopted. In order to address the rampant issue of pet homelessness, we decided to explore how ubiquitous computing can do two things: decrease the number of dogs being given up by their previous owners to shelters and ensure that newly adopted dogs stay adopted and remain in their new homes.



High level Architecture


  1. PAWLS device: PAWLS is a solution which the owners has to use with the dog crate. PAWLS is comprised of features like video camera, speaker, sound sensor, video feed, crate door control, and blind control.
  2. PAWLS app: PAWLS app is essentially used with the device. The app’s main purpose is to receive real time notifications from the device. It provides users with features such as real time interaction with the dog using camera and video feed, and control of crate doors and blinders. It helps set up the usage of PAWLS device.
  3. Google Cloud IOT Platform:In this case, the unique "resource" in question is your device (Core, Photon, Electron). Every device has a URL, which can be used to GET variables, POST a function call, or PUT new firmware. Google Cloud IOT platform is used to process the requests
  4. Database server:A database to store and fetch the information collected by the PAWLS.

Goals of Demo

  1. Demonstrate Pawl’s effectiveness in decreasing a dog’s barking when the owner is not home.
  2. Demonstrate the remote interaction between Pawl and the owner.
  3. Demonstrate how Pawl attempts to evenly distribute the burden of dog training among the owner, the dog, and the product itself.

Prototyping Process for Mobile App

1. Make the data visualization of barking understandable at a glance.


Data visualization of the triggers and behavior



2. Consider the different use cases


Crate actions accessed on homepage


Crate actions accessed on the real time video



3. Accommodate for a variety of needs


options to choose hourly, daily , weekly, and monthly data


Option to choose training modes from the homepage


Prototyping Process for Hardware

  1. Research IoT microcontrollers that could support high-definition streaming and audio playback
  2. Investigate open source webcam software that can easily be implemented

Demo system Architecture



The demo will be divided into 3 parts. The PAWLS app prototype, PAWLS device, and the Wizard. PAWLS device can currently perform the functions of real time video camera feed, speaker output, and sound sensing. Our wizard will perform the rest of the functions by manual intervention. Wizard will be performing the following: treat dispensing, blind open and shut, crate door open and shit, and the visual feed of the dog on the mobile app. The PAWLS app will be shown using a Figma prototype. The user will be able to interact with the actual prototype. The wizard will manual perform activating the device and other functions.

Demo script

Narration: Minna is a graduate student who has recently adopted a dog, Coco from a nearby shelter. Since she is new to Coco she is unsure of his behavior and habits. Minna receives a phone call from one of her friend, Sam. Sam tells Minna that she needs to be picked up from the airport.

Minna: “Hey Sam! What’s up?”
Sam: “Hey! So my brother is unavailable to pick me up from the airport. Can you please pick me up?”
Minna: “Like right now?”
Sam: “Yes!”
Minna: “Ohh okay. I will be right there”

Narrator: Since this is a new and unusual situation for Minna, she has not set up food or any other facilities for her dog. She leaves immediately as this is an emergency situation. Coco see Minna leaving the house, and quietly goes and sits on the sofa.

Narrator: After a few minutes Coco hears an ambulance truck outside. It is making a loud noise which Coco is not used to yet. Coco gets scared and goes towards the window and starts barking.

After hearing Coco bark for 30 secs, PAWLS uses its noise sensors and activates.
PAWLS starts playing soothing music to calm Coco down.


Narrator: Coco calms down and sits near the window. After a few minutes Coco again hears a ambulance noise outside the house which is much louder than before, and starts barking.

PAWLS sense that Coco is barking for the second time in a very short interval and plays a pre-recorded voice tape that Minna had recorded a few days ago using Pawl app. “Coco, gooood boy! Come here! Coco ! Come here”

Narrator: Coco starts walking towards the crate, but is still barking.

PAWLS sends a notification to Minna informing her that Coco has been barking for more than a minute now.

Narrator: Minna receives a notification from PAWLS which says “Coco has been barking for two minutes.” Minna clicks on the notification and finds crate actions Minna could take to calm Coco down.

Minna taps on video icon on the app, and PAWLS video camera gets activated. Minna starts talking to Coco. Coco sees Minna on the video feed and calms down.
Minna receives a notification from the app after she ends the call. PAWLS sends her a notification saying “Coco is quiet for 2mins”. Minna is happy. She taps on the Treat icon on PAWLS and PAWLS gives a treat to Coco.

After the incident

Narrator: Minna comes home after an hour. She finds Coco sleeping in the crate.

Minna opens PAWLS to see why exactly Coco was barking. She taps on the report icon on PAWLS app and sees that Coco barked from 12-1pm and the potential trigger was an ambulance.
PAWLS informs her to put soothing music at 12 pm everyday to prevent today’s incident in the future. Minna schedules soothing music at 12pm

Narrator: Minna is petting Coco. After a few hours, Sam calls Minna.

Sam: “Hey Minna, thanks for picking me up. Everything good at your place? How is Coco?”
Minna: “Hey! Sure, no problem. Coco is doing great! I checked my PAWLS app and it informed me that Coco got scared of ambulance sound and that is why he was barking.”
Sam: “Wow, that is a useful app.”
Minna: “Yes! It is! It is helping me a lot with Coco. I will recommend it”

Prototyping Process:

After researching various IoT microcontrollers, our group decided on utilizing a Raspberry Pi 3 Model B+ instead of an Arduino or Particle Board. The Raspberry Pi’s quad-core processor is best suited for processing and streaming high-definition video. The Raspberry Pi’s extensive DIY community helped guide our software implementation, which involved running open-source “Motion” software, which offers extensive options related to recording video streams. We also needed to identify a camera that could record the entire area within a kennel using a fish-eye style lens.

  1. The camera’s placement and angle within the kennel is important - if it’s mounted too level, the back of the kennel cannot be seen by the user.
  2. Even with a faster IoT-connected microcontroller like the Raspberry Pi, there can be significant delay in video processing from the device to your mobile device.

Materials:


Cardboard
Raspberry Pi 3 Model B+
Night Vision Fish-eye Camera Module
Bluetooth Speaker



Software:


Raspbian OS
Motion Camera Software



Prototyping



Prototype build up



Setting up video feed



Real time video screening on the desktop




Here are a few glimpses of our demo:

Minna petting Coco



Coco reacting to the ambulance sound outside and barking