Teensy 3.1 support

74 views
Skip to first unread message

mathewhi...@gmail.com

unread,
Mar 6, 2014, 8:53:43 AM3/6/14
to tlc5940...@googlegroups.com
Hi there,
Is anyone aware of whether or not the teensy 3.1 will work with this library or what needs to be modified?
Regards,
-Mat

mathewhi...@gmail.com

unread,
Mar 12, 2014, 12:02:37 AM3/12/14
to tlc5940...@googlegroups.com, mathewhi...@gmail.com

Is anyone out there? Really could use some support with this.
Regards,
-Mat

colin.ha...@gmail.com

unread,
Apr 2, 2014, 6:11:12 PM4/2/14
to tlc5940...@googlegroups.com, mathewhi...@gmail.com
I doubt it would work out of the box or with simple pinout changes. I wrote(with Heath Paddock) a TLC5940 library for the ChipKit (pic32) https://github.com/ColinHarrington/tlc5940chipkit

I'm not familiar with the level of Arduino compatibility that the Teensy 3.1 has, but I'd guess that most of the changes would have to do with getting timers and an interrupt right. Getting the pins right has to do with aligning them with timers. Do you have an idea of what pins on the Teensy 3.1 have Timers associated with them?

~ Colin Harrington

PaulStoffregen

unread,
Jun 7, 2014, 10:47:34 AM6/7/14
to tlc5940...@googlegroups.com, mathewhi...@gmail.com
I am beginning work to port Tlc5940 to Teensy 3.1.

Is there an actively maintained repository for this library?  The only one I've found is the google code page.

http://code.google.com/p/tlc5940arduino/

The last update was May 2011.  Google code is no longer allowing new download files.  Has this project moved to another site?  Or is May 2011 really the last published source code?

PaulStoffregen

unread,
Jun 8, 2014, 8:04:43 PM6/8/14
to tlc5940...@googlegroups.com, mathewhi...@gmail.com
I ported Tlc5940 this weekend.  Here's the source code:

https://github.com/PaulStoffregen/Tlc5940

I've updated the web page with pin connection info for Teensy 3.x.

http://www.pjrc.com/teensy/td_libs_Tlc5940.html

If you're still watching this old thread and still interested in using a TLC5940 chip with Teensy 3.0 or 3.1, I hope you'll give it a try.  I tested here with 1 TLC5940 chip and 16 LEDs.  It seems to be working well, but I didn't have time to exhaustively test the many special features of this library. 

The special (slow) servo mode doesn't work on Teensy 3.1 or 3.0 or even Teensy 2.0 (it's never worked).  To control a very large number of servo motors, I'd recommend the PulsePosition library, or Adafruit's servo control board.
Reply all
Reply to author
Forward
0 new messages