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.

Carlito

Member Since 14 Jul 2011
Offline Last Active Dec 04 2011 07:29 AM
-----

Posts I've Made

In Topic: LCD KS0066 driver?

19 July 2011 - 05:33 AM

Hello Carlito and welcome in the forum.
I think the problem is a hardware problem. The Arduino board works using 5V, just like the LCD module. So, the signal levels are perfectly compatible across.
Netduino offers a signal span up to 3.3V, thus may not be enough to drive the LCD module.

I strongly suggest to follow the article of Szymon about this kind of modules. He's using a 74HC595 shift register to interface the Netduino with the module, and that's working perfectly.
The trick is around the technology of the "HC" chips, which is different from the (old) CMOS of the LCD module. The HC-series chips allow the connection of slightly different voltage logic.
Cheers


Hi Mario, thanks a lot for your help, I read the article and I'll get the 74HC595 chip to try with the example shown there. It's very nice to have the help of all of you :)

See you!

In Topic: LCD KS0066 driver?

17 July 2011 - 02:58 AM

Hi,

This is the first time I try to program a display with netduino, I am using un JHD162G (with KS0066 driver) and I used the HelloWorld code that is contained in the MicroLiquidCrystal project, but I can't get my display works, only it turns on the screen but text is not shown in it.

My main code is the following...

// create the transfer provider
// Option 1: Use direct GPIO provider
// Initialize the library with the numbers of the interface pins
// Use wiring shown here http://arduino.cc/en...l/lcd_schem.png
var lcdProvider = new GpioLcdTransferProvider(Pins.GPIO_PIN_D12, Pins.GPIO_PIN_D11, //Pins.GPIO_PIN_D10,
//Pins.GPIO_PIN_D9, Pins.GPIO_PIN_D8, Pins.GPIO_PIN_D7, Pins.GPIO_PIN_D6,
Pins.GPIO_PIN_D5, Pins.GPIO_PIN_D4, Pins.GPIO_PIN_D3, Pins.GPIO_PIN_D2);

// create the LCD interface
var lcd = new Lcd(lcdProvider);

// set up the LCD's number of columns and rows:
lcd.Begin(16, 2);

// Print a message to the LCD.
lcd.Write("hello, world!");

while (true)
{
// set the cursor to column 0, line 1
lcd.SetCursorPosition(0, 1);
// print the number of seconds since reset:
lcd.Write((Utility.GetMachineTime().Ticks / 10000).ToString());

Thread.Sleep(100);
}

And I connected my netduino to the display as shown in this page...http://arduino.cc/en...l/LiquidCrystal

Can somebody help me? Please tell me what am I doing wrong?

Thanks a lot in advance!

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.