Discussion in "Project Addition or Changes" started by    dvjayk    Jun 8, 2017.
Thu Jun 08 2017, 06:13 AM
I have seen the tuorial(link): https://www.8051projects.net/lcd-interfacing/lcd-4-bit.php
its working.

but I want LCD interfacing using a single port that is Port0 only.

In our circuit RS, RWa and En are connected to P0.1, P0.2 and P0.3 repectively. and

LCD's D4 to D7 connected to P0.4 to P0.7 respectively

But its not working.

Expecting a solution from you.

Thu Jun 08 2017, 05:46 PM
Tutorial already shows an example where lcd is connected to port3. you can change it to Port0 easily. in 4bit mode RW pin is usually grounded. This will save you a port pin.

check tutorial here: https://www.8051projects.net/lcd-interfacing/lcd-4-bit-programming.php
Fri Jun 09 2017, 05:35 AM
The code in the tutorial uses certain pins for data and control.

To change it for your pins, you will need to edit around 1/3 of the lines.
The 'C 'version will be easier to change than the assembly version.
Remember that port 0 will need pull-up resistors that are not
needed on the other ports.

[ Edited Fri Jun 09 2017, 05:51 PM ]

Get Social


Powered by e107 Forum System


Sat May 15 2021, 11:47 AM
Derek Wolcott
Geometric Energy Corporation announced the dogecoin-funded mission on Sunday, with DOGE-1 representing a 40 kilogram cube satellite flying as a payload on a Falcon 9 rocket.
Thu May 13 2021, 07:18 PM
Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly. https://mkfinstitute.com Trisha Trisha
Wed May 12 2021, 01:23 PM
Jed Roan
Now you can promote your site all over the internet for FREE: http://www3.listofsitesthatacceptfreeads.club
Wed May 12 2021, 08:20 AM
If some one wants to be updated with most recent technologies afterward he must be visit this web page and be up to date every day. annual credit report https://creditscoresetf.com
Wed May 12 2021, 06:11 AM
Great website. A lot of useful information here. I'm sending it to some pals ans also sharing in delicious. And of course, thanks on your effort! annual credit report https://creditscorecheckn.com



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 103, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123