Automatic wake up experience l.jpg
This presentation is the property of its rightful owner.
Sponsored Links
1 / 32

Automatic Wake-Up Experience PowerPoint PPT Presentation

  • Uploaded on
  • Presentation posted in: General

Automatic Wake-Up Experience. Group 40 William Bendix, Jake Metz, & Durreh Tabassu ECE 445 Senior Design April 29, 2010. Introduction. The Automatic Wake-Up Routine provides an automated approach to the daily, morning tasks taking them out of the hands of the end user

Download Presentation

Automatic Wake-Up Experience

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript

Automatic wake up experience l.jpg

Automatic Wake-Up Experience

Group 40

William Bendix, Jake Metz, & Durreh Tabassu

ECE 445 Senior Design

April 29, 2010

Introduction l.jpg


  • The Automatic Wake-Up Routine provides an automated approach to the daily, morning tasks taking them out of the hands of the end user

  • Seeks to reduce stress caused by morning chores and create a more pleasant environment to wake up in

Original concept l.jpg

Original Concept


Coffee Maker




Overview l.jpg


  • System controlled by “base-station” alarm clock

  • Based around a modular design

  • Utilizes RF wireless to allow communications between the base-station and different modules

Modular design l.jpg

Modular Design

  • Central base station provides normal alarm clock functions

  • Coffee maker module to operate coffee machine prior to wake up time

  • Thermostat control to create a comfortable temperature

  • Blinds control to wake end user up with natural light

  • Vocal announcements to rouse end user

Automatic coffee maker l.jpg

Automatic Coffee Maker

  • Allows for wireless control of Coffee maker

  • Could be attached to any model of Coffee maker

  • Small, plastic housing for aesthetic placement on kitchen counter

Automatic coffee maker7 l.jpg

Automatic Coffee Maker

  • Relay connected to power line of coffee maker

  • Only receives wireless signal when Coffee maker switch set to “on”

  • Powered from DC wall-adapter or 4 AA batteries

Alarm clock l.jpg

Alarm Clock

7 segment displays

BCD to Seven segment converters

Project build alarm clock l.jpg

Project build- Alarm clock

  • Coding PIC Microcontroller

    • Use MPLab and CCS compiler

    • Program with PICStart

  • Build Device on Breadboard

    • Testing

    • Debugging

  • Design on Eagle for PCB Fabrication

    • a.More Debugging

Pcb board l.jpg

PCB Board

Pcb board11 l.jpg

PCB Board

Testing l.jpg


Testing i 2 c communication l.jpg

Testing - I2C Communication

Challenges l.jpg


  • Getting PIC to output constant high/low values

  • I2C Communication

  • PCB fabrication – shorts and opens

Slide15 l.jpg

Schematic for the thermostat

Schematic for the Blinds Circuit

Slide16 l.jpg

Thermostat and the Blinds Circuit

Pwm signal for the motor l.jpg

PWM signal for the motor

Duty cycle changing between 30%-100%

Frequency : 125kHz

Period: 8.0 us.

Testing procedures l.jpg

Testing procedures


  • Set the desired temperature with local inputs to PIC

  • 2) Test the high and low temperature trigger for the sensor using a blow dryer.

  • 3) Test the temperature setting through the wireless connection

  • 4) Test the heater is on using an LED.

Slide19 l.jpg

Blinds Circuit:

1) Test the motor control by manually running the motor without the PIC by using a function generator. 2) Test the wireless control of motors by sending signal to PIC  3) Battery capacity check           a. Use a multimeter to test battery voltage levels           b. Run the motor for 5 minutes (corresponding to 2 motor runs per day at 5 sec/run for 30 days)           c. Check the Battery voltage level again

Slide20 l.jpg

Longevity of Power Supply

The thermostat and the blinds circuit would be powered separately using 4AA batteries. Considering the motor to run for 5seconds a day, its power consumption is summarized in the table below.

Average capacity of 4AA batteries = 2.4VAh

Even after considering the negligible power consumed by the thermostat and the other parasitics of the circuit we can see that our battery power would easily last for a month.

Wireless communications l.jpg

Wireless Communications



Uses a 315 MHz signal that is Modulated using on off keying

Wireless communications22 l.jpg

