MCP23S17 spi port expander with RGB rotary encoder

This is a PoC from using SPI based port expander to drive rotary encoders

This is short proof of concept showing the use of the SPI based GPIO port expander MCP23S17 to connect two RGB rotary encoders with pushbutton. This chip allows for eight individually addressed MCP23S17 chips to be connected on the same SPI. This allows for a simplified approach to wiring the rotary encoders and their pushbuttons and RGB leds, and also frees up pins on the Teensy. The process uses interrupts. The MCP chip has two […]

Read More →

Array Storing multiple OneWire addresses with Teensy (Arduino)

Three DS2413 1-Wire breakout boards with ID captured into Arduino array

I am looking at using the OneWire (1-Wire) protocol to build a string of switches for Teensy (Arduino). The OneWire protocol is a communication Bus System that sends and receives data over a single wire. It is meant for low data rates, and so using it for addressable switches, when all I need is to know off or on, seems perfect. I looked at the DS2413 chip as it has two IO pins that can […]

Read More →

Teensy 3 OctoWS2811 code for Glediator led matrix software

Here is a simple working example sketch for using Glediator with OctoWS2811 library, and some guidance on setting up. To get Glediator running, you need to install two files that allow java applications to communicate via the computers ports. The two files you need are: librxtxSerial.jnilib and RXTXcomm.jar you can download these files from the RXTX site, and also find further help on installing, although I did not find the help so helpful. The […]

Read More →

Pixel Poi image converter utility for 24 bit leds

Teensy pixel poi image converter

If you are using home made Led pixel Poi, you need to convert your images to pixel array to upload to your micro controller. Here is simple utility that converts your image to an array for APA102 leds or any other 24 bit leds. This outputs an array that you can copy and paste into your micro controller file. The output is set up for Arduino or Teensy output. You can convert your images here: […]

Read More →

Teensy3 APA102 Pixel Poi POV Baton

This is the APA102 Pixel poi / graphic poi with Teensy 3

I have updated the Pixel Poi to use some cheap and easily usable led strips. These APA102 strips are better than using individual leds soldered together, and are the first strips that update fast enough to make pixel poi with uploaded images. Go here for > APA102 pixel poi writeup

Read More →

Teensy 3 Midi Din to CV out

The basis midi din to cv setup. Midi to CV converter via Teensy 3, then to cv breakout box

I don’t usually mix my micro controller obsessions with my music making, but a friend gave me Korg Monotron analogue synth as a present, and I really love the filter it has. However, I want to be able to combine the lovely synth sounds it can produce with a keyboard and arpeggiator. So, how about hooking it up to receive Midi signals through a DIN connector. Here the sound after the hard work: And here […]

Read More →

Raspberry pi Camera Polaroid instamatic thermal printer

raspberry pi instant photo printer

So, going very lo-fi as a fun thing to have at the wedding of some lovely friends of ours. This is a raspberry pi with a 5MP camera,taking and storing the image after a button is pressed, then converting to greyscale png format and printing it on a simple cheap thermal printer (till receipt machine to you and me).See more here

Read More →