SirZusa 34 Posted October 6, 2011 Share Posted October 6, 2011 Idea and description: Inspired by this project (Lightpack: http://code.google.com/p/light-pack/) i started to develop my own solution based on an launchpad equipped with a MSP430G2211, later i had to move on to a MSP430G2553 cause i was runnning out of RAM. Now it makes use of the hardware-UART and can theoretically handle up to 375 frames per second. How to take control over the dacoffey, gwdeveloper, greeeg and 1 other 4 Quote Link to post Share on other sites
bluehash 1,581 Posted October 6, 2011 Share Posted October 6, 2011 Hello Zusa, Is there a video you could provide of it working? Thanks for sharing your code! Quote Link to post Share on other sites
SirZusa 34 Posted October 7, 2011 Author Share Posted October 7, 2011 my RGB-LEDs haven't arrived till now - so i only have a demo with my bar-LEDs on a breadboard ... i will edit it into the first message as soon as they arrive and i soldered some for a first demo --- i ported the code to hardware UART and i am now using the DCO-Calibration-Values on a msp430g2553 - this shrinked the codes size by 50% and the compiled result by more than 70% !!! never wanna miss hardware UART again! its faster, more reliable, and much easier to use :thumbup: Quote Link to post Share on other sites
SirZusa 34 Posted October 7, 2011 Author Share Posted October 7, 2011 Yeah! My RGB-LED's have arrived today (CREE-CLV6A) i have altered the Code a bit more as i already said: - deleted setFrequency - use calibrated DCO instead - using Hardware-UART - connectionspeed: 128.000 baud (using an old Nokia CA-42 cable) - new Brightness-Table - now i get up to 64 frames per second - wow - more than we need ... but i can do more - actually i send byte by byte ... i will try to send more than one byte a time - lets say for changing the colors an Array of 1 + 32 + 1 bytes / string with a length of 34 characters - 2 TLC's connected to the MSP430G2553 (on Launchpad) as usual - 100 nF between each GND and Vcc of the TLC - i will create the schematics later - some more details on controlling the bluehash 1 Quote Link to post Share on other sites
bluehash 1,581 Posted October 7, 2011 Share Posted October 7, 2011 Interesting post with good progress. How many LEDs are you planning to use. Could you demonstrate it with a video? Thanks! Quote Link to post Share on other sites
SirZusa 34 Posted October 7, 2011 Author Share Posted October 7, 2011 Hey, i plan to write my software for 2 TLC's ... 32 LED's ... 10x RGB + 2 white LED's (or maybe ultraviolet???) actually i drive exactly this configuration with up to 400 fps !!! (enough for my next project ) :roll: but without scanning the pixels of the desktop ... this takes from 20 up to 100 ms on a modern computer ... depending on the resolution ... cpu ... and also OS ... win 7 with aero-effects is a real performance-badass so ... lets say you want at minimum 50 fps ... so it should be possible to use up to 16 TLC's ... 256 PWM-outputs at a refresh-rate of 50 fps ... WOW ... without the part off scanning the desktop ... but maybe for programming an effect-matrix or whatever i think this is the absolute maximum now ... so i will go on to the next part - scanning the desktops pixels and set the right color for each LED here's a video of the latest version (sorry for bad quality - i dont have a HD-cam :!!!: ): bluehash 1 Quote Link to post Share on other sites
bluehash 1,581 Posted October 8, 2011 Share Posted October 8, 2011 Thanks! You seem to be very excited, judging by the number of dots in your post. Quote Link to post Share on other sites
SirZusa 34 Posted October 8, 2011 Author Share Posted October 8, 2011 hmmm ... not really excited ... i am just a bit lazy on writing long texts ... so i shorten them with many dots :roll: and there we go ... a new version - i have edited the first post, added a little description and more Quote Link to post Share on other sites
SirZusa 34 Posted October 8, 2011 Author Share Posted October 8, 2011 i just tested the capturing rates on my win 7: without AERO: 200+ fps with AERO: ~20 fps grabbing only an area of 50x50 pixels: ~ 30 fps Capturing 3D: ~ 14 fps this AERO really sucks :twisted: Quote Link to post Share on other sites
SirZusa 34 Posted October 9, 2011 Author Share Posted October 9, 2011 i soldered the LEDs today - will melt them into some plastics tomorrow here are some pics and a short demonstration running at 50 fps at the host + transition speed 8 on the "client" (first try - the others look much better and are ready for melting into plastics, at the end i will use double-faced adhesive tape to fix them to the back of my monitor) (first 2 LEDs wired to the bread-board) (needed to turn back the brightness to absolute minimum - otherwise the camera could not capture it correct =/ ) Quote Link to post Share on other sites
SirZusa 34 Posted October 13, 2011 Author Share Posted October 13, 2011 today i created a first version of the schematics and the pcb - i tried to avoid any vias and just used 10 mil for the width of all traces - this should be enough up to 1A ... maybe someone of you has some tips how to improve it a bit more? Quote Link to post Share on other sites
greeeg 460 Posted October 13, 2011 Share Posted October 13, 2011 I would suggest making the traces thicker than 10 mil and only going to 10 mil when you need to (like when your trace goes between the pins of the TLC5940). I say this because from experience etching is alot easier and more reliable when you have less copper to remove (and ground planes get annoying if you have no solder mask.) Quote Link to post Share on other sites
SirZusa 34 Posted October 22, 2011 Author Share Posted October 22, 2011 Hi there - long time since my last post but now i am back with a new layout. This time i decided to some vias - but as less as possible. I replaced the DC jack with 2 solder pads and increased the width of all traces to 20 mil. I also shrinked the overall size of the pcb. Maybe you can point out some more improvements i can make to the pcb - and i will try to realize them Quote Link to post Share on other sites
bluehash 1,581 Posted October 24, 2011 Share Posted October 24, 2011 It looks good. Did you send this out for fab? Also, you should come up with a name for it. I was in the middle of a blog post when I realized it. Call it something. Quote Link to post Share on other sites
RobG 1,892 Posted October 24, 2011 Share Posted October 24, 2011 Looks like two traces near the resistor are closer than 6mil, did you run Rule Check? Or is it just an image? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.