Saturday, March 24, 2018

HP OfficeJet 7612 on Ubiquiti UAP-AC Lite

Protip: The HP OfficeJet 7612 (at least with what is claimed to be the most recent [2018/03/24] firmware) does not support Ubiquiti's implementation of Fast Roaming, 802.11r-2008. The UAPs are running f/w 3.9.21.8191. We made this obversvation after downgrading the UAPs to an ancient 3.4.x firmware version. Fast Roaming didn't show up until 3.7.x, that was the clue. Just in case anyone else runs into a similar issue... All of our other devices, including the cheap wireless cameras, have no issue with Fast Roaming. I'm placing the blame for this squarely on HP's firmware.

Wednesday, February 8, 2017

CFEngine Mustache templating with variable defaults

Wasn't sure if mustache default variables would work with CFEngine, eg:
{{variable}}{{^variable}}default content{{/variable}}

But, it seems to work just fine:
And the output:

Wednesday, April 27, 2016

CB550 H4 Headlight Upgrade

(Note: I originally made this upgrade in Oct. 2013. This post has been sitting in my queue awaiting editing since then.)

In the pursuit of ever more electrical efficiency with the '77 CB550, I decided to replace the stock 45W sealed beam headlight with an H4 fixture.

Front of the lens. Note the asymmetric pattern to keep glare for oncoming drivers to a minimum.

The stock sealed beam light always seemed a bit dim to me, and the pattern it cast seemed a bit wasteful.

After some searching, I decided the best option was to go with the Bosch H4 motorcycle lens/reflector unit. This lens replaces the stock sealed beam light and accepts an H4 halogen bulb, and then mounts the same way the original light did.

A good source of info on the Bosch H4 unit, comparing the auto vs MC, and sealed beam vs halogen can be found here:

The P/N you want is 0 301 600 118. This has the correct beam pattern for a MC driven in the US (right-hand side of the road. The aforementioned website has a very in-depth analysis of the variations of the H4 light, pertinent federal and state laws, and the HB2 vs H4 bulb standards.

You will probably have to search a bit to find the correct part, as these usually have to be imported. I found mine on eBay. The one you want will be marked "DOT" and "Motorcycle." Find a listing that explicitly mentions the part number to be sure you are buying the right lens.

In short: the Bosch H4 lens with a quality H4 bulb will make a world of difference over stock, allowing you to see better and the other cagers on the road to see you better. 

Truth be told, I was in a low-speed collision with a deer shortly after dusk in the Fall of 2014. If it hadn't been for this upgrade, I would not have had time to react in time. By the time I hit the deer, I had all but stopped, and only dropped the bike because I wasn't ready to be stopped quite yet. I estimate I was only doing 5-10MPH when I hit him. My gear protected me and I did less than $50 of damage to the bike.

When doing this upgrade, it also helps to cut back on other power hogs on the bike: running lights and tail light, by upgrading those to LEDs. This should also take some strain off the charging system, or at least not make it worse when going to a 60W bulb. There is at least one more upgrade you can make to squeeze the most out of your stock battery and charging system that I will write about in a future post.

Here are some pictures of the installation:

Back of the fixture.

Another shot, showing the protective boot.

Lens mounted in the frame, with bulb installed.

Another shot of the completed assembly. Rubber boot has not been installed yet.

Low beam.

High beam. Note that you can still see the marker lights, which were LEDs when this photo was taken.

That's all for now.


Tuesday, November 5, 2013

CB550 LED Upgrade continued - License plate

When upgrading the tail light on the CB550 from the stock incandescent to a red LED, I lost the legally required white illumination of the license plate. The bottom of the tail light lens has a clear section that originally allowed the white light from the incandescent lamp to illuminate the license plate.

While searching for a solution, I came across these cheap, all-metal white LED bolts:

The price was right at less than $4 with free shipping. They took just over a month to show up, but I didn't mind the wait.

Installation was straight-forward. The tail light wire on the CB550K is brown, and this wire always has voltage on it. The green wire with the yellow stripe is for the brake light, and the solid green wire is ground. I just stripped back the insulation on the appropriate wires and soldered on the leads from the LED bolts. Care needs to be taken to make sure you have everything already over the wires, as once they're soldered, you won't be able to get any nuts or washers over the studs. That might be the only drawback to this style of light, but I don't think I'll need to take the license plate off for quite some time.



The other thing I did was place some foil tape on the inside of lens to block the red light from bleeding onto the license plate:



And the finished product:




Thursday, October 3, 2013

CB550 LED upgrade

Having recently taken the CB550 out after dark a couple of times, I realized the 1970s stock lighting was in need of a bit of an upgrade.

I replaced every single incandescent bulb on the bike (with 2 exceptions, noted below) with LEDs from superbrightleds.com.

Here's what I ordered.

Idiot and gauge lights:
  • Oil - (1) LED BA9S-R-120-12V: Red 120 Degree 12V
  • Neutral - (1) 1 LED BA9S-G-120-12V: Green 120 Degree 12V
  • High Beam - (1) 1 LED BA9S-B-120-12V: Blue 120 Degree 12V
  • Turn Signal - (2) 1 LED BA9S-A-120-12V: Amber 120 Degree 12V
  • Guage lights - (4) 4 LED BA9S-G4-90-12V: Green 90 Degree 12V
Marker and brake lights:
  • Brake - (1) Dual Intensity 45 SMD LED Tower 1157-R45-T: 1157 Red
  • Front turn - (2) Dual Intensity 2 Watt Adjustable Right Angle 1157-A2W-ARA: Amber
  • Rear turn - (2) Single Intensity 2 Watt Adjustable Right Angle 1156-A2W-ARA: Amber

I forgot to order a new neutral LED in the first order, so the neutral you see in the pictures below is still the old incandescent. Also, one of the 4-LED bulbs intended for the guages broke, so I need to order another one of those. The 4-LED bulbs definitely provide better illumination of the guages. I doubt the single LED version would provide sufficient light output for them.

The high beam indicator is much more noticeable now, but it could still be brighter. I'm going to try the 4-LED variant of the BA9s next and see how that works.

Instrument and idiot lights before.

New instrument lights on the left. Old on the right.


New idiot and instrument lights.

For the turn signals, I chose the new right-angle adjustable single-LED 1156 and 1157 models. These have a wide-angle lens LED mounted inside a large heatsink, followed by a small diffuser lens to even out the light. These worked well, though the small tabs that lock the light into various angles of rotation broke when trying to push and rotate the light into the socket. The blinker relay had already been replace with a solid state module by me during the restoration last year, so the system was already more or less LED ready.

Another thing worth mentioning is that I had to disconnect the turn signal buzzer in order for the turn signals to blink correctly. With it still connected, both the front and rear lights would only partially blink. I'll have to decipher the schematic later to find out why that's the case. 

Old on the left, new on the right.

Front marker and tail light.

The other noticeable improvement came about with the 45-LED tower 1157 bulb I chose for the tail light. This bulb is at least as bright as the stock 1157 when on low, power, but much brighter when you apply the brakes.

The only downside is the stock, clear 1157 is intended to provide light for the license plate through a clear portion of the tail light lens. With LEDs, you want to match the color of the lens when purchasing them, otherwise you will be wasting light output when passing through the lens.

So, without changing anything, the license plate is now lit with red light, which violates PA DOT license plate lighting requirements. I intend to fix that with a pair of white LED bolts and some foil tape over the clear portion of the tail light lens.

Tail light.

Brake light.

Rear turn signal.

All in all, it cost about $100 to replace all of the lights with LEDs. This should result in significant power savings and less strain on the charging system, which still needs some adjustment.

Next I will be replacing the stock sealed-beam 45W headlight with a Bosch H4 conversion reflector and a 55W/60W modern-day halogen bulb and some direct wiring from the battery to minimize losses. Between the LED upgrade, some wiring upgrades for the headlight, and a properly adjusted charging regulator, I should have much better lighting than stock and no problem keeping the battery charged, while still retaining that stock factory look.

Edit (Apr 29, 2016):

Here is a quick analysis of the current/power draw before and after, and some conclusions.

Unfortunately, I never quantified the current draw before and after by measuring.

But, we can estimate it thusly:

Before (worst-case, all lights on):
- 9x BA9s indicator lamp, 0.24A = 2.16A
- 3x 1157 dual filament (brake, rear running light, front marker, front turn), 3*(2.10A + 0.59A) = 8.07A
- 2x 1156 single filament (rear turn) = 2.1A = 4.2A

Total before with all lights on: 14.43A = 61W @12V

After (worst-case, all lights on):
- 1x 1 LED BA9S-R-120-12V (oil) 0.019A
- 1x 1 LED BA9S-G-120-12V (neutral) 0.018A
- 1x 1 LED BA9S-B-120-12V (high beam) 0.018A
- 2x 1 LED BA9S-A-120-12V (turn signal indicators) 0.021A = 0.042A
- 4x 4 LED BA9S-G4-90-12V (gauge illumination) 0.029A = 0.116A
- 1x Dual Intensity 45 SMD LED Tower 1157-R45-T (brake) 0.150A
- 2x Dual Intensity 2 Watt Adjustable Right Angle 1157-A2W-ARA (front turn/marker) 0.165A = 0.330A
- 2x Single Intensity 2 Watt Adjustable Right Angle 1156-A2W-ARA: (rear turn) 0.165A = 0.330A

Total after with all lights on: 0.858A = 10.296W @12V

Obviously there are no states in which all lights are illuminated, so the above figures are truly worst-case. It's obvious to me that the biggest savings are realized when replacing the front marker lights, tail light, and gauge lights, as they're always on. If we look at replacing just those, we go from 9.03A to 0.431A. The rest of the lights are worth replacing anyway, especially the idiot lights as the LED equivalents tend to be much brighter than their incandescent counterparts.

Thursday, July 26, 2012

Bike update - Fuel tank mounted on the bike

For the first time since early January the fuel tank for my CB550K restoration project has been reunited with the bike.

Before:

After:



I have to wait 96 hours before putting fuel in the tank, which means I can hook it up and start tuning and synch'ing the carbs on Sunday.







Tuesday, July 24, 2012

Bike update - Fuel tank is finally home

I got a phone call this morning in the middle of a meeting from the local auto body and collision repair shop where I had dropped off my tank months ago telling me that the tank was complete.

Long story short, problems with the decals, plus time waiting for two sets of decals to ship, and I finally have the fuel tank home. The shop pushed the dents out from the inside, filled, primed, painted, applied decals, then clear-coated over the entire thing. They even knocked a serious amount off the price to make up for all the time and hassle, and I couldn't be happier.

Here are the after photos. I think the color they matched is slightly more brown with a tiny bit less red than original, but I don't think anyone will ever be able to tell. The only other parts on the bike that were that color are the side panels.




As of the time of this writing, the tank is on the last 30 minute rotation of the POR-15 Metal Prep and Ready solution. After that, it gets washed out with water, dried, then finally the POR-15 fuel tank liner gets poured in. It gets to sit for 4 days before it can come in contact with fuel. That means I should be able to mount it and start up the bike with the fuel tank for the first time sometime Sunday.

For reference, here are before photos showing the bike the night I brought it home, then closeup pictures of the biggest dent in the left side of the tank. The shop also pushed out a much smaller, and less noticeable dent on the other side.