Wireless Communications

  • Transmitter must attain DC-level before sending data

  • Receiving circuit must be able to determine which Module the base-station is talking to and what function it is meant to perform

  • Must not interfere with other wireless devices

Antenna calculations l.jpg

Antenna: Calculations

Transmission:    Transmission power: Pt = 10 mW    distance: r = 30 m    Receiver power: Pr  = -110 dBm    frequency: f = 315 MHz    Power per unit area: S = Pt/(4*pi*r2)= 8.84 x 10-7    Pr = 10-110/10=10-11mW    Effective area:  Aeff = Pr/S = 10-14/8.84 x 10-7 = 1.13 x 10-8 m2    wavelength = lambda = c/f = 3 x 108/315 x 106 = .9517 m    Antenna Gain: Aeff =  lambda2*G/(4*pi)        G = 4*pi*1.13 x 10-8/.95172 = 1.57 x 10-7

   Our calculations show that the required Gain for the antenna is far below a value that a typical antenna would be expected to have

Wireless communication l.jpg

Wireless Communication

  • Based on RF-Link 315 MHz 2400 Baud wireless chips

  • Base-Station contains Transmitter

  • Modules each have a Receiver



Wireless communication25 l.jpg

Wireless Communication

  • Transmission Scheme

    • Calibration signal to set DC-Level: $55 six times

    • Packet Header: $FF, $00, $FE

    • 8-bit MODULEID followed by INVMODULEID

    • 8-bit DATA followed by INVDATA


    • Appending characters: $AA four times

  • Sends entire scheme 20 times to ensure reliability

Wireless communication26 l.jpg

Wireless Communication

  • Sample HyperTerm output of transmitter

    • UUUUUUÿþŠu4˾AªªªªUUUUUUÿþŠu4˾AªªªªUUUUUUÿþŠu4˾AªªªªUUUUUUÿþŠu4˾AªªªªUUUUUUÿ þŠu4˾AªªªªUUUUUUÿþŠu4˾AªªªªUUUUUUÿþŠu4˾AªªªªUUUUUUÿþŠu4˾Aªªªª

  • Sample HyperTerm input from receiver

    • ªªþŠp4Ê<@[email protected]@ªªªªªªªªþˆu4Ê<@ªªªªþˆu4Â<@[email protected][email protected]<@[email protected] [email protected]<@ªªªªþŠu4Ê<@[email protected] þŠp0Ë<@ªªªªþŠp ʼªªªª

Voice synthesizer l.jpg

Voice Synthesizer

  • Accepts ASCII character inputs at 9600baud serial

  • Produces English text

  • Components:

    • TTS256 Allophone library

    • SpeakJet Complex Sound Synthesizer

    • LM386 based Audio Amp

Voice synthesizer28 l.jpg

Voice Synthesizer

  • PCB I/O:

    • Serial Data in

    • Power Inputs

    • Configuration Switches

    • TTS256 Status

    • SpeakJet “Ready” and “Speaking” signals

Serial Data In


Status Out



“Ready” Signal


Voice Signal

Amplified Audio

Signal Out


Audio Amp

Voice synthesizer29 l.jpg

Voice Synthesizer

  • Can be used to add voice synthesis to any project

  • SpeakJet Complex Sound Synthesizer

    • Creates audible voice synthesis when provided with vocal allophones using 5-channel synth

    • Contains a library of built-in sound effects for future projects (R2D2 anyone?)

  • Inputs to reset chips and set VoiceSynth in Demo Mode or Baud Rate Configure

Scaling back l.jpg

Scaling Back

  • Original project was meant to have a webserver to download GoogleCal appointments and announce audibly

    • Web Server was taking too long to construct and there was question as to whether a PIC would be able to utilize all of the GoogleAPI’s

    • Found it more useful to get wireless and modules working

  • All modules were originally meant to be on boards, but time constraints prevented this

Ethical considerations l.jpg

Ethical Considerations

  • Coffee maker will only operate when user has set the on switch and requires the user to turn off after operation

    • Reduces the chance of overheating due to system error

    • Places the responsibility in the user’s hands just as with a normal Coffee Maker

Ethical considerations32 l.jpg

Ethical Considerations

  • Wireless interference

    • 315 MHz frequency is set for commercial use. Our wireless frequency does not interfere with any commonly used frequencies like that of the cell phones.

  • Login