Using Netduino to Control Serial LED Display
#1
Posted 23 May 2011 - 08:07 AM
I am new to Netduino, C# (I am fairly familiar with VB.Net) and Serial communications so some assistance would be very much appreciated.
I have a 4 Digit 7 Segment Serial display the same as the one from Sparkfun, http://www.sparkfun.com/products/9766 which I would like to control from the Netduino which I believe should be possible.
This display can be controllled either by TTL or SPI, I'm not too bothered which I use however I would like to control several of these from a single Netduino if possible, not sure if this makes difference to the method used.
There are lots of articles on the web about connecting this display to an Arduino but, despite spending many hours trying, I am having problems converting the code so I thought I would ask the experts.
If anyone is able to offer any advice on the best way of connecting the two units together and some sample code that would be very much appreciated.
Thanks in advance for any assistance you can offer.
Cheers
Rob
#2
Posted 23 May 2011 - 05:07 PM
It explains how to connect the 74HC595 shift-registers, but the wiring and the software should be pretty similar.
I guess you may take a peek, just to take confidence.
Cheers
#3
Posted 23 May 2011 - 05:18 PM
If you are wanting to control several then you should be looking at SPI as you will need to be able to select the device receiving the command from the Netduino.This display can be controllled either by TTL or SPI, I'm not too bothered which I use however I would like to control several of these from a single Netduino if possible, not sure if this makes difference to the method used.
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
#4
Posted 23 May 2011 - 05:27 PM
#5
Posted 23 May 2011 - 05:37 PM
But it would not be as compact. I've tried Fabien's 7219 example and ran into problems - still not figured out why . Inexperience most probably. The shield should keep it all in one package and keep it compact.I am thinking that it would be easier (maybe a lot) without any shield at all.
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
#6
Posted 23 May 2011 - 06:39 PM
#7
Posted 24 May 2011 - 08:58 AM
#8
Posted 24 May 2011 - 09:06 AM
Ah so that's you! We should chat some day I made my own LCD Transfer Provider based on your class as concept at the moment. I did this so it can use multiple 74HC595 IC's with the same latch pin. With my provider it's also possible to link multiple LCD's to the same SPI-pins as well If you like, I can send you my code, so you can take a look at it?Hi Rob,
I wrote a library that simplifies connecting with various types of LCDs. You can read about it on my blog
http://geekswithblog...id_crystal.aspx
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#9
Posted 24 May 2011 - 09:42 PM
Ah so that's you! We should chat some day I made my own LCD Transfer Provider based on your class as concept at the moment. I did this so it can use multiple 74HC595 IC's with the same latch pin. With my provider it's also possible to link multiple LCD's to the same SPI-pins as well If you like, I can send you my code, so you can take a look at it?
That would be great extension! If you'd like to join the project just send me your login at CodePlex.
Thanks!
-Szymon
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users