LoL Shield
#1
Posted 17 September 2010 - 06:15 PM
#2
Posted 17 September 2010 - 06:22 PM
#3
Posted 17 September 2010 - 06:30 PM
I met Jimmie at MakerFaire Rhode Island and we're trying to find a way to make it work. Some of those shields require a lot of power from the digital pins directly--which the low-power ARM processor on the Netduino doesn't have.
In the near future, both Jimmie and us will be playing with a Netduino/LoL shield combo to see what we can make work... It would certainly be cool!
Chris
Chris, so its possible to drive the LoL shield using an external driver? Hmm.. if thats the case, and since I'm a sw engineer trying on a hw eng's hat, can you recommend a driver I can use?
#4
Posted 17 September 2010 - 06:45 PM
Chris, so its possible to drive the LoL shield using an external driver? Hmm.. if thats the case, and since I'm a sw engineer trying on a hw eng's hat, can you recommend a driver I can use?
Not sure. I think you'd need to wire in external power and a large set of resistors. I'll know more as we play with it--but right now I just don't have any good info on the LoL shield.
I do have a pretty blue and white one here though. After World MakerFaire NY, perhaps I can break it out
Chris
#5
Posted 17 September 2010 - 07:02 PM
Not sure. I think you'd need to wire in external power and a large set of resistors. I'll know more as we play with it--but right now I just don't have any good info on the LoL shield.
I do have a pretty blue and white one here though. After World MakerFaire NY, perhaps I can break it out
Chris
I back it!
#6
Posted 17 September 2010 - 09:06 PM
#7
Posted 17 September 2010 - 09:25 PM
#8
Posted 14 February 2011 - 03:31 AM
aylek, you can drive up to 160mA total from the Netduino's pins (see tech specs for details). 11-12 LEDs at 8mA each is no trouble.
Hey Chris, any word on this? I have been trying to port the LoLShield Code to C#. The LoLShield on my N+ lights dozens of the LEDs when I permute enabling the analog and digital ports but I'm not sure it can drive enough to support an entire font, for example. I'm struggling with this code though from the Arduino:
if (i < 6) { DDRD = _BV(i+2) | displayBuffer[i*2]; PORTD = displayBuffer[i*2]; DDRB = displayBuffer[i*2+1]; PORTB = displayBuffer[i*2+1]; } else { DDRD = displayBuffer[i*2]; PORTD = displayBuffer[i*2]; DDRB = _BV(i-6) | displayBuffer[i*2+1]; PORTB = displayBuffer[i*2+1]; }
Is there any way set the Direction Direction Register from *safe* .NET code?
Thanks, Kevin
#9
Posted 14 February 2011 - 03:43 AM
Hey Chris, any word on this? I have been trying to port the LoLShield Code to C#. The LoLShield on my N+ lights dozens of the LEDs when I permute enabling the analog and digital ports but I'm not sure it can drive enough to support an entire font, for example. I'm struggling with this code though from the Arduino:
if (i < 6) { DDRD = _BV(i+2) | displayBuffer[i*2]; PORTD = displayBuffer[i*2]; DDRB = displayBuffer[i*2+1]; PORTB = displayBuffer[i*2+1]; } else { DDRD = displayBuffer[i*2]; PORTD = displayBuffer[i*2]; DDRB = _BV(i-6) | displayBuffer[i*2+1]; PORTB = displayBuffer[i*2+1]; }
Is there any way set the Direction Direction Register from *safe* .NET code?
Thanks, Kevin
Kevin,
No need to write low-level C memory access code. You can use the Microsoft.SPOT.Hardware.TristatePort class to switch between Input and Output on the fly. If you don't need to switch back and forth, OutputPort is "direction out" and InputPort is "direction in".
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users