s m a r t salient method for automated remote technology n.
Skip this Video
Download Presentation

Loading in 2 Seconds...

play fullscreen
1 / 66


  • Uploaded on

S.M.A.R.T. (SALIENT METHOD for AUTOMATED REMOTE TECHNOLOGY). JARRETT GARDNER PADMAVALLI VADALI POOJA SHAH ABHISHEK GAUR. The Plan – Home Automation. Lighting control Music Playback S.M.A.R.T. Remote Power management Predict the user’s needs Multi-hop wireless signal. Why S.M.A.R.T.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'S.M.A.R.T. (SALIENT METHOD for AUTOMATED REMOTE TECHNOLOGY)' - minna

Download Now 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
s m a r t salient method for automated remote technology






the plan home automation
The Plan – Home Automation
  • Lighting control
  • Music Playback
  • S.M.A.R.T. Remote
  • Power management
  • Predict the user’s needs
  • Multi-hop wireless signal
why s m a r t
Why S.M.A.R.T.
  • Control music and home appliances from one easily useable device
  • Excessive amount of time creating individual playlists
  • Let something else do your thinking for you
  • Know your actual power usage for each appliance
  • Be able to find your lost remote
  • Competitors
    • Eaton – can only read the status of a device
    • X10 & Insteon – extensive product line without behavioral recording or suggestive use
light module hardware



Custom Board


8 bit micro

Von Neumann Arch.

16 MIPS @ 16 MHz

8 KB Prog. Flash


3 Timers

2 8 bit

1 16 bit

10bit ADC

8 channels


23 I/O Lines

Vin: 2.7-5.5 Volts

Light Module - Hardware
light module hardware digital
Light Module – Hardware (digital)
  • Digital
    • Power:
      • ¼ Watts
      • Input Voltage: 10-36Vdc
      • DC-DC efficiency: 82%
    • Clock Rates
      • Xtal: 8 MHz
      • A/D clock: 10 kHz
        • 166 samples per 60Hz cycle
light module hardware mains
Light Module – Hardware (mains)
  • “Mains” Power
    • Vin: 120 V @ 60Hz
    • Max Current: 6 amps
    • Fuse: 4 amps
  • Load
    • Light Bulb: 40W-300W
    • Load State: On/Off
      • 100-0% Power in 10% increments
light module software
Light Module - Software
  • Timers
    • Timer0 (8bit)
      • Clock:31.3kHz
      • Controls triac “on” time ~96 micro seconds
    • Timer2 (8bit)
      • Clock: 7.8kHz
      • Delays triac fire from zero crossing ~0-8msec delay
  • Temperature
    • 8 bit reading ever 6 seconds
    • Convert 10bit hex Celsius reading to ASCII Farenheit
  • Power
    • Sample current sensor 10k sps
    • Calculate power and the average power over 15 minutes
    • Detect zero crossing of mains
    • uC must be able to process current every 100us
  • Lighting control via remote
    • Dimmer (100%-0% in increments of 10%)
    • On/Off
light module software1
Light Module – Software
  • UART
    • TX via uart buffer
      • dynamic buffer
      • Interrupt driven
    • RX
      • Data packet
        • 0x01 start of packet
        • 0x02 end of packet
        • Remote requests current temperature via
          • 0x01 0x03 0x2D 0x02
          • Packet start|Module ID|Command|Packet End
light module testing 1a
Light Module – Testing 1A
  • Starting from PCB
    • Check short between Vcc and ground
    • Solder uC and attempt to program
    • Solder DC-DC and test voltages
    • Solder max232 and DB-9 and test uart
  • Solder Mains Components
    • Test for short between hot and neutral
    • Test for short between hot and load
    • Test for connections between mains and digital side
light module testing 1b
Light Module – Testing 1B
  • Test Traic ON/OFF
    • Initially fails to turn short hot and load line
    • Reconfigured with triac driver
light module testing 2
Light Module – Testing 2
  • Test timer lengths in simulator and actual via oscilloscope
light module testing 3
Every Zero Detection

True Zero Detection Triac fires at wrong time

Light Module – Testing 3
light module testing 5
Triac doesn’t always turn off at zero crossing

Corrected code for TRIAC fire

Removed filtering on triac input

Result: now triac doesn’t always turn on

Light Module – Testing 5
remote hardware



Custom Board


8 bit micro

Von Neumann Arch.

16 MIPS at 16 Mhz

128K prog. Flash

4 Kbytes SRAM

64K Bytes External Memory


Architecture Cont.

4 Timers

8 channel 10 bit ADC

Dual Usarts

53 I/O ports

Vin 2.7-5.5 Volts

Remote - Hardware
remote hardware1


Full Power: 1.6 Watts

LCD Off: ¼ Watt

Input Voltage: 6-18V

Controllable regulator to turn LCD ON/OFF

Clock Rates

Xtal: 8 MHz

A/D clock: 62.5 kHz


Internal 4KB

External 128KB

User Control

1 slider

6 capacitive buttons

1 proximity sensor

4 tactile buttons


20 chars x 4 lines



10mV/degrees C

-55 to 150C

