Arduino Project – Digitally Controlled Analog Surround Sound Panning – Open Source

For your enjoyment:

Digitally Controlled Analog Surround Sound Panning




Circuit Explination:


Presentation documents:

0 – TPJ – Technical Presentation





Project Source Code:

Continue reading

Fixing Logitech trackball performance

I love these Logitech Marble Mouse trackballs, I have one for every computer.  After a few years they slow down physically.  Cleaning the dust off does not help enough, something different needed to be applied.  I’ve been researching lubricants and oils, doing some tests with households; but I think I’ve found the perfect fluid.  Ian Gomes of Union Sound Company made a recommendation a few years back for Penny and Giles faders.  A quick amazon search lead me to Lucas Silicone Shock fluid.  I must report that it is the perfect product for this application.  If you need a drop, I’ll send you a q-tip of it in the mail.


Generating Code with spreadsheet for Keyboard Assignments of CADSOFT Eagle

I needed a way of Generating Code, lots of code.   In cadsoft eagle, the Keyboard Assignments are completely user customizable.  They have a script language that allows you to modify the software.  I’ve used hundreds of the ULP and SCRs and decided to write my own Generator.

Necessity is the mother of all innovation.  Screen Shot 2015-09-14 at 12.56.34 AM Screen Shot 2015-09-14 at 12.56.45 AM Screen Shot 2015-09-14 at 12.56.52 AM Screen Shot 2015-09-14 at 12.56.59 AM Screen Shot 2015-09-14 at 12.57.04 AM Screen Shot 2015-09-14 at 12.58.37 AM Screen Shot 2015-09-14 at 12.58.44 AM Screen Shot 2015-09-14 at 12.58.50 AM



DATE: 2015 04 01


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





DATE: 2015 04 01

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.


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


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



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

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

Visualization of what’s on your hard drive

I was introduced to “Disk Inventory X” that displays a visual representation of what’s on your hard drives. Within minutes I identified HUGE files that were plugging up my laptop. The worst culprit is parallels… but I already knew that virus was huge!

Screen Shot 2014-09-27 at 10.57.47 AM

By selecting a file, you can reveal it in the finder and see what it’s really doing!

Screen Shot 2014-09-27 at 11.04.23 AM

I would recommend checking it out, just for fun!

RLC calculator for components in series

I’ve been calculating a lot of components in series lately for an ECR255 class. I’ve also had to graph them on impedance diagrams and a power triangle.

In an effort to better understand the math I made a calculator for myself. Here is it for you to use and enjoy. If you see any problems please let me know. It was designed in excel 2011 for mac… there WILL be compatibility issues and I hope they’re minor.

How it works:

You can fill int the info you have in the orange boxes. Once the boxes are filled in the calculator should fill in the rest.

If you need to modify anything else, it’s all dependant on the orange boxes. I suggest a goal seek by modifying and orange cell.

Screen Shot 2014-07-06 at 9.36.44 PM




Screen Shot 2014-07-06 at 9.38.09 PM

Screen Shot 2014-07-06 at 9.48.54 PMScreen Shot 2014-07-06 at 9.49.10 PM


Screen Shot 2014-07-06 at 9.49.00 PM

Screen Shot 2014-07-06 at 9.49.16 PM