Sunday, July 14, 2019

Valterra universal vent lid installation problem

The vent lid over the bathroom on my small 19' camper was completely destroyed by the sun.  As a new camper owner, I learned that this is fairly common and there is a 'universal' replacement from a company called Valterra.  This replacement lid promises to withstand the beating that UV rays dish out, and Valterra offers a limited lifetime warranty to boot.

The company has created a nice five minute installation video on YouTube that shows the entire installation process, which I recommend watching completely before starting the installation.

As instructed, I started the installation process on the inside of the camper before moving to the roof.  With the new vent installed on the roof, I went back into the camper to wrap up the installation.  This is when I discovered the design flaw with the Valterra product.

The Valterra vent has a new lift slide pre-installed.  Here is a photo from their own installation video.  Notice how the circular opening for the lift slide is positioned away from the hinge:


This directly conflicts with the factory installation, as you'll see later in their installation video when they remove the factory vent lid:


Later in their installation video, we see the completed installation:



The problem is the Valterra lid bracket -- it is backwards.  The way the circular opening is positioned creates two problems:

  • The lift arm can become dislodged from the slide when the vent lid is closed
  • There will be a larger effort to "start" the lift process, as the lift arm needs enough force to pop out of the circular opening and begin sliding down the track.  This has the potential to put additional wear on the lift mechanism.
In order to fix this, you need to manually invert the bend in the Valterra bracket, and drill two new locating holes.  Here are the steps I used to complete this process:








This is a nice product, and I recommend it, but the included bracket needs to be redesigned such that the vent continues to operate as the original.  Valterra's own installation video shows this design flaw clearly.







Sunday, June 30, 2019

Sonos Playbar, an "old" TV, and Dolby 5.1

My wife got me a Sonos Playbar for my birthday.  I was reluctant to accept it, because the 1980s Acoustic Research speakers I have and my old Onkyo receiver were working just fine!

I installed the bar underneath my TV and was blown away by the clarity and volume -- the old speakers and receiver had to go.  I also bought the Sonos sub, because bass.

After playing with the speaker for a while I realized the following:
  • With the optical IN to the Sonos coming from my TV, and only when using the TV's internal tuner (I am a cord cutter), I could see (using the "Settings --> About My Sonos System" option in the Sonos phone app) that the bar was receiving a Dolby Digial 5.1 surround signal.
  • When I switched to my Roku streaming box, which goes to the TV via an HDMI input, the Sonos would only receive Dolby Digital 2.0.  This was the same for any device I connected to the HDMI input.
My original setup, which didn't provide Dolby Digital 5.1 to the Playbar unless using the TV's internal tuner


What I found out was that older TVs will not pass the Dolby Digital 5.1 signal through from HDMI.  For whatever reason, the signal will be stripped by the TV.  Newer sets apparently don't have this problem.

I also found out that devices like the Roku don't support Dolby Digital 5.1 anyway -- they only support a different standard called DTS Digital Audio.  DTS is a competing format, all of the differences between Dolby Digital and DTS are explained here.

The Sonos Playbar does not support DTS, so we need to make sure to provide the Sonos Playbar with a Dolby Digital signal.

Really, there are two problems:
  • An old TV that strips the surround signal from the HDMI input
  • A streaming box that doesn't support Dolby Digital 5.1
Solution(s):

There is no single solution for both problems.  Purchasing a new TV would probably (after careful homework) not strip the surround information from the HDMI input.  However, a new TV isn't an option for me.  I paid dearly for this TV in 2010, and it is staying on my wall until it dies.

It turns out that there is a box that will strip the Dolby information off of the HDMI input, and route that signal to its own optical digital output.

J-Tech Digital 5 Port HDMI Switch & Audio Extractor

For streaming, the Amazon Fire TV Cube supports Dolby Digital 5.1.  It has the capability to transcode DTS (which most streaming providers support) into Dolby Digital 5.1.  

Amazon Fire TV Cube
The only downside to this device is the continual feud between Google and Amazon, so you will lose YouTube and Google Play video support.  (Update: It looks like the feud is ending?)  

To continue to use the Google Play movies that you purchased, you can use a service like moviesanywhere.com, which will aggregate movies that you've paid for from different providers and let you view them all under one roof.  Note, this is supported for most movies, but not all

Make sure you tell the Fire TV Cube to always use Dolby Digital, you'll find this in the settings for the Fire TV Cube as below:

Configure Fire TV Cube to always output Dolby Digital
I've noticed that *some* providers don't give you the surround until you turn it on explicitly.  moviesanywhere.com is one of those providers.  So, keep an eye on your Sonos phone app to see what the Playbar is receiving:

The "About My Sonos System" dialog on my Android phone, indicating what type of signal the Playbar is receiving

My new setup looks like this:
The new setup uses the J-Tech HDMI switch to strip Dolby Digital signals from HDMI inputs and pass them to the Playbar via its own optical digital output

The J-Tech HDMI switcher in service
The only remaining problem with this setup is the internal TV tuner.  If I want to watch OTA TV, I have to connect the optical output from the TV directly to the Playbar.  This might be solved by adding a separate TV tuner device, like this one (that also provides recording capability).  There are also several devices that will provide one or two TV tuners, and make that TV signal available for streaming by your laptop, TV, phone, etc.  The Amazon Fire TV Recast is one such device.

I hope this helps you with your Sonos Playbar setup.



Sunday, January 7, 2018

How to install KICAD libraries in Ubuntu Linux (or Mint)

After installing KiCAD from PPA on my Linux machine, I had no libraries installed.  Here's he method used to install the libraries from github.  I did the following with KiCAD 4.0.7.

1. Use github to pull the kicad libraries:
~/Projects $ git clone https://github.com/KiCad/kicad-library.git

2. Switch to kicad-library and do: 
~/Projects/kicad-library $ cmake .


3. After cmake creates the makefile, run:
sudo make install


4. Watch the output of the above command.  You should find that stuff gets installed into
/usr/local/share/kicad

5. Restart KiCAD and adjust paths under
Preferences->Configure Paths


6. Restart KiCAD again.

You may *still* see this window in Linux:


This is because, as near as I can tell, these are old library names, and in Linux, they should be case-sensitive.  For example, the above error shows that "switches" is not found, but:



Notice there is a "analog_switches.lib" as well as a "Switch.lib".  From the Component libraries preferences, you can remove *all* of the default component library files:



Now click "Add" and select *all* of the *.lib files from /usr/local/share/kicad/library.