A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
i just bought a serial lcd from www.sparkfun.com.... im trying figure out how to send commands throuhg pic basic to control the lcd... the lcd has a pic on there that converts the serial infomation to the lcd controller.... i cant figure out how to seend asci through the serial port?? can anyone help a fellow budder out hear?? Sean... |
|
|
|
The serial LCD is made for a serial port of your pc ( initial idea is you to be drive the LCD using the serial port and nothing more). From what I saw on www.crystalfontz.com (i worked with one of those) on the back of the LCD module you have some jumpers where you can set up the BAUD rate and some aditional features of the LCD: self backlight sunk from RS232 voltage, RS232 levels, TTL levels etc. So, all you have to do is to use the PIC to generate dome RS232 levels. Maybe yor module works with TTL levels too. For this , try to search on the web things about RS232 serial communication with a PIC - you have to know the RS232 protocol to be able to generate these signals. Maybe you are lucky and you will find exactly a sample code for what you need. If you want to play with LCD + PIC, try the parallel interface LCD (it can be very easy converted to a serial one, using a shift serial 8 bits register). You will have much fun. --- In , "djrevolution99" <djrevolution99@y...> wrote: > i just bought a serial lcd from www.sparkfun.com.... > > im trying figure out how to send commands throuhg pic basic to > control the lcd... the lcd has a pic on there that converts the > serial infomation to the lcd controller.... i cant figure out how to > seend asci through the serial port?? > > can anyone help a fellow budder out hear?? > > Sean... |