Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Comp.Arch.Embedded | LCD SERIAL - PIC16F84A


Advertise Here

There are 6 messages in this thread.

You are currently looking at messages 0 to 6.

LCD SERIAL - PIC16F84A - zss - 2009-10-21 06:51:00

Hi I'm new here. and I am currently doing a project on Toxic Gas Release
Alarm system using PIC.

I'm using PIC16f84a and I have used several I/O pins for LEDs, speakers &
a/d converters. and only I/O 6 pins left for LCD. (R0A,RB3-RB7). I'm using
LCD Serial port with 8 pads(www.cytron.com.my). 

any ideas how I can connect the LCD to the PIC without using all the pads?
can i just connect the lcd to the pic with 3 connection? vcc,vdd and serial
data (RB7)? will that work?



	   
					
---------------------------------------		
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com



Re: LCD SERIAL - PIC16F84A - Marc Hillman - 2009-10-21 09:39:00

The interface for this display can be driven in 4 or 8 bit mode. In 4 bit 
mode you only need 6 pins. 


Re: LCD SERIAL - PIC16F84A - don - 2009-10-21 09:45:00

zss wrote:
> Hi I'm new here. and I am currently doing a project on Toxic Gas Release
> Alarm system using PIC.
> 
> I'm using PIC16f84a and I have used several I/O pins for LEDs, speakers &
> a/d converters. and only I/O 6 pins left for LCD. (R0A,RB3-RB7). I'm using
> LCD Serial port with 8 pads(www.cytron.com.my). 

Which LCD are you talking about here ??

> 
> any ideas how I can connect the LCD to the PIC without using all the pads?
> can i just connect the lcd to the pic with 3 connection? vcc,vdd and serial
> data (RB7)? will that work?

Normal LCD controllers do not have a serial port on them.

A serial to LCD backpack can be used but thats adding another CPU to the 
system.

A normal LCD panel will work with just 6 pins connected.

Four data pins [DB4-DB7]
Two control pins R/C & E, with R/W pin pulled low.

Google for Hitachi Hd44780 controller specs and code available.

don

Re: LCD SERIAL - PIC16F84A - Don McKenzie - 2009-10-21 14:05:00

zss wrote:
> Hi I'm new here. and I am currently doing a project on Toxic Gas Release
> Alarm system using PIC.
> 
> I'm using PIC16f84a and I have used several I/O pins for LEDs, speakers &
> a/d converters. and only I/O 6 pins left for LCD. (R0A,RB3-RB7). I'm using
> LCD Serial port with 8 pads(www.cytron.com.my). 
> 
> any ideas how I can connect the LCD to the PIC without using all the pads?
> can i just connect the lcd to the pic with 3 connection? vcc,vdd and serial
> data (RB7)? will that work?

No, see:
http://www.dontronics-shop.com/faqs-micro-or-electronics-specific-questions.html#lcd

Cheers Don...



-- 
Don McKenzie

Site Map:            http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email
Web Camera Page:     http://www.dontronics.com/webcam
No More Damn Spam:   http://www.dontronics.com/spam

Breakout, Prototype, Development, & Robotics Boards:
http://www.dontronics-shop.com/sparkfun-electronics.html

Re: LCD SERIAL - PIC16F84A - zss - 2009-10-21 14:30:00

>The interface for this display can be driven in 4 or 8 bit mode. In 4 bit

>mode you only need 6 pins. 
>
>

So there is no need for me to use a serial lcd then. I can just use the
parallel 16x2 lcd eh. thanks guys!  I didnt know that :). I'm new to this
thing.haha

So, the next thing I need to learn is how to code the 4 bit mode lcd using
assembly language. Any ideas where I can find any simple examples I can
learn from? :) 
I'm using MPLab IDE btw.

very much appreciated.	   
					
---------------------------------------		
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com

Re: LCD SERIAL - PIC16F84A - don - 2009-10-21 14:47:00

zss wrote:
>> The interface for this display can be driven in 4 or 8 bit mode. In 4 bit
> 
>> mode you only need 6 pins. 
>>
>>
> 
> So there is no need for me to use a serial lcd then. I can just use the
> parallel 16x2 lcd eh. thanks guys!  I didnt know that :). I'm new to this
> thing.haha
> 
> So, the next thing I need to learn is how to code the 4 bit mode lcd using
> assembly language. Any ideas where I can find any simple examples I can
> learn from? :) 


http://tinyurl.com/yhvf8b5

> I'm using MPLab IDE btw.
> 
> very much appreciated.	   
> 					
> ---------------------------------------		
> This message was sent using the comp.arch.embedded web interface on
> http://www.EmbeddedRelated.com