Luke269
Posts: 29
Joined: Fri Jun 01, 2012 6:58 am

Hi can anyone help connecting a 2x16 LCD

Mon Jun 11, 2012 5:59 pm

Hi, i have seen this pi screen on the internet...http://www.bitwizard.nl/catalog/product ... ucts_id=85

does anyone have any idea on how i could use it e.g. program, setting needed, extra information? thankyou!!!

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Hi can anyone help:S

Tue Jun 12, 2012 9:20 am

I have seen people from BitWizard on this forum, so they definitely know about the Raspberry Pi.

I have seen a demo of this display module with the Pi, so you should send BitWizard an email to ask if the code is available.

bredman
Posts: 1415
Joined: Tue Jan 17, 2012 2:38 pm

Re: Hi can anyone help:S

Tue Jun 12, 2012 9:23 am

One of the people from BitWizard is called "rew" on this forum. You could send him a PM.

Luke269
Posts: 29
Joined: Fri Jun 01, 2012 6:58 am

Re: Hi can anyone help:S

Tue Jun 12, 2012 8:59 pm

Would this work? http://www.ebay.co.uk/itm/Arduino-IIC-I ... 4380wt_906

If yes how would I connect it? Would I use the built in cable and plug the four cables directly into the gpio without jumpers? If yes is there a certain order? Thanks

kghunt
Posts: 383
Joined: Sun Mar 04, 2012 9:28 am

Re: Hi can anyone help:S

Mon Jun 18, 2012 7:03 pm

I have this version of that display with USB connection and it works a treat. Just written a driver for it too. The only bad thing about it is it's displays "sure electronics LCD smartie" when it boots up.

http://www.ebay.co.uk/itm/1602-LCD-Disp ... 19d206d2a0

Sydknee
Posts: 4
Joined: Wed Jan 11, 2012 8:57 pm

Re: Hi can anyone help:S

Mon Jun 18, 2012 8:42 pm

I have the LCD Smartie 20 x 4 with USB connection, works great on my PC and will be looking to add it to my Pi at some point.

Some details of how you got it going would be good! I'm a complete linux newbee and a total Windows user so no real idea of where to start

The boot up screen is anoying and even worse on the 4 lines.
"LCDSmartie"
"By Sure Electronics"
"Your ideal choice"
"Beyond the infinity"

I haven't looked but I think the controller chip on the USB board is a PIC so I'm sure that could be reprogrammed and something less stupid could be put on.

Thanks Chris

kghunt
Posts: 383
Joined: Sun Mar 04, 2012 9:28 am

Re: Hi can anyone help:S

Mon Jun 18, 2012 9:58 pm

Look at this thread.
http://www.raspberrypi.org/phpBB3/viewt ... 21#p103021

It shows my journey in getting it working. The LCD smartie displays work out of the box with a program called lcdproc. But I didn't want to be limited to using their api when you can just send hex commands to the LCD using a serial connection.

My code should work for your LCD too with minimal modification.

I wrote it in python and I have only been writing python since last week. I'm no expert but I plod by and help where I can.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9484
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: Hi can anyone help:S

Mon Jun 18, 2012 10:14 pm

A serial interface isn't needed, most of these raw LCD's that have an eight bit plus A0 and a (write) strobe input can also work in nibble mode, (read the datasheet) and then you can do it with just 6 GPIO's wired to D4-D7 A0 and the strobe input, but don't forget you also need to create a negative (contrast voltage) with for example an ICL7660 voltage inverter to turn +5V into -5V.

A dataheet for such LCD's can be found here:
http://www.sparkfun.com/datasheets/LCD/ ... S-3.3v.pdf

A couple of pointer's:

depending on whether you reset the LCD low or high either motorola or intel interfacing can be set. Motorola mode works with a read/write (R/W) and a clock signal, and Intel mode works with a write strobe (/WR) and a read strobe (/RD), in principle you only have to write to the LCD, so either use motorola in permanent write mode, and clock in data with E, or use Intel mode, and use the write strobe to clock data in.

To enter "nibble mode" you have to write a "magic sequence" which can be found in the datasheet, and data is connected to the upper four bits, with the lower four unconnected

ksangeelee
Posts: 192
Joined: Sun Dec 25, 2011 5:25 pm
Location: Edinburgh, UK
Contact: Website

Re: Hi can anyone help:S

Mon Jun 18, 2012 11:59 pm

mahjongg wrote:but don't forget you also need to create a negative (contrast voltage) with for example an ICL7660 voltage inverter to turn +5V into -5V.

A dataheet for such LCD's can be found here:
http://www.sparkfun.com/datasheets/LCD/ ... S-3.3v.pdf
Are you sure about the need for a voltage inverter? The datasheet simply shows a pot between Vdd and Vss - that's how I've always used it (sometimes just soldering it directly to the back, crossing two legs on the pot).

TommyboyNL
Posts: 48
Joined: Mon Jun 18, 2012 4:37 pm

Re: Hi can anyone help connecting a 2x16 LCD

Tue Jun 26, 2012 3:07 pm

I'm also one of the BitWizard guys. I suggest buying the SPI version, we've written a program to allow you to easily control our SPI LCDs: http://www.bitwizard.nl/wiki/index.php/ ... CD_program

Good luck, and don't hesitate to ask for help, if you don't get it to work!

Return to “Graphics, sound and multimedia”

Who is online

Users browsing this forum: No registered users and 8 guests