Shop OBEX P1 Docs P2 Docs Learn Events
Wife wants me to make this - Page 5 — Parallax Forums

Wife wants me to make this

1235»

Comments

  • tonyp12tonyp12 Posts: 1,951
    edited 2014-01-20 08:33
    As you are going to use a Prop1, you can go with hardware multiplexing (1/8) and basic LED drivers and some high side mosfets/switches.
    PASM will have no problem updating everything 200/second and I and some other pasm gurus on here will help you write that driver.
  • TCTC Posts: 1,019
    edited 2014-01-20 09:45
    tonyp12 wrote: »
    As you are going to use a Prop1, you can go with hardware multiplexing (1/8) and basic LED drivers and some high side mosfets/switches.
    PASM will have no problem updating everything 200/second and I and some other pasm gurus on here will help you write that driver.

    I was hoping the PASM gurus would be able to help me out. What I was planing on doing is, making an object from spin (I know it will not be fast), then ask for help to convert it over. That way I can say I came up with the design, and I just needed help changing it.
  • tonyp12tonyp12 Posts: 1,951
    edited 2014-01-21 10:45
    I would avoid Serial Shift register and also SPI/I2C LED drivers and put the Prop1 to work.

    Start with a non-inverting 3 to 8 selector, saves pin and protects you from a hardware standpoint from ever powering more than 1 banks of LEDs
    http://www.mouser.com/Semiconductors/Logic-ICs/Encoders-Decoders-Multiplexers-Demultiplexers/_/N-4s67oZscv7?Keyword=hc238&Ns=Pricing%7c0&FS=True

    One highside ICs, each pin can power a bank of 126 LEDs at 4mA each
    http://www.mouser.com/Semiconductors/Driver-ICs/LED-Lighting-Drivers/_/N-7zhqfZscv7?Keyword=TLC59213&FS=True&Ns=Pricing|0

    And for the lowside, 16 of these ICs (or similar, only need to handle 5mA on each pin) opendrain n-mosfet
    http://www.mouser.com/Search/Refine.aspx?Keyword=TLC59210
    http://www.mouser.com/ProductDetail/ON-Semiconductor/NLSF595DTR2G/?qs=sGAEpiMZZMsE420DPIasPkn%252bci%252bFBN7UjI7XupmWmDo%3d

    8 banks of 42*3 (RGB) = 336 full color pixels. (double up on the ICs if you want 672 pixels)

    Software will cycle through each bank 200/second/
    So each bank have 5ms allotted, it will turn on all LED that is not 0 and have 16steps (each 0.3mS) where it turn one or few LEDs off at each step (e.g new lowside data+latch)
    Each step-wait should have a lookup-table instead of a fixed 0.3mS so contrast can be corrected

    Could also reverse, 16 high-side ICs and 1 low-side and maybe would be easier as a lowside n-mosfet bank IC that handle 500mA is cheaper
  • TCTC Posts: 1,019
    edited 2014-01-21 11:01
    tonyp12 wrote: »
    I would avoid Serial Shift register and also SPI/I2C LED drivers and put the Prop1 to work.

    Start with a non-inverting 3 to 8 selector, saves pin and protects you from a hardware standpoint from ever powering more than 1 banks of LEDs
    http://www.mouser.com/Semiconductors/Logic-ICs/Encoders-Decoders-Multiplexers-Demultiplexers/_/N-4s67oZscv7?Keyword=hc238&Ns=Pricing%7c0&FS=True

    One highside ICs, each pin can power a bank of 126 LEDs at 4mA each
    http://www.mouser.com/Semiconductors/Driver-ICs/LED-Lighting-Drivers/_/N-7zhqfZscv7?Keyword=TLC59213&FS=True&Ns=Pricing|0

    And for the lowside, 16 of these ICs (or similar) opendrain n-mosfet
    http://www.mouser.com/Search/Refine.aspx?Keyword=TLC59210

    8 banks of 42*3 (RGB) = 336 full color pixels. (Add another TLC59213 if you want 672 pixels)

    Software will cycle through each bank 200/second/
    So each bank have 5ms allotted, it will turn on all LED that is not 0 and have 16steps (each 0.3mS) where it turn one or few LEDs off at each step (e.g new lowside data+latch)
    Each step-wait should have a lookup-table instead of a fixed 0.3mS so contrast can be corrected

    Those are not bad ideas, that is one way to skin a cat.

    But I have already decided on a plan. As you can see from the schematic I am going with Texas instruments TLC5940. It will allow for upgrades without changing hardware. I would have to shift out 1152-bits of data, latch the data, move to the next line, and do it again. During the row change, and shifting the data the Grey scale clock is clocking. and once it reaches 4095, the BLANK is activated. that will help with ghosting.

    I already have a lookupZ with the values that convert a 8-bit value to a 12-bit value. I just got done with the display buffer control for a 16x32 matrix.
    schematics_v2.jpg
    1024 x 448 - 51K
  • TCTC Posts: 1,019
    edited 2014-01-21 13:13
    OOPS!!! wrong schematic. That was my reference I found online.

    Here is the correct one. 16x16.pdf
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2014-01-21 14:29
    Looks fun! Should be possible to build a small bit of it on a breadboard - maybe with all the chips but just a few leds to test the concept?
    I was hoping the PASM gurus would be able to help me out. What I was planing on doing is, making an object from spin (I know it will not be fast), then ask for help to convert it over. That way I can say I came up with the design, and I just needed help changing it.

    That is the way to do it. Get it working in spin first. There are lots of gurus who can help turn that into pasm.
  • TCTC Posts: 1,019
    edited 2014-01-21 16:38
    Dr_Acula wrote: »
    Looks fun! Should be possible to build a small bit of it on a breadboard - maybe with all the chips but just a few leds to test the concept?
    That is the way to do it. Get it working in spin first. There are lots of gurus who can help turn that into pasm.

    That is the exact way I was going to start. I am going to do one row first to get the bugs out of the wiring. Then, I am going to build a 16x16 matrix on foam board as a proof of concept, and to get most of the bugs worked out of the program.
  • rosco_pcrosco_pc Posts: 464
    edited 2014-02-03 23:34
    I know you decided on a course of action already, but here you can find a complete description based on ws2812b leds: https://sites.google.com/site/klaasdc/led-table
  • mklrobomklrobo Posts: 420
    edited 2014-02-04 16:34
    We are impressed with the "video" of the LED table which is displayed on our LCD monitors, so far, so good. A ruse perhaps to offload a container load of RGB LEDs and diffusers perhaps. What happens when you build it with LEDs and your wife has a fit when you turn it on? The thing is so bright and flashing that it induces nausea and your wife complains that she can't stand it any longer and can't cook dinner and that you will have to do that and clean up etc etc. Even if it looks good is it possible to sit down and actually use it as a coffee table? Me thinks not.

    Far better the effect when using an LCD monitor which could also turn into an aquarium or maybe it could disguise itself as a coffee table even.

    I think this is an awesome idea! Cool action! If you get this built, it could be used for different purposes; called ID, voltmeter(generic), indicates house temperature, and
    voice mouth for robot AI, in your house. Good Luck!
  • TCTC Posts: 1,019
    edited 2014-02-04 16:38
    rosco_pc wrote: »
    I know you decided on a course of action already, but here you can find a complete description based on ws2812b leds: https://sites.google.com/site/klaasdc/led-table

    That is a really great write up, Thanks.
  • TCTC Posts: 1,019
    edited 2014-02-04 16:39
    mklrobo wrote: »
    I think this is an awesome idea! Cool action! If you get this built, it could be used for different purposes; called ID, voltmeter(generic), indicates house temperature, and
    voice mouth for robot AI, in your house. Good Luck!

    Thank you, I love the ideas that you guys have been coming up with.
  • Too_Many_ToolsToo_Many_Tools Posts: 765
    edited 2014-02-05 19:12
    TC wrote: »
    Hello all, I was surfing YouTube and came across a LED table. After a few more videos, I found this one. My wife looked up from her book and said "I want you to make that!" In our 15 years of marriage she has never been that adamant about a project she wants me to do.

    But, I have a problem. I have no idea where to start, what should I use (MPU, drivers, etc.), how to do the patterns, etc... Building the table is no problem (wood, plastic, metal, etc), and making very simple LED patterns I can do, but I don't think simple patterns will work for this.

    Any insight would be great.

    Thanks
    TC

    No matter how it turns out, because she asked is reason enough to do it..and give it a high priority to get it done.

    Some efforts in life are "its the journey, not the desitination that matters"...this is one of them.

    Good luck!
  • TCTC Posts: 1,019
    edited 2014-02-06 03:47
    Thank you so very much for the words of wisdom.
  • Too_Many_ToolsToo_Many_Tools Posts: 765
    edited 2014-02-06 19:47
    TC wrote: »
    Thank you so very much for the words of wisdom.

    My wife made me say that. ;<)
  • TCTC Posts: 1,019
    edited 2014-02-07 03:15
    My wife made me say that. ;<)

    :lol::smile::lol:

    So would my wife.
  • ErlendErlend Posts: 612
    edited 2014-02-13 05:47
    Here's some tough competition.

    Erlend
  • Heater.Heater. Posts: 21,230
    edited 2014-02-13 06:12
    Sometimes I think these tablets are just getting a bit too big!
Sign In or Register to comment.