Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

N+2 using 2416 LED Matrix


  • Please log in to reply
6 replies to this topic

#1 rgoode214

rgoode214

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationSan Antonio, TX

Posted 16 December 2012 - 10:20 PM

Curious to see if anyone has gotten the 2416 led matrix from Sure Electronics working properly on the N+2. Ive looked at the code provided in other threads using the N+ but one is for the 32x8 display (im in the process of rewriting it) and the other uses SPI which i think is broken on the N+2. Ryan

#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 17 December 2012 - 07:24 AM

Curious to see if anyone has gotten the 2416 led matrix from Sure Electronics working properly on the N+2. Ive looked at the code provided in other threads using the N+ but one is for the 32x8 display (im in the process of rewriting it) and the other uses SPI which i think is broken on the N+2.

I'm sure the SPI will be fixed at some point in the future. In the meantime you could always add a small BitBang method to output the data for you whilst you work on adapting the driver. You can then change it back to SPI when it has been fixed.

There are a couple of pieces of code around the forums which implement BitBanging (http://forums.netdui...tbanger-driver/ for one...)


Regards,
Mark

To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 17 December 2012 - 08:06 AM

Curious to see if anyone has gotten the 2416 led matrix from Sure Electronics working properly on the N+2. Ive looked at the code provided in other threads using the N+ but one is for the 32x8 display (im in the process of rewriting it) and the other uses SPI which i think is broken on the N+2.

Ryan


You should specify which board are you referring. Anyway, I own a 32x16 bi-color board purchased by Sure, and the problem is the difficulty to generate the pattern automatically.
My plan is to find a solution (mostly hardware), but the Mark's suggestion is valuable too. I only wish to find an hardware way to generate the pattern, because the much higher speed.
At the moment I am pretty busy, so...be patient!
Cheers
Biggest fault of Netduino? It runs by electricity.

#4 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 17 December 2012 - 10:06 AM

mario: what about an eeprom where you save prerendered "images" ? 32x16 isent that big, loading that data is fast

#5 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 17 December 2012 - 12:34 PM

mario: what about an eeprom where you save prerendered "images" ?
32x16 isent that big, loading that data is fast


I don't understand what you mean...why an EEProm should solve the problem?

I am talking about a generic interfacing (i.e. driver) for such a board (btw, it seems there are many models more or less compatible). The problem is related to the SPI data which should be "pumped-into" the board, but there's a kind of chip-select to activate. The hardware circuit is pretty intelligent, but it is not easy to drive with the Netduino (even Plus 2).
Cheers
Biggest fault of Netduino? It runs by electricity.

#6 rgoode214

rgoode214

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationSan Antonio, TX

Posted 17 December 2012 - 09:52 PM

im using the 24x16 driven by an HT1632C and ive started porting the code over from Miles Burton's arduino toolkit but im not sure the memory addresses hes using are the same... its turning on groups of 4 LEDS are once intead of just 1. Im looking at the datasheet and im trying to determine the correct address but i guess i dont know how to read the memory address table to make an accurate determination. Ryan

#7 rgoode214

rgoode214

    Member

  • Members
  • PipPip
  • 18 posts
  • LocationSan Antonio, TX

Posted 18 December 2012 - 02:38 AM

I figured out my problem... when i ported the code over to write out the data i didnt convert the right shift properly in my math. Got the display working =) Ryan




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.