GREEN HOME MONITORING SYSTEM

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.

 

0 - main 1- ZeroVariables 2 - DefineHardware 3 - SystemEnableCheck 4 - Power Sample 5 - Room 1 Check 6 - Room 2 Check 7 - Room 3 Check 8 - EncodeTransmissionData 9 - Transmit 10 - Diagnostics

 

 

TRANSMIT TRUTH TABLE

 

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.

Screen Layout

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

 

0 - main 1 - ZeroVariable 2 - Initialize Devices 3 - Paint Screen 4 - Receive 5 - DecodeReceivedData 6 - KeyboardCheck 7 - ScreenUpdateStatus 8 - ScreenUpdateLight 9 - ScreenUpdateCost 10 - scr_writech 11 - KeyPress 12 - Diagnostics

 

Posted in Computer Interface, Console, Data, Design, Digital, Mathematics, Patching, Programming, Projects, School, Transport
  • 100A 3-Phase Temporary Power Distro's
    All 3 are 100A 3-phase panels. They stack and interlock. One has wheels on the bottom for easy storage. 5-foot Cam-Tails as input. 2 near-complete CamTee sets included. Originally made for supplying a large amount of Food-Trucks and other festival vendors. 2 panels are identical with: 6 dbl 30A 1 dbl 20A 1 single 20A […]
  • Telefunken U47 - Mint condition
    Mint Condition Telefunken U47 Tube microphone. Amazing condition. $20,000 USD I have never seen a specimen in this museum condition ever.
  • Neve 1D005 Pre-amps
    1D005 pre-amps in boutique audio rack. powered and ready to love it's like a micro 1073 Inductor-based EQ, transformer input
  • (7) Genelec 8240A PM Powered speaker
  • NEVE 8816 Summing mixer
    Neve 8816 summing mixer includes quality D-SUB breakouts
Got empty racks?

Ward-Beck Console?

Patching something special?

Running Out of Room?

Need a Hand With a Project?

WP to LinkedIn Auto Publish Powered By : XYZScripts.com