WTM Sense

From ESE205 Wiki
Jump to navigation Jump to search

Overview

Design and construct a docking station for an iPhone 6, that includes the following features:

  • Speaker that amplifies the sound
  • Display that shows weather and time, by connecting to the internet
  • Motion sensors that use specific hand patterns and motions to turn the speaker to play/pause songs and turn off an alarm

Objectives

Throughout our Systems Science and Engineering curriculum, our group realized we have had little experience with modeling, 3D printing, and computer programming. For this reason, we decided to take this class and spend the semester working with a Raspberry Pi, Python, and constructing a 3D printed docking station that could be specialized through a developed and scripted code. We brainstormed different products that we would like to own and use in our daily lives and would also be interesting and rigorously challenging to create.

We chose to create a Speaker Dock because we have all come across the problem of trying to play a video or song from our phones when the volume is not loud enough for everyone listening to hear. We came up with the idea of creating a speaker that not only amplifies sound, but also allows for other features including a motion sensor that responds to hand motions to easily access the time and weather on a display.

For our demo, the user can plug their phone into the dock (if they have an iPhone 6) or use a provided iPhone 6, to test out our dock. They can use the dock to play a song louder than would be possible through just their phone and easily switch back and forth between the time and the weather by hovering their hand over a sensor on each side.

Team Members

  • Audrey Freeman, Sophomore, Bachelors of Science in Systems Science and Engineering, Minor Candidate in Operation Supply Chain Management
  • Savannah Johnson, Senior, Bachelors of Science in Systems Science and Engineering, Minor in Psychology
  • Ariel Stern, Senior, Bachelors of Science in Systems Science and Engineering, Minor Candidate in Operation Supply Chain Management
  • TA: Andrew O'Sullivan

Challenges

  • User safety: The wires and jumper cables we're using to connect the phone to the speaker cannot shock the user
  • Phone safety: We can't send too strong of a current through the Aux cord and 'fry' the user's phone
  • Privacy Considerations: The cameras in the leap motion sensor cannot record the room, so the user isn't being 'spied' on
  • Learn python and how to code a display
  • Learn how to integrate raspberry pi with leap motion
  • Defining hand motions with leap motion to mean specific controls
  • Learn how to make a circuit using a breadboard
  • Figure out how to get around iPhone's chip that doesn't allow for other products to access controls
  • Learn how to use Fusion360 (Autodesk) and how to design a functional model to be 3D printed
  • Figure out how to amplify sound from the headphone jack using an aux cord and amplifier and build a simple circuit connecting it to a speaker

Gantt Chart

Weekly Breakdown G Chart JustInCase.png

Budget

Total: $69.89

Design and Solutions

  • We designed and constructed a docking station specific for an iPhone6 to amplify music, and show the time and weather. We used the two sensors to flip the display between the time and the weather. This easy access to time and especially weather from hovering one’s hand over the sensor would be much more simple and quicker than clicking through applications on a phone or computer.
  • We designed the case and base of our dock in Fusion 360.

(picture of dock)

  • We coded for our sensors, display, and amplifier on the Raspberry Pi and presented them through an LCD display and speaker, using ultrasonic sensors to control the screen. We wrote this code in Python.

(link to repository)

  • We connected the sensors and display with the Raspberry Pi by soldering wires into a prototype board.

(picture of sensors and wires and prototype board)

Results

  • Initial results
    • Ariel printed a trial speaker dock with dimensions we believed to be correct as well as to understand the 3D printing process. We expected some minor adjustments would be necessary.

(picture of black speaker dock)

    • Audrey connected the display to a Raspberry Pi using a breadboard.
    • Savannah connected the sensors to a separate Raspberry Pi using a separate breadboard.
    • We initially had both the display and the sensors working properly but separately before combining on one breadboard with one pi.

(picture of both breadboards and pis)

  • Comparison to original objectives
    • We set out to create a speaker dock that could use hand motions to play and pause songs, change the display between weather and time, as well as turn off an alarm. Upon realizing that we could not use a leap motion to understand precise hand gestures, it became clear that these objectives needed to be modified.
    • We decided to use the HC-SR04 ultrasonic ranging sensor to change the display between weather and time manually because it's a more appealing user interface than a flashing screen.