Remote – Hardware
remote software
Remote - Software
  • Xtal: 8 MHz
    • Timers
      • Timer1 (8bit)
        • Clock:7.8kHz
        • Reserved for Testing
      • Timer2 (8bit)
        • Clock: 31 kHz
        • Provides 40usec to 1.5 msec delay for writing to LCD
      • Timer3 (8bit)
        • Clock: 7.8kHz
        • Provides .5 second delay on screen refresh and processing of menu commands
  • ADC
    • Clock: 62.5 kHz
    • Temperature and Power: 1,250 sps
      • Temperature: converted to Fahrenheit (hex) converted to ascii in menu creation
      • Power: converted to Volts (hex) converted to ascii in menu creation
remote software1
Remote – Software
  • UART Raven
    • TX via uart buffer
      • dynamic buffer
      • Interrupt driven
    • RX
      • Process Commands on full reception of packet
      • Transmission Error:
        • Next command lost
        • Restarts at end of next packet (0x02 – packet end)
  • Uart Debug
    • TX and RX by polling
    • Used for Testing purpose only
remote testing 1
Remote – Testing 1
  • Starting from PCB
    • Check short between Vcc and ground
      • Test after soldering every main component
    • Solder uC and attempt to program
    • Solder DC-DC and test voltages
    • Solder max232 and DB-9 and test uart
  • Solder LCD & Voltage Regulator
    • Initially blow first pin controlling LCD power
      • Switched to alternative pin
    • Check pin connectivity
    • Make cursor blink
    • Write commands via uart
remote testing 2
Remote – Testing 2
  • Solder NVRAM
    • Check pin connectivity
    • Write and read value at random address
    • Write and read external RAM via UART
  • Solder QPROX
    • Check pin connectivity
    • Observe Change line while touching buttons
      • QPROX fails – incorrect pin layout
remote testing 3
Remote – Testing 3
  • Solder Tactile Buttons
    • Short between Vcc and ground, changed orientation
    • Tested interrupts on button lines
      • No bouncing problems
remote testing 4
Software Tests:






Coding LCD

LCD Menus

Building dynamic content for LCD

Commands RX

Commands TX

Temperature Readings

Power Readings

Song information transfer from computer to remote

Clearing music from memory

Refreshing music

Remote – Testing 4
computer interface hardware
Computer Interface - Hardware
  • Processor:
    • ATMEL86RF230
    • ATMEGA3290PV
    • ATMEGA1284PV
  • Board:
    • AVR Raven
  • Other Components:
    • Computer
  • Costs:
    • Raven Board $50
computer interface software
Computer Interface - Software
  • Python
    • Packages:
      • time, threading, serial, string, sys, binascii, os, subprocess,winamp,mutagen
      • RS232 Polling
        • Python code executes on complete packet
      • Song information gathered by mutagen
      • Play, pause, stop, next track, previous track, create & delete playlists and change volume via winamp package
    • Activate/disable locator beeper on remote
computer testing
Computer - Testing
  • Tested collecting of song information
  • Connected two serial ports of the computer together via null modem
    • Tested transmission of new songs
    • Tested transmission of a title’s crc
    • Tested all commands on function list

AT86RF230 Transceiver: 2.4 GHz Radio Transceiver for IEEE802.15.4/Zigbee Applications


Ultra Low Power Consumption

Current :20nA (sleep)

15.5mA/ 16.5mA (RX/TX)

Voltage : 1.8V to 3.6V

Easy to use Interface

Low data rate (250kbps at 2.4GHz)

special ieee 802 15 4 2003 hardware support
Special IEEE 802.15.4-2003 Hardware Support

FCS (Frame check sequence) Computation

Clear Channel Assesment methods:

Energy above threshold.

Carrier sense ( Signal with modulation and Spreading characteristics).

Carrier sense with energy above threshold

Automatic CSMA-CA (carrier-sense multiple- access/collision-avoidance)

Automatic Address Filtering

microcontroller interface
Microcontroller Interface



Pin 20


microcontroller interface cont
Microcontroller Interface cont..

Comprises of a Slave SPI (serial port interface) used for Frame Buffer and Register Access.

And other Control Signals.

signal description of microcontoller interface cont
Signal Description of Microcontoller Interface cont…

SEL SPI select signal, active low

MOSI SPI data (master output slave input) signal

MISO SPI data (master input slave output) signal

SCLK SPI clock signal MAX : 7.5MHz

CLKM AT86RF230 clock output MAX : 8MHZ

IRQ AT86RF230 interrupt request signal


- Sleep/Wakeup

- TX start

- Controls CLKM output

-RST AT86RF230 reset signal, active low

sleep wake up and transmit signal slp tr
TRX_OFF ---Sleep

SLEEP ------Wakeup

RX_ON----- Disable CLKM

RX_ON_NOCLK --- Enables CLKM



RX_AACK_ON ---- enables CLKM

PLL_ON -------TX start

TX_ARET_ON--- TX start

Sleep/Wake-up and Transmit Signal (SLP_TR)
basic operating modes
Basic Operating Modes

State transition timing

P_ON - Power-on after VDD

SLEEP – Sleep State

TRX_OFF – Clock State

PLL_ON – PLL State

RX_ON and BUSY_RX – RX Listen and Receive State

RX_ON_NOCLK – RX Listen State without CLKM

BUSY_TX – Transmit State

current product
Current Product
  • Lighting control
    • Controls power to load in 10% increments
  • Music Playback
    • Capable of simple winamp control
    • Loading of music still in development
  • S.M.A.R.T. Remote
    • LCD functional
    • Menu functional
    • S.M.A.R.T. functionality still in development
    • Command structure functional
    • Capacitive touchpad failed (incorrect pin layout)
      • Backup tactile buttons
  • Multi-hop wireless signal
    • In development