PDA

View Full Version : Need Single wire serial LCD converter example



polymer52
- 15th December 2009, 13:41
Does anyone have an example of using a pic with a single wire serial input and use like debugin then send out to a 4 bit parallel LCD.
It's apparently harder than it sounds and a greatly kept secret.
Ive seen 2 and 3 wire serial converters but no single wire and I haven't been able to make it work.

lew247
- 15th December 2009, 14:35
Not certain if external links are allowed here, if not can someone remove it please

1 wire lcd solution

http://www.romanblack.com/shift1.htm

He says it's all open source so I presume its ok to post.

What I'd like is some picbasic examples of driving it (making it work) as the code he used was written in C

http://www.romanblack.com/shift1/shift1sch.gif

polymer52
- 15th December 2009, 15:52
Thanks but not exactly what I was looking for.

Archangel
- 15th December 2009, 16:12
Does anyone have an example of using a pic with a single wire serial input and use like debugin then send out to a 4 bit parallel LCD.
It's apparently harder than it sounds and a greatly kept secret.
Ive seen 2 and 3 wire serial converters but no single wire and I haven't been able to make it work.
Hi polymer52,
3 wire: power, ground, data
2 wire: data, ground
1 wire: data . . . how does the circuit path complete? Unless you use Earth Ground, which is essentially how wireless works.
Check out the code in post 16 of this post:
http://www.picbasic.co.uk/forum/showthread.php?t=4972&highlight=cren

polymer52
- 15th December 2009, 18:22
Well of coarse it's going to have to have a ground. I meant a single data line and ground.
I'm using a 12f675 and I have only one pin left available. I've been sending debug info out that pin to a pc terminal but I'd rather use a LCD since I have several (parallel) lying around.

BTW nice tag line.

Bruce
- 15th December 2009, 19:41
MeLabs has a simple code example showing how to make your own serial LCD here;
http://www.melabs.com/resources/samples/x3/PBP/BPX3.BAS

polymer52
- 15th December 2009, 20:39
MeLabs has a simple code example showing how to make your own serial LCD here;
http://www.melabs.com/resources/samples/x3/PBP/BPX3.BAS

Looks like exactly what I am looking for.
Thanks Bruce

Dennis
- 16th December 2009, 02:30
Hi there

just search the forums for LCD BACKPACK there a plenty cool examples

Hope that helps

Dennis