The Single USB RGB LED

An animated GIF of the single USB RGB LED cycling through red, green, and blue.

An animated GIF of the single USB RGB LED cycling through red, green, and blue.

This project is a single RGB LED that is controlled over USB using a command line interface from a serial terminal window. A PIC16F1459 microcontroller implements the USB communications device class (CDC), processes the commands received from the user, and controls a single APA106-F8 8mm round RGB LED.

The USB CDC causes the PIC to appear as a serial port to the host computer. At this point, any terminal emulator software can be opened to access the CLI, and send commands to control the color and brightness of the LED. The APA106 addressable LED protocol is identical to the Neopixel / WS2812b protocol.

Continue reading

Posted in Uncategorized, USB | Comments Off on The Single USB RGB LED

Mopidy Music Server Remote Control

    The finished wireless remote control for my Mopidy music server. Playback control and volume Icons by Icons by Darrin Loeliger (@MrNumma) and the Noun Project.

The finished wireless remote control for my Mopidy music server. Playback control and volume Icons by Icons by Darrin Loeliger (@MrNumma) and the Noun Project.

After wiring the house for a Dante digital audio network and building the Spotify and Pandora Wireless Remote Track / Artist / Album Display project, I decided the next thing needed to fix up my music listening experience was a quick way to change tracks, control playback, and adjust the volume without messing with a phone or web browser. The Wi-Fi connected Mopidy music server remote control was born!

Continue reading

Posted in Uncategorized | Comments Off on Mopidy Music Server Remote Control

Spotify and Pandora Wireless Remote Track / Artist / Album Display

    The completed music server remote track/artist/album display.

The completed music server remote track/artist/album display.

I use Pandora and Spotify a lot–typically from 7 in the morning until 11 at night. I got frustrated with the Spotify and Pandora apps on my Pixel 2 and their inability to find and control my Chromecast Audio players reliably. I also wanted a quick way to identify new songs or artists I heard without having to find my phone and open an app.

To solve these problems, I moved my music playing ecosystem to Linux and installed a wired Dante digital audio network for audio distribution. Finally I built a retro 14-segment, scrolling, always-on LED display that I could quickly glance at to discover what song was playing without having to find my phone and open an app.

Continue reading

Posted in Uncategorized | Comments Off on Spotify and Pandora Wireless Remote Track / Artist / Album Display

An Isolated RS-422 / RS-485 Shield for the Automation Direct P1AM-100 Open-Source PLC

The completed RS-422 / RS-485 shield for the Automation Direct P1AM-100 open source PLC.

The completed RS-422 / RS-485 shield for the Automation Direct P1AM-100 open source PLC.

The RS-422 / RS-485 shield is an open source shield designed to add RS-422 and RS-485 communication capabilities to the ProductivityOpen family of open-source programmable logic controllers (PLC’s) from Automation Direct. It’s loosely based on the Arduino MKR RS-485 shield but updated to use an ADM2582E 3.3 V isolated RS-485 transceiver from Analog Devices. The completed shield fits inside the P1AM-PROTO prototyping enclosure.

Continue reading

Posted in Uncategorized | Comments Off on An Isolated RS-422 / RS-485 Shield for the Automation Direct P1AM-100 Open-Source PLC

Building an Add-On Module for the Automation Direct P1AM-100 Open-Source PLC

    Inside my first add-on module for the P1AM-100 open source PLC. Two optically-isolated inputs, two relay outputs, a display, and half-duplex RS-485. The enclosure and headers are included in the P1AM-PROTO prototyping module.

Inside my first add-on module for the P1AM-100 open source PLC. Two optically-isolated inputs, two relay outputs, a display, a half-duplex RS-485 transceiver, and a serial EEROM with a MAC address for the Ethernet module. The enclosure and headers are included in the P1AM-PROTO prototyping module. Not shown is the lid of the enclosure.

In January 2020, Automation Direct launched their ProductivityOpen family of open-source programmable logic controllers (PLC’s). The first controller in the series, the P1AM-100, is based on the Microchip ATSAMD21 microcontroller and programmed using the Arduino development environment. To encourage development, they launched a prototyping module alongside the controller. The prototyping module consists of a piece of perfboard, the required connectors, and a housing.

I was already familiar with Automation Direct and their PLC and pneumatic products after building my crate beast and zombie containment unit Halloween props a few years ago. I was intrigued by this new controller from a familiar company, the CPU selection, and the possibility of building my own modules that could tie in to the controller for future projects. I set out to build a couple of add-on modules but first needed to take a closer look at the controller and its available add-ons.

Continue reading

Posted in Uncategorized | Comments Off on Building an Add-On Module for the Automation Direct P1AM-100 Open-Source PLC

Fort Collins Connexion FTTH Construction – Part Four

Inside this small splice enclosure, a 24 fiber, gel-filled cable is terminated.

A 24-count, gel-filled fiber cable is terminated inside this small splice enclosure. The splice enclosure is then placed inside the underground vault to await connections to drop fibers to people’s homes.

Welcome to part four of  my blog post on the construction and installation of the Fort Collins Connexion municipal broadband fiber network. In part three, we looked at the installation of service at my friend Collin’s house. In part four, we’re returning to my neighborhood and documenting the final construction steps before service goes live on my street.

Continue reading

Posted in Uncategorized | Comments Off on Fort Collins Connexion FTTH Construction – Part Four

Build a DMX FeatherWing to Control Lights with a Feather M0

Playing around with the DMX FeatherWing, a Particle Ethernew FeatherWing, an Adafruit Feather M0 Basic Proto, the official Nanoleaf DMX interface, and a Nanoleaf Aurora tile.

Playing around with the DMX FeatherWing, a Particle Ethernet FeatherWing, an Adafruit Feather M0 Basic Proto, the official Nanoleaf DMX interface, and a Nanoleaf Aurora tile. The GUI on the iPad tells the Feather M0 which light program to run. The program output is sent via DMX-512 to the Nanoleaf setup.

This project uses an Adafruit Feather M0 Basic Proto board to control a group of Color Kinetics or other RGB light fixtures using the DMX-512 protocol. We’ll build a DMX-512 interface FeatherWing then connect it to the Feather M0 using a Particle Ethernet FeatherWing. Once the hardware is built and assembled, we’ll write software with a web-based GUI to generate RGB lighting effects and control the attached RGB lights using the DMX protocol. By modifying the software on the Feather M0, different effects can be generated and added to the web-based GUI.

Continue reading

Posted in DMX / Art-Net, Ethernet, Lighting, Microchip, Power over Ethernet (PoE), SAMD21 | Comments Off on Build a DMX FeatherWing to Control Lights with a Feather M0

PoE-Powered RGB LED Floodlight

Philip Color Kinetics ColorBurst 4 10 watt RGB LED flood light controlled and powered over the network.

Philip Color Kinetics ColorBurst 4 10 watt RGB LED flood light controlled and powered over the network.

Time for another PoE project! This project uses a Silvertel 802.3at Ag5300 PoE+ module with a built-in isolated 24 V DC/DC converter to power  a 10 W ColorKinetics ColorBurst 4 RGB LED floodlight. The Ethernet cable and light plug into a small power / control board and PoE+ powers the floodlight and Art-Net UDP packets control the light. If this were a real product, the power / control board would be integrated into the fixture and the Ethernet cable would then plug directly into the back of the light.

Continue reading

Posted in DMX / Art-Net, Ethernet, Lighting, Microchip, PIC18, Power over Ethernet (PoE), RGB LED | Comments Off on PoE-Powered RGB LED Floodlight

Fort Collins Connexion FTTH Construction – Part Three

After four years of hard work, hundreds of hours of volunteer time, and taking on and winning against one of the largest and most powerful corporations in the world, Colin got his Fort Collins Connexion gigabit fiber service installed today! Congratulations, Colin!

After four years of hard work, hundreds of hours of volunteer time, and taking on and winning against one of the largest and most powerful corporations in the world, Colin got his Fort Collins Connexion gigabit fiber service installed today! Congratulations, Colin!

Note: if you missed my first two posts on the Connexion construction process, here are links to part one and part two. Things have been pretty quiet in my neighborhood this past month and a half. The only activity since fiber was pulled in late December has been a few technicians digging around in vaults. In northeast Fort Collins neighborhoods, however, service is going live. Let’s take a closer look at having service installed.

Continue reading

Posted in Uncategorized | Comments Off on Fort Collins Connexion FTTH Construction – Part Three

PoE-Powered VFD Tube Clock

The completed and assembled PoE-powered vintage VFD tube clock.

The completed and assembled PoE-powered vintage VFD tube clock.

This is a vintage VFD tube clock that uses Ethernet for both power and data. The power is provided using 802.3at PoE+ and a Molex PD Jack that contains both integrated magnetics and a PoE Type 2 PD controller. The IP stack runs on a Microchip PIC18F67J60 microcontroller that has an integrated Ethernet MAC and PHY. The IP stack includes DHCP, DNS, NTP, and LLDP functionality.

Continue reading

Posted in Ethernet, Microchip, PIC18, Power over Ethernet (PoE) | Comments Off on PoE-Powered VFD Tube Clock