Discussion in "Project Help" started by    Bdavid    Oct 9, 2017.
Mon Oct 09 2017, 02:38 PM
#1
Hello,

This might be a beginner’s mistake but I am using an AT89C51, 2 rom chip, 2 ram chip, gal22v10, keypad, lcd, real time clock and temperature sensor. I was connected everything together using orcad schematic but I noticed that one side of my 8051 is stuck on the very first instructions I use. For example if I set port 1 or port 3 to 0 and try to switch it again to 1 it just stays on 0 and vice versa. Everything else works on the other side of the circuit.

Anyone knows why it is getting stuck on the first instruction even if I put it in a loop?

PS: my code is running from the eeprom.
Tue Oct 10 2017, 09:43 PM
#2
Are you simulating in Orcad ?
Please post your code and schematic. (zip and attach it to your next post)
Do your have a version of your project for Proteus ?

Wed Oct 11 2017, 01:54 AM
#3


Are you simulating in Orcad ?
Please post your code and schematic. (zip and attach it to your next post)
Do your have a version of your project for Proteus ?


ExperimenterUK



I used ORCAD schematic and I attached the files to this reply. Thanks
Attachment
Mon Oct 16 2017, 11:44 PM
#4
That looks complicated.
Is 8051_BLK a standard 8051 ?
You only posted the LCD asm file, not the main file(s).

Get Social

Information

Powered by e107 Forum System

Conversation

Sun May 20 2018, 10:01 AM
justinb
how to write and execute a program that read the keypad button and display the number on 7 segment on intel8051 at89s52 in assembly language?
Thu May 17 2018, 06:36 AM
HAMZA TAJ
sir iwant to ask about controller of three phase supply by using back to back thyristor instead of triac....will u give me some guideline?
Sat Apr 28 2018, 12:54 PM
ashutosh jain
IR Remote Switch using TV remote (RC5 Protocol) is not working properly. opp1 & opp2 is in problem.plz help
ExperimenterUK
Fri Apr 27 2018, 08:09 PM
@kaiserslautern Post in forum
Wed Apr 25 2018, 07:09 AM
kaiserslautern
Hello everyone, using software uart is a very good idea for a second serial port. Thank you so much. I would kindly like to know how to connect this port to the PC?
ExperimenterUK
Sat Apr 21 2018, 07:50 PM
This is a community site. Feel free to help anyone needing advice
hareeshchamiyar
Thu Mar 29 2018, 10:47 AM
please help me for the configuration bits for dspic30f2010
hareeshchamiyar
Thu Mar 29 2018, 10:45 AM
can any one using dspic30f2010.
Thu Mar 29 2018, 06:03 AM
Neena
can anybody give solar tracking in 8051 using proteus and keil to mail [email protected]
ExperimenterUK
Mon Mar 19 2018, 07:33 PM
sorry bedo.. maybe next time

Downloads

Comments

bdmehta
Tue May 22 2018, 02:30 AM
kmag1953
Sun Apr 29 2018, 07:09 PM
udiwonder
Sat Apr 28 2018, 12:41 PM
pirpiri
Sat Apr 21 2018, 03:35 PM
Pater
Fri Apr 20 2018, 02:38 PM
jamiel
Sat Apr 14 2018, 12:47 AM
akrepkral76
Wed Apr 04 2018, 07:51 PM
samanthaeaves
Mon Apr 02 2018, 06:27 AM

Online

Guests: 57, Members: 0 ...

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

Members: 37998
Newest member: bdmehta
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Jun 21 2018, 10:49 PM
The frequency of the pulses has to be the same as ...
LAMBO Avatar
Posted By LAMBO
Thu Jun 21 2018, 02:13 PM
hi sircan we change the frequency on pin no 39 of ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jun 16 2018, 11:33 PM
hi sir sorry for the late reply sir can we control...
LAMBO Avatar
Posted By LAMBO
Sat Jun 16 2018, 07:15 AM
hi sir sorry for the late reply sir can we control...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 14 2018, 10:17 PM
So the main problem is that I am not getting Analo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 14 2018, 09:40 PM
Hi sir after checking all the connection i...
Pater Avatar
Posted By Pater
Mon May 14 2018, 05:36 PM
Basically my project is based on Data Acquisition ...
LAMBO Avatar
Posted By LAMBO
Sun May 13 2018, 02:13 PM
Hi sir after checking all the connection i...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 07 2018, 07:27 PM
This design should be fine.Choose a frequency betw...
Pater Avatar
Posted By Pater
Mon May 07 2018, 01:28 PM
Sorry for late reply as exams were on,Based on my ...