Main Site Documentation

SerialLCD how?


#1

Dears

It´s possible to use a serial LCD with FEZ Spider? How? Any example?

like: http://wiki.tinyclr.com/index.php?title=Alcohol_Gas_Sensor

Thank you


#2

Yes you can but why?

It can be wired to the extender module.


#3

UART can be done on socket types U and K (K adds handshaking). Pins 4 & 5 are TX & RX, respectively. Default serial port settings are 9600-8-N-1, but can be modified. You can use an extender module to wire up a serial LCD and write whatever byte format the display uses.


#4

Can i use a FEZ SDK with FEZ spider and FEZ Hydra?

I would like to use this example:

FEZ_Components.LCD2x16 lcd = new FEZ_Components.LCD2x16(FEZ_Pin.Digital.Di5, FEZ_Pin.Digital.Di6, FEZ_Pin.Digital.Di7,
FEZ_Pin.Digital.Di8, FEZ_Pin.Digital.Di3, FEZ_Pin.Digital.Di2);
lcd.Clear();
int i = 0;
while (true)
{
lcd.CursorHome();
lcd.Print("Counter " + i++);
Thread.Sleep(100);
}


#5

Hydra can run most code you see around here but not all since Hydra is open source and has a different GHI library.

Closed source: http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation/Index.html
Open source: http://www.ghielectronics.com/downloads/NETMF/OSH%20Library%20Documentation/Index.html

As for the core NETMF, both are near identical.


#6

Andre, do you still need some code example to use a serial LCD with a FEZ Spider?

I’m currently playing with the Extender Module and I’ve modified the FEZ_Components.LCD2x16 code to be capable of being used with the Extender Module.
(I’d provide the code on request, if anybody is interested.)


#7

yes sure! send for us your howto!!!

thank you!


#8

I’ve uploaded the code including usage example and wiring information to

http://code.tinyclr.com/project/432/serial-lcd-abstraction-layer-for-hd44780-displays/

I hope that the provided information is self-explanatory.

@ GHI Team: both the uploaded code and the codeshare posting is saying “by GHI Electronics LLC”, and not “by Nils”, even though I was logged in. It also does not show up in “My Code” (so I cannot edit the infos at code.tinyclr.com). Do you manually approve those code postings or did something went wrong somehow?


#9

@ Nils fixed