Difference between revisions of "BetaDelta"

From ESE205 Wiki
Jump to navigation Jump to search
(repository)
Line 135: Line 135:
  
 
==Repository==
 
==Repository==
*
+
* [https://nial_alwash@bitbucket.org/nial_alwash/betadelta.git Beta Delta Repository]
 
*
 
*
  

Revision as of 01:01, 2 May 2017

Overview

The purpose of BetaDelta is to provide real-time updates on the availability of a given study room. The information will be uploaded to a website, developed through Amazon Web Services, based on input from the BetaDelta device. The goal for the BetaDelta device is to detect occupancy via motion sensor, connected to a raspberry pi, and encased in a 3D printed shell.

Team Members

  • James Tiffany
  • Rebecca Smith
  • Nial Alwash
  • Nathan Schmetter (TA)

Objectives

Device

  • Constructed with a raspberry pi and motion sensor
  • Encased in a 3D printed shell
  • Code the raspberry pi to receive input from the sensor and upload it onto our server

Website

  • Developed with Amazon Web Services
  • Have the to display updated room occupancy via wifi
  • Change colors based on occupancy (red for occupied, green for available)

Challenges

  • Learn Python coding techniques
  • Learn how to use CAD and 3D print
  • Recreate circuit tutorials for motions sensor to raspberry pi connection
  • Create our own framework for the server and website using Amazon Web Services

Budget

Item Quantity Price Vendor Link
Raspberry Pi 1 $0 Lab
Micro SD Card (8GB) 1 $9.95 + $7.14(Adafruit shipping) = $17.09 Adafruit https://www.adafruit.com/products/3259
Light (LDR) Sensor 1 $6.95 Adafruit https://www.adafruit.com/product/1980
1uF Capacitor 2 $11.98 Uxcell http://www.uxcell.com/1uf-50v-105c-radial-electrolytic-capacitor-5x11mm-p-162619.html
Motion sensor 1 $9.95 Adafruit https://www.adafruit.com/product/189
Sound detector 1 $6.95 Adafruit https://www.adafruit.com/products/1063
Breadboard Wires 1 $7.29 Amazon http://www.amazon.com/Solderless-Flexible-Breadboard-Jumper-Wires/dp/B005TZJ0AM
4 Digit Display 1 $11.95 Adafruit https://www.adafruit.com/products/881
Perfboard 1 $12.50 Adafruit https://www.adafruit.com/product/571
Noise Canceling Foam Panels 1 $29.95 + $12.68 = $42.63 ATS Acoustics https://www.atsacoustics.com/foam-wedge-acoustic-panels-12charcoalblue.html?d=GPGEN01&kw=1275-FW12-ChBl&gclid=CjwKEAiAi-_FBRCZyPm_14CjoyASJAClUigOOMzNOCQuiDdpuEa-mnZzNmtAIb-ONqLhZf-7JBGokhoCHY7w_wcB
Website For 3 months $2.99(X3) = $8.97 WordPress https://wordpress.com/#plans
Total $136.56


Gantt Chart

NewGantt2.jpg

Engineered Solutions

3D Printing

First, we created a model of our design in CAD. Next, we printed a scaled-down version to see if the printer could handle its shape and intricacies. Then we printed our first to-scale version, and soon after printed our final version.

Evolution

CAD drawing Down-Sized Print First To-Scale Print Final To-Scale Print

Circuitry and Code

We found a tutorial online for how to connect the motion sensor to the raspberry pi, completed the circuit, and then edited a version of code we found online using a counter technique to accept input from the sensor.

Evolution

Data Upload

We developed entirely our own framework, using bits and pieces from tens of tutorials. Our code was two-pronged, including a first set that interpreted the input from the motion sensor and raspberry pi, and a second set that handled the upload of data, display, and communication between our server and database.

Evolution

Results

Presentation Poster

Repository


our final poster