Title: GREEN HOME MONITORING SYSTEM – TRANSMITTER
Author: ANTHONY P KUZUB
DATE: 2015 04 01
Description:
REMOTE MONITORING TRANSMITTER
The GREEN HOME MONITORING SYSTEM controls, monitors then transmits the
status of three room lights to a remote monitoring station.
The code below is the local control and transmitter
Three light switches along with motion sensors control the functionality
of the rooms lights.
When the system is enabled:
The light turns on When motion is detected.
Once motion is detected a five second counter Starts.
If motion is not detected within the five seconds The light shut
off saving power.
When the system is disabled:
The light switch controls The light Directly.
A Peak Power cost value is captured based on the time of day.
To Test this feature: apply a slowly 10mHz Sine wave 1.25
Vpp with offset of 0.625V offset to TP7
This moving sine wave is converted to digital by means of A/D convertor
This power cost value is displayed on the segment display
Indicating the value of power throughout the day.
The Status of The System state, switch position, motion detection, Light
status, and Energy cost, are transmitted to a remote monitoring station
via serial port 1.
Title: GREEN HOME MONITORING SYSTEM – RECEIVER
Author: ANTHONY P KUZUB
DATE: 2015 04 01
Description:
The GREEN HOME MONITORING SYSTEM controls, monitors then transmits the
status of three room lights to a remote monitoring station.
The code below is the remote monitoring station
This program receives 2 bytes of data from the transmitter through
Serial port 1. The data is decoded and displayed on a screen by access
of serial port 2 of the controller.
A workstations TERMINAL session connects a a com port to the hardware receiver.
SESSION CONFIGURATION:
BAUD RATE: 9600
DATA BITS: 8
PARITY: NONE
FLOW CONTROL: NONE
EMULATION: ANSI
The Status of the system, switch positions, motion detection, Light status,
and Energy PEAK VALUE displayed on the terminal screen.
A Changing Peak Power cost is applied proportionaly to room cost acumulators.
By Pressing the respective key on the terminal keyboard, the rooms cost will
reset to zero.
Please note that with the exception of the push buttons all states are
ACTIVE HIGH