Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 26, 2024, 09:40:36 09:40


Login with username, password and session length


Pages: [1]
Print
Author Topic: Two wire LCD interface in Proteus  (Read 5640 times)
0 Members and 1 Guest are viewing this topic.
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« on: July 02, 2007, 10:30:55 10:30 »

My aim was to control a simple 2x16 char LCD and a traffic light,
and query two switches, all with the smallest PIC (12c508).
 
The challenge was to fit the required code and circuitry to this chip.

Sorry but I wrote the program in pure assembly.
This is my first PIC work and it doesn't a perfect prg, hence I don't attached it.

Can somebody writing this prg (this functionality) in Basic or C ?
My (hard optimalized) assembly prg's lenght is 453 words.

The Proteus 7.1 sp2 simulation (ZIP) is attached here.

Remark:
The full (with source) is attached yet (look at my next post here).
« Last Edit: July 02, 2007, 12:14:00 12:14 by zuisti » Logged
mehdi65
Guest
« Reply #1 on: July 02, 2007, 11:44:35 11:44 »

hi
the sample 2wirelcd and 3 wire lcd for avr
source code withe win-avr


source:http://www.scienceprog.com/connect-lcd-to-atmega-using-3-wires/
http://www.scienceprog.com/interfacing-lcd-to-atmega-using-two-wires/ Wink
Logged
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« Reply #2 on: July 02, 2007, 12:03:58 12:03 »

Thanks Mehdi for the links!

I attach my full Proteus simulation now with source too.
It is in assembly but (I hope) well commented.

Do not forget usihg the two switches...

Regards
 zuisti
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC