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

 

SUCCESSIVE APPROXIMATION ADC CALCULATOR

Was working on my Micro controller reading and had a need for a calculator to check my work for Successive Approximation of Analog to Digital signals.

WIKIPEDIA:  A successive approximation ADC is a type of analog-to-digital converter that converts a continuous analog waveform into a discrete digital representation via a binary search through all possible quantization levels before finally converging upon a digital output for each conversion.


Screen Shot 2015-03-02 at 5.09.50 PM

Screen Shot 2015-03-02 at 5.21.55 PM


Screen Shot 2015-03-02 at 5.10.01 PM
Here is a Link to the excel calculator for your enjoyment

Music Note Frequency Calculator With Cent Adjustment

A colleague posed a very interesting question:
“I am looking for any music/music math wizard help me figure this out. If I am moving the pitch of a song up by 50 cents (a quarter step?) What frequency is A instead of 440?”

Sounded like the kind of math challenge I like:

Screen Shot 2015-02-06 at 8.59.14 AM

Screen Shot 2015-02-06 at 8.59.29 AM

The answer is 452.893Hz
Screen Shot 2015-02-06 at 8.59.38 AM

 

 


To test and confirm that it’s calculating properly, this is up 100 cents making G# 440
Screen Shot 2015-02-06 at 8.48.14 AM
This is down 100 cents making A# 440
Screen Shot 2015-02-06 at 8.48.29 AM

Here is a link to the excel file

Dolby atmos

I was lucky enough to get to visit the new Atmos mix room at Deluxe Toronto.  This was the deadest big room I’ve ever been in.  It was impressive to hear the system.  Being a part of the AES gave me an incredible experience of A/B-ing the new IMAX mix room at Technicolor and the Atmos room at Deluxe.   In my opinion the ideas of IMAX immersive technologies translate much better.   The guys at IMAX got it right.

Screen Shot 2015-01-25 at 12.36.21 PMMartin Pilchner did an amazing job.
They had a guy from dolby explaining a little about how Atmos renders… very interesting how it translates from room to room.


2015-01-20 20.03.45
More information from the Dolby Site:
Screen Shot 2015-01-25 at 12.23.00 PM
Screen Shot 2015-01-25 at 12.23.13 PM Screen Shot 2015-01-25 at 12.25.36 PM Screen Shot 2015-01-25 at 12.25.54 PM Screen Shot 2015-01-25 at 12.26.21 PM

IMAX- The Next generation of IMAX sound – 12 Channel configuration – and LASER projectors, about time

Imax – The Next generation of IMAX sound –  12 Channel configuration – and LASER projectors, about time!!

Had a fantastic experience with the new IMAX sound system at the AES meeting held at Technicolor.

The “Upper Quad” ceiling speakers really bring it together.IMG_8687

VBAP is going to need some work… and a HUI

I walked away asking: “If it were truly immersive, there would never be idle speakers”  Cory said: “Backgrounds are the first thing to go…” I think those will become crucial.

I also walked away wanting a dozen U87s…

IMG_8678 IMG_8673
Of course you could hear the birds chirping and running away WHILE the rocket was launching…
IMG_8699

sound guy Xmas idea: APx515 2-Channel Audio Analyzer

This would be a dream for the test bench.  Simple, robust effective analysis tools!   I would be happy with an old system one… but this would be on the shelf in a heartbeat. 

Screenshot 2014-11-30 10.51.19

The APx515 is a high performance audio analyzer optimized for production test. APx515 has a typical THD+N of –106 dB, a one million point FFT with 24-bit resolution, and 192K digital I/O. It is a best-in-class instrument for its combination of speed, performance, automation, and ease-of-use.

APx515 is a significant product because it delivers the performance and reliability of Audio Precision at a production-level price.

APx is the fastest audio analyzer in the world, returning 21 audio measurements in as fast as 1.2 seconds. It is also the easiest to use, with one-click measurements, custom reporting and sophisticated automation without any programming. A full API and LabVIEW driver is also provided.

This speed and ease-of-use means test will never be a bottleneck, and production line managers can achieve reliable, consistent results compared to the current low-cost alternatives like a distortion analyzer.

For companies outsourcing their production, requiring APx515 on the production line gives tighter control over production, ensuring manufacturers are meeting their contractual requirements.

sound guy xmas!!! Day 1 – Syscomp Curve Tracer

Xmas is around the corner.  Sound guys and gals are the hardest people in the world to shop for… I will be posting a stream of gift ideas!

Day 1:  The Syscomp CTR-101 Curve tracer:

Key Features
-Plots device characteristics for diodes, transistors, MOSFETs, JFETs, and more!
-Up to 30V test voltage at 1A test current
-True voltage and current source drive ampliers
-High resolution measurements
-Pulsed test mode to minimize device dissipation
-Auto-scaling real-time plotting during analysis
-Sample-by-sample power and current limiting
-Open-source software
Screen Shot 2014-11-23 at 6.39.01 PM
 – Screen Shot 2014-11-29 at 9.54.14 AM