CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug Reports on this forum. Send them to support@ccsinfo.com

USB to GLCD project

 
Post new topic   Reply to topic    CCS Forum Index -> Code Library
View previous topic :: View next topic  
Author Message
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

USB to GLCD project
PostPosted: Wed Aug 25, 2010 12:10 am     Reply with quote

The project is located at
http://github.com/snowblind/picUSBtoGLCD

I chose to place the project on git as it will allow me and you if you want to help a place to put files types other than the simple paste in a code segment that is allowed here. Click the Download Source button to get the files. It will zip them then send it to you.

I have working PIC18f4550 CCS C code and a hex file (if you do not have CCS C) for control of SED1330F based GLCDs like this one http://www.allelectronics.com/make-a-store/item/LCD-101/256-X-128-LCD-PANEL/-/1.html over USB. It only does text for now.

I use libusb-win32 http://sourceforge.net/apps/trac/libusb-win32/wiki for simple access to USB devices on windows.

libusb-win32_InstallGuide.pdf shows you how to install the USB driver.

picUSBtoGLCD.cpp is the C code for the picUSBtoGLCD_demo.exe (need to fix the name difference Shocked )
picUSBtoGLCD_demo.exe is a win32 console app compiled using VS2008 C++ express edition. The picUSBtoGLCD.cpp file could serve as a hopefully easy to understand example for learning how to control your own USB project.

Take look at the code files, they are heavily commented. That may answer some of the questions you may have that I have not answered here.

I made my own proto board for this project. See 18F4550_USB_PB.jpg for a picture. The CCS PIC18F4550 based USB proto board could be made to work for this project although I did not check to make sure I did not use pins already in use by it. See GLCD_USB.c for the pins defines used for the control pins, port D is used for data that is hard coded in the SED1335.c driver. If you try it let me know what you had to change.

I have a working driver DLL (text only for now) for the following program... LCDInfo is a software for displaying various information on PC connected monochrome GLCD displays.
INFO: http://www.lcdinfo.com/lcdinfo.html
DOWNLOAD: http://www.skippari.net/lcd/alpha/lcdinfo_test.zip
I need to clean up the code for this then I will release it.

Driver DLL for other programs of this type like LCDHype possible, but I make no promises.

Coming soon schematic (with neg voltage driver), VS2008 compile guide for picUSBtoGLCD.cpp, project wiki, getting started guide, etc.
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

PostPosted: Thu Sep 09, 2010 4:08 pm     Reply with quote

I added a schematic. All info and files are now on the git.

Comments welcome.
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

PostPosted: Tue Jun 04, 2013 4:14 pm     Reply with quote

Project updated for ILI932x based Color GLCDs

Video file added that shows what the LuaLCD program shows on the display when it is running
E_Blue



Joined: 13 Apr 2011
Posts: 200

View user's profile Send private message

PostPosted: Mon May 05, 2014 9:36 am     Reply with quote

This work for SPI LCDs like Siemens M55/M56?
_________________
Electric Blue
MikeP



Joined: 07 Sep 2003
Posts: 49

View user's profile Send private message

PostPosted: Mon May 19, 2014 9:23 am     Reply with quote

No SPI support ATM this time. It would be easy to add. Do you have working drivers for the display?

Do you have a url with info on the display you have?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> Code Library All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group