An I/O controller for virtual pinball machines: accelerometer nudge sensing, analog plunger input, button input encoding, LedWiz compatible output controls, and more.

Dependencies:   mbed FastIO FastPWM USBDevice

Fork of Pinscape_Controller by Mike R

Issue: Implement PWM for 74HC595 outputs

Problem: Prices for LED driver IC's are rising and availability is plummeting due to global shortage. Prices for TLC5940 LED driver IC's has more than tripled between end 2020 to mid 2021. TLC59116 has several months back-order from official channels.

Proposed solution. 74HC595's and common transistors/darlingtons/mosfets are cheap and available even during global shortage. Implementing PWM for shift registers would provide flexibility and lower cost of entry for the virtual pinball community to being able to manage without dedicated LED driver IC's. There are already implementations available that probably could be adapted to the KL25Z and the Pinscape firmware.

Some examples:


20 Jul 2021

I've made some test board with TLC59116 but it doesn't work. That chip seems nice, and 8 output is cool :)

20 Jul 2021

@Arnaud Regarding TLC59116, I use 3 of those on my board in my pincab together with Pinscape firmware and it works perfectly.

11 Sep 2021

Could you share your circuit ?