Building Battery-Powered Zigbee Buttons with the nRF52840

rinse

Rinsing the bike off after a muddy night ride can be needed. Being able to see what you’re doing without getting your phone out or going inside the house is great.

Ever want to control some outdoor lighting without using your phone or going back in the house? Read on to see how I installed a set of landscape lights then built a set of outdoor, waterproof Zigbee buttons to control them using an nRF52840 module, Zigbee2MQTT, Python, and TinyTuya.

Continue reading

Posted in Uncategorized | Comments Off on Building Battery-Powered Zigbee Buttons with the nRF52840

Controlling XMCOSY+ String Lights with WLED and TinyTuya

Two XMCOSY+ RGBW light strings hanging in my backyard over my snow-covered lawn.

Two XMCOSY+ RGBW light strings hanging in my backyard over my snow-covered lawn.

Two years ago, I hung a set of generic G50 RGB globe lights in the backyard. They weren’t exactly waterproof and the individual lights became water logged and started acting erratically. This year, I replaced them with two sets of XMCOSY+ RGBW Patio String Lights. The new XMCOSY lights look great and I like that there’s real white LEDs in them so they can provide both decoration and functional illumination for my backyard. Read on to find out more about the installation, the lights, controlling them with WLED, and, new to me, controlling them locally with TinyTuya.

Continue reading

Posted in Uncategorized | Comments Off on Controlling XMCOSY+ String Lights with WLED and TinyTuya

Controlling 5 out of 6 Ustellar GemBand Smart Flood Lights with WLED

ustellar - box and light

The Ustellar 100 W light set box and one of the lights.

In my my last post, I looked at four different sets of inexpensive LED flood lights to see which could be controlled using WLED. While they all could be controlled with WLED to some extent, only some could take advantage of WLED’s extensive library of built-in effects. In this post, I’m going to take a detailed look at the 100W version of Ustellar’s GemBand set of six RGBW smart flood lights. It’s a little different than the previous sets but can still be controlled with WLED with one pretty big caveat.

Continue reading

Posted in Uncategorized | Comments Off on Controlling 5 out of 6 Ustellar GemBand Smart Flood Lights with WLED

Controlling Inexpensive LED Lights with WLED

The Contenders

A Few of the Contenders

I’m always looking for new LED lights for Halloween, Christmas, and just general tinkering. My preference is for lights that can be modified to be controlled locally by WLED. Controlling the lights locally lets me integrate the lights into larger displays and coordinate the colors of all the connected lights using software like xLights. I recently purchased a few sets of random LED lights from 3rd party sellers on Amazon. Read on to find out which ones can be rewired to work with WLED and, by extension, xLights.

Continue reading

Posted in Uncategorized | Comments Off on Controlling Inexpensive LED Lights with WLED

Cracking Open and Controlling a 747 Fuel Gauge

A video of my hardware and software controlling the pointer and counter on a 747 fuel quantity indicator.

In this post, I disassemble a 747 fuel quantity indicator and reverse engineer the electromechanical parts of the indicator. I then apply hardware and software techniques used on previous projects to build a PID controller for a control loop consisting of the AC servo motor and feedback potentiometer in the indicator. This control loop is used to position the dial and counter on the face of the instrument to values entered into a serial terminal.

Continue reading

Posted in Uncategorized | Comments Off on Cracking Open and Controlling a 747 Fuel Gauge

Relive Your Best Mountain Bike Descents on a Vintage Aircraft Altitude Indicator

A video demonstrating the play back of a descent from a recent mountain bike ride on the vintage aircraft altitude indicator..

In this project, I use a Python script and an updated version of my digital-to-synchro project to replay my mountain bike climbs and descents at 60x real time speed on a vintage aircraft altitude indicator. The updated D2S converter fits on a single board and uses three Microchip MCP4802 DACs and three TI OPA548 power operational amplifiers to produce high-power 400 Hz AC waveforms to power and control the servo loop in the altitude indicator.

Continue reading

Posted in Uncategorized | Comments Off on Relive Your Best Mountain Bike Descents on a Vintage Aircraft Altitude Indicator

The Kollsman Electric Tachometer Indicator

A video showing the Kollsman electric tachometer indicator ramping from 0% to 100% then 105%, 120%, back down to 100% then to 50%, 25%, and 5% then finally back down to 0%. At 100%, the three-phase, four-pole AC synchronous motor inside the indicator is spinning at 2100 RPM.

In this post, I take a look at a vintage Kollsman aircraft electric tachometer indicator. I start by disassembling the tachometer to determine how it works then build up a variable-frequency power supply to power and test the indicator. Once the power supply and indicator are working, I measure the speed of the motor inside the indicator to determine the number of poles on the motor. Finally, I repurpose this indicator as a unique CPU performance meter.

Continue reading

Posted in Uncategorized | Comments Off on The Kollsman Electric Tachometer Indicator

Positioning a Synchro Receiver’s Shaft from a Terminal Window

That's a lot of hardware to rotate the synchro receiver.

That’s a lot of hardware to rotate the synchro receiver on the right!

In the last project, I built a synchro-to-digital converter to display a synchro’s shaft angle on a small OLED display. In this project, I reverse the process and build a digital-to-synchro converter that sets a synchro’s shaft to the angle entered into a terminal window.

Continue reading

Posted in Uncategorized | Comments Off on Positioning a Synchro Receiver’s Shaft from a Terminal Window

Resolving a Synchro Shaft Angle Using Modern Hardware

abc

Can this hardware determine the angle of the fine altitude’s synchro resolver accurately? Read on to find out!

This project uses modern data acquisition hardware to track the shaft angle of a synchro transmitter as the shaft is turned through various angles. How difficult could it be to get the absolute angle of a position sensor from the 1980’s that was originally developed during the WWII era into a modern computer? Turns out, it’s more difficult than it seems, and for most hobbyist applications, more difficult than it’s worth. Read on to find out more.

Continue reading

Posted in Uncategorized | Comments Off on Resolving a Synchro Shaft Angle Using Modern Hardware

Converting a WW2-era Landing Gear and Flaps Indicator into a USB Peripheral

The landing gear and flaps indicator, control board stack, and C# .NET Windows Forms app running on the Surface in the background. Everything set for smooth and level flight!

The landing gear and flaps indicator, control board stack, and C# .NET Windows Forms app running on the Surface in the background. Everything set for smooth and level flight!

In this project, I convert a WW2-era landing gear and flaps indicator into a USB peripheral using a Raspberry Pi Pico development board and eight channels of programmable current sources. This project is similar to my WW2-era engine cowl flaps indicator project but the gear and flaps indicator requires a different control strategy.

This post starts with a look at the gear and flaps indicator, its theory of operation including its differences from the engine cowl flaps indicator, and some ideas to control it with modern electronics. The post then covers the design of the boards, the software for the Pico dev board, and a Visual Studio C# .NET Windows Forms app for controlling the indicators from a PC.

Continue reading

Posted in Uncategorized | Comments Off on Converting a WW2-era Landing Gear and Flaps Indicator into a USB Peripheral