Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 30th May 2008, 06:28 AM   #16
Default

I will say Stella looks familiar

As for the two wire LCD interface I had a SPI + 2 wire (4 wires) that I was going to use in a future kit design. I tied RW to gnd but used the 8 bit mode and standard mode 1 SPI . The E line was CS and RS was the other wire.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 30th May 2008, 06:32 AM   #17
Default

Quote:
Originally Posted by BaCaRdi View Post
Ok now I need to start using c again too...lol Damn that learning curve!
Ya, I swore off C many years ago. Went back to assembler and wouldn't touch C. I remembered hating it. Then the dsPIC kind of forced me to get back into C programming and I realized I didn't hate it as much as I had remembered. Lately I'm doing nothing but C.

Quote:
I really like that 2-wire LCD interface!
Me too. Think I'll build a board or two with 2-wire LCD circuits that I can plug into any PIC board or breadboard I'm using when I want a quick, easy LCD.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 30th May 2008, 06:35 AM   #18
Default

Very nice, I am too much a beginner to design anything nifty yet, hope to be their soon. Just a hobby as of now, but never know.

Maybe I will have to switch to that C complier, I am using ME's Pascal version right now, just because programed in pascal for a while so easier transition for me atm. I do allot in Linux in C of course mostly old school hacking, aka patching code..lol I also have their EasyPIC 5 board, and I like it allot, but as a company I think they are on the wrong track for the long haul. We'll see

-BaC
__________________
Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}...
BaCaRdi is offline  
Old 30th May 2008, 06:37 AM   #19
Default

Quote:
Originally Posted by blueroomelectronics View Post
I will say Stella looks familiar
Heh, ya.

Quote:
As for the two wire LCD interface I had a SPI + 2 wire (4 wires) that I was going to use in a future kit design. I tied RW to gnd but used the 8 bit mode and standard mode 1 SPI . The E line was CS and RS was the other wire.
How do you mean?
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 30th May 2008, 06:44 AM   #20
Default

You talking Stella the drink or the board?..lol

-BaC
__________________
Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}...
BaCaRdi is offline  
Old 30th May 2008, 06:47 AM   #21
Default

Quote:
Originally Posted by BaCaRdi View Post
You talking Stella the drink or the board?..lol
Stella's a drink? Never heard of it.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 30th May 2008, 06:56 AM   #22
Default

OK you pulling my leg or serious;

Belgium beer to be exact.

Well look at the nick and I guess you can tell I used to drink allot maybe that is why I recognized it as a beer. Why did he name it Stella anyways, was he drinking it when he thought of /designed it?..lol


Quote:
Originally Posted by futz View Post
Stella's a drink? Never heard of it.
__________________
Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}...
BaCaRdi is offline  
Old 30th May 2008, 07:10 AM   #23
Default

Quote:
Originally Posted by BaCaRdi View Post
OK you pulling my leg or serious;

Belgium beer to be exact.

Well look at the nick and I guess you can tell I used to drink allot maybe that is why I recognized it as a beer. Why did he name it Stella anyways, was he drinking it when he thought of /designed it?..lol
OH! Stella Artois! Ya, I've drunk it. Not exactly common around here.

He names his boards after women. He has another design named Michelle.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================

Last edited by futz; 30th May 2008 at 07:11 AM.
futz is online now  
Old 30th May 2008, 09:30 AM   #24
Default

Yep that is it Ahh, good thing I don't use that naming convention, there be about 30 names and all wouldn't work, just cost more-and-more money...lmao

-BaC

Quote:
Originally Posted by futz View Post
OH! Stella Artois! Ya, I've drunk it. Not exactly common around here.

He names his boards after women. He has another design named Michelle.
__________________
Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}...
BaCaRdi is offline  
Old 30th May 2008, 01:49 PM   #25
Default

My SPI + 2 LCD design is practical if you have other SPI devices like EEPROM. Since the LCD is in 8bit mode you simply send the data as you would normally to the SPI port.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 30th May 2008, 02:08 PM   #26
Default

That actually looks like a very nice way to do it too, Bill. And much more flexible as an 8-bit latch for other tasks when you don't toggle the LCD 'E' line as you've shown with the 4x4 keypad option. Heck, you could even drive 4 digit 7 segment display (and lots of other things) with that configuration.

Way to go!

Last edited by Mike, K8LH; 30th May 2008 at 02:14 PM.
Mike, K8LH is offline  
Old 30th May 2008, 03:15 PM   #27
Default

Quote:
Originally Posted by blueroomelectronics View Post
My SPI + 2 LCD design is practical if you have other SPI devices like EEPROM. Since the LCD is in 8bit mode you simply send the data as you would normally to the SPI port.
Hey! That's kind of cool. I have some 164's here I think. Must try it.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz is online now  
Old 2nd June 2008, 07:18 PM   #28
Default

Very nice Bill, that is definitely going in my notes, love to free up some i/o's.

Thanks again!
-BaC

Quote:
Originally Posted by blueroomelectronics View Post
My SPI + 2 LCD design is practical if you have other SPI devices like EEPROM. Since the LCD is in 8bit mode you simply send the data as you would normally to the SPI port.
__________________
Error[888] "while trying to load":[reality.sh] kernel: [Panic!]...{Universe has been Modified!}...
BaCaRdi is offline  
Old 4th June 2008, 03:37 PM   #29
Default

Quote:
Originally Posted by blueroomelectronics View Post
My SPI + 2 LCD design is practical if you have other SPI devices like EEPROM. Since the LCD is in 8bit mode you simply send the data as you would normally to the SPI port.
Bill,

I was just looking at the timing diagrams for SPI and I was wondering when you would strobe the E line on the LCD?

Would you monitor the TRMT flag in the TXSTA register after sending an SPI byte to insure that all 8 bits have been streamed out and latched into the '164 before sending the E strobe signal?

Mike
Mike, K8LH is offline  
Old 5th June 2008, 05:19 AM   #30
Default

You'd have to wait either a delay depending on how fast your SPI bus is running or wait for the TRMT flag.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Reply

Tags
boostc, degree, lcd, sprintf, symbol

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
College Degree: A Complete Waste so far DigiTan Chit-Chat 150 11th August 2008 07:14 PM
math.h and lib for BoostC? futz Micro Controllers 3 31st March 2008 06:29 AM
Symbol ? ATSRND General Electronics Chat 1 9th January 2008 04:05 AM
Final Year Electronics Degree Project rgraj Electronic Projects Design/Ideas/Reviews 2 25th March 2006 05:19 PM
What does this symbol mean? DJ_ReL@X! General Electronics Chat 6 24th October 2004 01:01 AM



All times are GMT. The time now is 12:21 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker