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

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

simulating a LED matrix

Postby cantronicx » Mon Mar 07, 2011 8:33 pm

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

Postby singhdeol » Tue Mar 08, 2011 2:15 am

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/
These users thanked the author singhdeol for the post (total 2):
medelec35 (Tue Mar 08, 2011 8:21 am) • cantronicx (Thu Mar 10, 2011 6:00 pm)
Rating: 10%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8607
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2476 times
Been thanked: 3558 times
Contact:

Re: simulating a LED matrix

Postby medelec35 » Tue Mar 08, 2011 8:21 am

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.
These users thanked the author medelec35 for the post:
cantronicx (Thu Mar 10, 2011 5:59 pm)
Rating: 5%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve
Matrix Staff
Posts: 3111
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 89 times
Been thanked: 398 times
Contact:

Re: simulating a LED matrix

Postby Steve » Tue Mar 08, 2011 8:53 am

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.
These users thanked the author Steve for the post:
cantronicx (Thu Mar 10, 2011 5:59 pm)
Rating: 5%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8607
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2476 times
Been thanked: 3558 times
Contact:

Re: simulating a LED matrix

Postby medelec35 » Tue Mar 08, 2011 8:58 am

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
These users thanked the author medelec35 for the post:
cantronicx (Thu Mar 10, 2011 5:59 pm)
Rating: 5%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

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

Postby cantronicx » Fri Mar 11, 2011 9:29 pm

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 3791 times
Attachments
LED_Matrix.fcf_avr
flowcode's program for the matrix
(15 KiB) Downloaded 148 times

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

Re: simulating a LED matrix

Postby DavidA » Tue Mar 15, 2011 4:44 pm

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