Norway
Asked — Edited

LCD Module

Hello, I was wondering if it's possible to attach such a module. And how should I wire it up to the Ez-B ? And what about scripting? Do you have any code samples?

Link to a LCD Module I'm gonna buy. http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200526451153&ssPageName=STRK:MESINDXX:IT

Thank you,

  • Mix3rn


ARC Pro

Upgrade to ARC Pro

Experience the transformation – subscribe to Synthiam ARC Pro and watch your robot evolve into a marvel of innovation and intelligence.

PRO
Synthiam
#1  

It appears that LCD in the link does not have a serial or I2C communication controller. You may be able to get it to work with digital i/o (but that would require a lot of wires and complicated programming). If you would like to connect an LCD to the EZ-B, I recommend a Serial LCD.

Clickity Click

A serial LCD operates using a 1 wire connection. The EZ-B transmits "serial data" over a "baud rate" to the LCD by one of it's I/O pins. The baud rate is usually 9600, or higher.

Norway
#2  

Thank you for reply.

How can I control the LCD connected to the Ez-b with Csharp? Do you have any code samples?

Sorry for "too many questions" but this project is really interesting! :D Thank you!

  • Mix3rn
#3  

I don't think there are any code samples in the SDK specifically for LCD control and unfortunately I don't have a serial LCD to play with, otherwise I'd give you a hand...

That being said, I'd start by downloading and modifying the following code to suit your needs: Simple Scott Edwards Serial Backpack LCD Class and Example

I'm not sure how heavily the code will need to be modified (aside from adding the EZ-B connection) but the LCD you purchase should at least include documentation on the command structure to get you started...

#4  

Hi,This is Alina from Tsingtek Display Co.,Ltd . We are one of professional LCD ,LCD module ,OLED manufacturers from mainland China .Yes ,I completely agree with radmeck that the supplier should provide the detail datasheet ,and also programming if you need it also :D . I found what you need is just 8X2 character LCM ,for character LCM,only few people would like to choose serial ones .

But I can provide you some technical information .My email address : alinasales1988@gmail.com

I'll be more than happy to help you in anyway we can

Best Regards Alina

Norway
#5  

Hello, thank you for your time! I found an lcd screen in a computer to a friend (he gave it to me) This one

It has an internal usb connector (4 pin) It's usual usb, so I guess its power, ground, and two signal cables?

But how to connect the cables to the Ez-B ? confused

Again, thank you!

  • Mix3rn
PRO
Synthiam
#6  

That LCD is a USB. The connections to the EZ-B are either Serial (uart/rs232) or I2C.

Check this link for compatible LCD modules with the EZ-B: Clickity

Once you have the LCD module that is compatible with the EZ-B, check the TellyMate or Uart library for transmitting data to it. There are a few Tellymate examples in the EZ-SDK Package.

Optionally, if you are using the ARC software... You can easily write to serial by using the SendSerial() command...


SendSerial(d1, 9600, "Hello, this is some text)

#7  

Mix3rn, I'm in a similar situation trying to interface my USB rocket launcher/webcam with the EZ-B. Since you can't connect (USB) directly you basically need to hire a translator so they can communicate. Perhaps a little something' like this:

(1) Download and install LCD Smartie to interface with your USB LCD.
(2) Create scripted events in ARC that fire off LCD Smartie commands to control the LCD ouput.

If this sounds like too much work or you absolutely need native control through the EZ-B you'll need to bite the bullet and purchase a serial or I2C LCD.

Hope this helps...

P.S. It takes some time to get your head around the EZ-B paradigm if you're used to a PC-centric computing model. My 2 cents...

#8  

http://www.dwin.com.cn/en/ DWIN 24-bit colored HMI kernel was put into production in August, 2010. It has won the market's affirmation because of its outstanding performance, functions and low cost. 24-bit colored HMI drove by H600 kernel is replacing the elder 16-bit colored HMI rapidly and become the better graphical interface of our customers' products. DWIN 24-bit colored HMI based on H600 kernel now covers all the sizes from 5.0 inches with a resolution of 800x480 and 18.5 inches with a resolution of 1365x768, our product line covers the consuming class(C series) to automobile class(Q series) to meet the needs of different customers. [u]Excellent performance on colors Improve the display speed substantially Any-angle rotation by software Enhanced and optimized GUI decreases the effort and difficulty for further development. Greatly raise the value for clients by systematic supply management [/u] DWIN can supply low priced 24-bit color HMI with better quality than other European products. Even compared with the Industrial class Non-drivered LCD made in Japan, Korea and Taiwan, the advantages of DWIN's products are obvious. With the information revolution and social progress, traditional LCD is too monotonous and inflexible to meet the demands from customers. DWIN is the best solution for making a better interface for your product you never seen before! http://www.dwin.com.cn/en/

#10  

Hello I'm currently buying parts for an EZ-B project but I am not sure if the LCD screen I want is compatible. If someone could help me out it would be very much appreciated. :) The LCD Screen

PRO
Synthiam
#11  

That LCD will work great! The UART mode will be a fantastic and easy method. You'll need a three wire servo cable. I purchase them in bulk off eBay. Here is a link..

eBay servo Extension Cables

I usually buy 300 mm wires in bulks of 10 for $2-$3 with free shipping.

#12  

Thank you so much!!! Ill be sure to post pictures and explain it once I finish it and one quick weird question do you think it woiuld be cool if I use the body of a 2-XL???:) :) :)

PRO
Synthiam
#13  

Which 2-XL version? I think they are both pretty cool :)

User-inserted image

#14  

I was thinking the older one. More of a classic. lol :P

#15  

Alright just found a Classic "Type 2" 2-XL on Ebay for a fair price for only using the shell!!!! SOLD!!! :) :) :)

#16  

I just bought one of these LCDs and have NO CLUE whatsoever how to connect it to the EZ-B.

http://www.microtivity.com/p/IM161/lcd-module-1602-white-on-blue-with-backlight

It has 16 pins in the "standard 1602A" configuration. I think I'm supposed to do the following:

  1. Plug in a cable to one of the digital ports on the EZ-B
  2. Solder the Ground to Pin 1
  3. Solder the Positive to Pin 2
  4. Solder the Signal to Pin 5

Optionally, I can plug in another cable to another digital port and solder the Positive and Ground to Pins 15 and 16, respectively to power the backlighting.

Do I just ignore the other pins? What about Pin 3? It's labeled "Contrast Adjust". How do I adjust the contrast if required?

Thanks!

PRO
Synthiam
#17  

That won't work with the EZ-B. Well, it technically could if you were to spend a few weeks porting arduino code over. But then you end up losing 16 I/O pins just for the LCD. There are only 20 i/o pins on the ez-b, so losing 16 is a lot.

the tutorial page on here specifies that it is best to use Serial Display. You can find the tutorial page by clicking Tutorials on the top menu. Or here is a shortcut for you: Serial LCD Displays

#18  

DJ, Did you ever get your i2C LCD?

PRO
Synthiam
#19  

@bookmaker yup. it's on my list to look at :)