simulating a LED matrix

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
cantronicx
Posts: 16
Joined: Fri Jul 23, 2010 9:53 pm
Has thanked: 4 times
Been thanked: 1 time
Contact:

simulating a LED matrix

Post by cantronicx »

Flowcode's display devices aka LED seem to be of a common to a fixed power source. It would be nice to have a display matrix or even a LED that can have both anode and cathode free to connect to either a fixed power source or the microcontroller.
Unless I am missing something, it does not seem possible to simulate a LED matrix.

singhdeol
Posts: 30
Joined: Sat Dec 18, 2010 6:07 am
Has thanked: 6 times
Been thanked: 2 times
Contact:

Re: simulating a LED matrix

Post by singhdeol »

If i understand u correctly you should take a look into this link and thx for sharing
http://www.nerdkits.com/videos/multipanel_spi_ledarray/

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: simulating a LED matrix

Post by medelec35 »

cantronicx,
http://www.josepino.com/microcontroller ... ntrol_leds
Is a good place to look, if creating a LED matrix.
This has nothing to do with simulation and your question, but I though worthy of a mention.
With LEDs you can select active high and active low, then if connected to i/p will be off.
When I get a bit of time I will see if a matrix can be simulated with flowcode.
Will let you know for sure tonight


singhdeolink,
Link you posted for a SPI application is a great idea!
It does not just have to be slave chips with matrix LEDs, but slave chips controlling multiple LCD's, Etc.
I believe SPI control would make a great article. Thanks for sharing that link.
Martin

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: simulating a LED matrix

Post by Steve »

Simulating an LED matrix in Flowcode is currently impossible. But it is a good idea and is something we will look at allowing in the future.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: simulating a LED matrix

Post by medelec35 »

I was going post that in order to simulate a matrix, you will need to assign both anode and cathode of each to individual pins. At present they have VSS or VDD as a fixed reference therefore it can't be done....
But you beet me to it Steve :P
Martin

cantronicx
Posts: 16
Joined: Fri Jul 23, 2010 9:53 pm
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: simulating a LED matrix

Post by cantronicx »

to be more specific on my project, I have made a simple circuit that uses an Atmel microcontroller. I think a pic will do this just fine also but not sure it can handle the current as a source without using some additional circuitry like transistors or some driver.
The circuit is as follows
matrix.gif
matrix.gif (19.98 KiB) Viewed 6830 times
Attachments
LED_Matrix.fcf_avr
flowcode's program for the matrix
(15 KiB) Downloaded 318 times

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: simulating a LED matrix

Post by DavidA »

Going to move this topic as we are trying to use this forum purely for completed articles. Thanks.

Post Reply