Counter Strike Global Offensive with Wii Nunchucks

Dave retrofitted a couple of Wii Nunchuks into custom controllers for Counter-Strike: Global Offensive (CS:GO).

Dave was already working on a project using two Wii Nunchuks for a custom controller when he came across a Reddit post about using a Wii Nunchuck to aim when playing CS:GO.  He had a breadboard on his desk with a Teensy-LC, some Nintendo Extension CTRL (NXC) breakout boards he developed, and some Wii Nunchuks wired up.  After a bit of programming he was up and running playing CS:GO with his new controllers.

Additional details and code for the project can be found Dave’s Parts Not Included site.

MIDI2DMX

Jesse M put together a MIDI to DMX controller to provide an simple way to control a variety of lights with any software or hardware that can transmit MIDI.

This low cost, easy to build MIDI2DMX board makes it easy to sequence lights for live music performances.  Jesse developed the board after discovering it was difficult to find good, well supported, inexpensive DMX controllers.  The Teensy is programmed to be a USB MIDI device so it will show up in any MIDI capable software.

Jesse put together a great Instructables page on how to build your own.

Code for the project is available on GitHub.

The Eagle PCB files are available in the GitHub repository and as a shared project at OSHPark.

Spacecraft Camera Simulator

Ishkabbible (forum user) is part of a team of scientists is building a camera simulator that’s being used to validate commands that will be sent to the cameras on the OSIRIS-REx spacecraft.

The OSIRIS-REx spacecraft is traveling to Bennu, and asteroid that has a relatively high probability of hitting impacting the Earth in the 22nd century.  The mission seeks to sample and study different aspects of the asteroid.  The team is working on the OSIRIS-REx Camera Suite (OSCAMS), one of the five sets of instruments that will be used to explore Bennu.  A Teensy 3.2 replaced an underpowered PIC processor in the camera simulator and is simulating the mechanical portion of the cameras.

More information on the mission can be found here.

Server Crash Cart

Frank Adams used a Teensy to turn an old laptop into a server crash cart.

A popular tool in many server farms, a KVM (Keyboard, Video display, Mouse) or “crash cart” is a diagnostic tool you can wheel up and plug into a crashed rack mount server to figure out what went wrong.   Frank converted an old, broken laptop into a KVM by replacing the motherboard with a Teensy and a video converter card.

Frank wrote up a great instructable detailing how to build your own.

Code for the project is available on GitHub.

For additional write ups on this project, check out HackADay and Hackster.io

Electron Microscope Image Capture

Ben Krasnow of Applied Science reverse engineered an electron microscope to add image capture using a Teensy-LC.

The image capture system allows Ben to connect a computer to the electron microscope and capture images directly.

He started with analog video signal that the SEM (scanning electron microscope) is outputting and digitized it using a Teensy-LC to send the digital values over USB to the computer.  On the computer a Processing.org script displays the image in real time and optionally saves the frames.

The microscope doesn’t have a port to capture an analog video signal, so by probing around on the circuit board along with the schematic, Ben was able to find a signal that would work.

He used opamps to translate the -12V to 12V signal to a zero to 3.3V signal, and also extract the video sync pulse.  After searching around around he found that using the programmable delay block (PDB) is recommended for projects like this.  This seemed like the way to go until it was discovered that he had a Teensy-LC on the shelf which doesn’t have a PDB.  When he started coding he had a challenge on his hands to made the signal processing code work without the PDB.  He ended up using interrupts, which proved to be challenging.  Interrupts can’t be trusted for accurate timing because there could be an undetermined delay when the interrupt fires leading to variable timing.  Playing with interrupt priorities and writing the code as efficiently as he could he was able to get consistent timing for 142 kHz sampling.

It’s well worth the time to watch the full YouTube video.  Ben does a great job explaining how he accomplished this project.  Ben has a link to his source code in the video’s description.

E-Skateboard Lighting

Ben Schwartz combined his passion for building electric skateboards with some NeoPixels to make an illuminated ride.

While Ben had experience building electric skateboards, he didn’t have a lot of experience with coding for NeoPixels.  He started off using an Aurduino Uno and modified the NeoPixel tutorial by Alex Glow.  He moved to the Teensy 3.2 because the compact size made it easier to fit into his project. A 24V to 5V buck converter was used to power the Teensy and NeoPixels from the skateboard battery.

To finish up the project Ben made a 3D-printed enclosure to waterproof the electronics.

Code, schematics, and the 3-D printing plans can all be found on the Hackster.io project page.

Bicycle Helmet Turn Signals

Simon Restrepo upgraded his bicycle helmet with a nifty safety improvement, LED turn signals.

After a close call with a bus while riding his bike one night, Simon wanted to improve his visability while riding his bike.  He had a Teensy 3.2 handy and decided to add LED turn signals to his bike helmet.

The turn signals are pretty easy to put together.  The Teensy fits into a tictac box to protect it and the project is powered up by a small power bank.  The turn signals are activated by a couple of push buttons – one for left and the other for right.

This instrucables page details how to make your own.

Code for the project is published on GitHub.