Re: [Lightuino] Digest for toasted-circuits-lightuino@googlegroups.com - 2 Messages in 1 Topic

13 views
Skip to first unread message

Mauricio Gómez

unread,
Sep 5, 2011, 3:01:48 PM9/5/11
to toasted-circu...@googlegroups.com
Hi again,

yes, these are homemade matrix, I builded some for test different kinds of LEDs for the project that I'm working on.
Captura de pantalla 2011-09-05 a las 13.34.56.png

Finally the LED Matrix turned on!! the AllOn() function works very well and I tested changing some values on the sink.set and source.set. Now it is more clearly for me how the code works.
Captura de pantalla 2011-09-05 a las 13.52.11.png

But there are still some errors (or I think so), if I use the SinkOnOffDemo(), it works; if I use SinkPwmDemo(), it works too. But if I use MatrixDemo(sinks), it doesn't work. I read and read the "begin_here5" code and I didn't get it. It's looks like the execution of the code stuck in somewhere, cause at the serial monitor I had this:

Captura de pantalla 2011-09-04 a las 22.43.56.png

and then, nothing happens.

what I really want is manage these matrix from an iPad with TouchOSC, thats why I'm interest in using the Matrix function. 

________________________
Ing. Mauricio Gómez
Hardware Developer



2011/9/3 <toasted-circuits-...@googlegroups.com>

Group: http://groups.google.com/group/toasted-circuits-lightuino/topics

    "Mauricio Gómez" <maurici...@gmail.com> Sep 02 12:00PM -0500 ^
     
    Hi Andrew
     
    I wired up the matrix like this:
     
    [image: la foto.JPG]
     
    this is a 4x4 RGB LED matrix with common anode, there are 4 rows which are
    the anodes, and 12 columns which are the cathodes. The anodes are connected
    to the source drivers pins, and the cathodes are connected to the sink
    drivers pins.
     
    I commented some functions on the "begin_here5"sketch at the loop
    function and uncommented the MatrixDemo() function. I loaded the sketch just
    like that to the board
     
    [image: Captura de pantalla 2011-09-02 a las 11.05.58.png]
    At the serial monitor I had this:
     
    [image: Captura de pantalla 2011-09-02 a las 11.03.30.png]
     
    But nothing happened, the LED matrix still turned off all the time.
     
    Is there something that I'm doing wrong?
    Can you write a little sketch example?
     
    Thanks
    ________________________
    Ing. Mauricio Gómez
    Hardware Developer
    hackerspacecholula.org
     
     
     
     
    2011/8/19 <toasted-circuits-...@googlegroups.com>
     

     

    Andrew Stone <g.andre...@gmail.com> Sep 02 02:42PM -0400 ^
     
    Hi Mauricio,
     
    Nice PCB! Is that homemade? But first let's verify it. I verify my matrix
    by turning the Lightuino entirely on and then touching pins.
     
    In the begin_here5 sketch add this function:
     
    void AllOn(void)
    {
    sources.set(0xffff);
    sinks.set(0xffffffff,0xffffffff,B00111111);
    }
     
    And add a new loop that only calls that function:
     
    void loop()
    {
    AllOn();
    mydelay(10000);
    }
     
    Now take any sink pin and connect it to the cathode side and any source pin
    and connect it to an anode side. One LED should light!
    If it does not light the problem is probably in your matrix (since I test
    all sources and sinks before I ship you the board). You'll have to use a
    multimeter to figure out the issue.
     
    If it works, I'd recommend testing all LEDs. Wire up every cathode (sink)
    and then touch jumpers from the Lightuino source pin to each anode. All
    should light.
     
    Cheers!
    Andrew
     
     
    2011/9/2 Mauricio Gómez <maurici...@gmail.com>
     

     


Captura de pantalla 2011-09-04 a las 22.43.56.png
Captura de pantalla 2011-09-05 a las 13.52.11.png
Captura de pantalla 2011-09-05 a las 13.34.56.png
Reply all
Reply to author
Forward
0 new messages