rbasoalto / stellaris-can-monitor

CAN bus monitor with TI Stellaris Launchpad and character LCD
Other
1 stars 0 forks source link

Schematic #1

Open thecnckid opened 10 years ago

thecnckid commented 10 years ago

Do you have a schematic of the Stellaris to 74HC595 to LCD. I know it takes an enable pulse and a RS pulse which is the data or command pulse, but I can't figure out by the code which pins you are using.

rbasoalto commented 10 years ago

I'll draw a schematic later today. Meanwhile:

If you want to connect the LCD directly to the Stellaris, you could just replace the lcd_write_data and lcd_write_cmd functions, and write everything directly to the LCD pins.

thecnckid commented 10 years ago

Let me make sure Stellaris 595 LCD PB4 --> Pin11 PB5 --> Pin12 PB7 --> Pin14 Pin2 --> RS Pin3 --> EN Pin4 –> D4 Pin5 –> D5 Pin6 --> D6 Pin7 --> D7

From: Rodrigo Basoalto Sent: Monday, July 28, 2014 10:30 AM To: rbasoalto/stellaris-can-monitor Cc: thecnckid Subject: Re: [stellaris-can-monitor] Schematic (#1)

I'll draw a schematic later today. Meanwhile:

a.. Connect the 595 to SSI2 (Clock to PB4, CE/Latch to PB5, Data in to PB7) b.. Connect the lower 4 bits of the LCD (D4-D7) to Q4-Q7 / QE-QH of the 595. c.. Connect R/W on the LCD to ground (write-only) d.. Connect RS on the LCD to Q2 / QC on the 595 e.. Connect EN on the LCD to Q3 / QD on the 595 f.. Optional: I used a P-channel MOSFET on the backlight positive rail, connected the gate to Q0 / QA on the 595, so I can turn it on/off by software. If you want to connect the LCD directly to the Stellaris, you could just replace the lcd_write_data and lcd_write_cmd functions, and write everything directly to the LCD pins.

— Reply to this email directly or view it on GitHub.