1 / 41

Wireless Mood Detector

Wireless Mood Detector. Group 2 Crystal Menon & Eric Tashakkor ECE 445 – Senior Design December 1, 2005. What is a “wireless mood detector”?. The Wireless Mood Detector (WMD) is a wireless audio system controlled by the user’s emotional state or mood.

thom
Download Presentation

Wireless Mood Detector

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Wireless Mood Detector Group 2 Crystal Menon & Eric Tashakkor ECE 445 – Senior Design December 1, 2005

  2. What is a “wireless mood detector”? • The Wireless Mood Detector (WMD) is a wireless audio system controlled by the user’s emotional state or mood. • The WMD solves the common problem of wasting time finding music to fit one’s mood. • The WMD can be used as a treatment tool for psychologists and music therapists.

  3. Product Features • Mood Machine software with customizable playlists for each mood • Plays all popular audio and video formats (mp3, wma, wav, mid, mpg, avi, wmv) • PC serial interface • Wireless transmitter (range ~300ft) • Noninvasive biological sensors

  4. Product Benefits • No more searching through thousands of MP3s to find the perfect song • Music changes automatically as the user’s mood changes • Wireless connection allows for mobility in the room

  5. The Wireless Mood Detector

  6. The Wireless Mood Detector

  7. System Overview • Hardware: • Temperature Sensor, Pulse Sensor, PIC Microcontroller, Wireless Link • Software: • Mood Machine programmed in VB.NET

  8. Hardware Overview • Temperature Sensor • Measures the user’s skin temperature • Pulse Sensor • Measures the user’s heart rate using an EKG and converts it to a simple waveform for the PIC

  9. Hardware Overview • PIC Microcontroller • Converts analog sensor data to digital format • Communicates with PC through wireless link • Wireless Link • Sends serial data from PIC to PC • MAX232 chip converts TTL voltages to RS232

  10. Temperature Sensor (Schematic)

  11. Temperature Sensor • To find the temperature we use the Motorola MTS 102 analog temperature sensor • The MTS 102 requires a constant current of 100µA • We use the LM 334 adjustable current source

  12. Temperature Sensor • For a 100µA current, we calculated the Rset resistor value using the equation Iset= VR/ Rset * 1.059 • We found the relationship between temperature and voltage: Temperature (°C) = -444.48 * Vout + 290

  13. Experimental Temperature Data

  14. Pulse Sensor (Schematic)

  15. Pulse Sensor • Based on an EKG using the AD 622 Amplifier • Electrodes and 4.7kΩ resistors between the test subject and the AD 622 input • The RC circuit eliminates any DC offset

  16. Pulse Sensor (EKG waveform)

  17. Pulse Sensor • Output from EKG is fed into the V+ input pin of the Differential Amplifier LM 311 single high-speed voltage comparator • The LM 311 compares the input voltage to a reference voltage V- • When V+ > V-, the comparator outputs a high signal. Otherwise, it is low.

  18. Pulse Sensor • The output from EKG and LM 311 is not a smooth, clean signal • To correct for this, we feed the comparator’s output into a D flip-flop

  19. Pulse Sensor (D Flip-Flop Output)

  20. PIC Microcontroller (Schematic)

  21. PIC Microcontroller • Temperature output pin is connected to the Microcontroller pin RA0 to convert A/D • Pulse sensor output pin is connected to the Microcontroller pin RC1 to count time between peaks

  22. Sensor Data Collection • PIC takes 31 temperature data points to be averaged on the PC • We do this because the temperature sensor voltage fluctuates

  23. Sensor Data Collection • For the pulse sensor, the PIC counts the time between two peaks from the D flip-flop by incrementing internal registers • The PIC sends these numbers to the PC in order to calculate the heart rate

  24. Wireless Link (Schematic)

  25. Wireless Link • The PIC sends 40 bytes across the Linx transmitter (3 header, 31 temperature, and 6 pulse) at 4800 baud. • The Maxim MAX232 converts the TTL voltages (0/5V) from the Linx receiver to RS232 logic (-10/10V) • The PC reads in the data on COM2.

  26. Mood Machine Software

  27. User Interface – A Brief Tour

  28. Editing Playlists

  29. Adding Songs

  30. Select an Audio or Video File

  31. Want to Test Another Mood?

  32. Demo Mode

  33. Returning to Normal Mode

  34. How Mood Machine Works • Software receives data from PIC that contains numbers to calculate the user’s temperature and pulse. • Calculated temperature and pulse are compared to the mood chart. • Current playlist changes to another Windows Media Player list for a different mood.

  35. Calculating Temperature and Pulse • Average digital numbers and convert to voltages • Voltage (V) = 188.71 * Number + 11.615 • Convert to temperature • Temperature (°C) = -444.48 * Voltage + 290 • Calculate pulse • Pulse (BPM) = 60 / ((Number * 20) / 16,000,000)

  36. Mood Correlation

  37. Mood Correlation Chart

  38. The Future of the WMD

  39. The Possibilities Are Endless… • Customizable mood detection • User circuit integrated into a wearable wristband, watch, necklace, or earrings • New and improved sensors for better mood resolution • The WMD would adjust the lighting and temperature of the room

More Related