Discussion in "Project Help" started by    kks    Feb 18, 2018.
Sun Feb 18 2018, 06:10 PM
#1
I have been working on this project for a week, spending at least 2-3 hours daily on the computer trying to figure it out. I searched a lot of similar codes for this project and eventually, i successfully created a Hex file for the same. But the problem is that i am not able to run this on Proteus. The simulation starts successfully but nothing happens when i type, even the LCD doesn't display anything. It would be great if someone help me out because i am quite on the verge on loosing my mind here. I have absolutely no background on electronics and have to make this project because the subject requires it. I have included the Proteus file, C file and the HEX file. Please check it out and tell me what's wrong. Thanks!
Attachment


[ Edited Sun Feb 18 2018, 07:03 PM ]
Sun Feb 18 2018, 10:13 PM
#2
Your Proteus simulation does not have an LCD display.
As you have plenty of spare pins I suggest using the LCD in 8bit mode,
(all 8 data pins connected), as programming is easier.
Mon Feb 19 2018, 02:09 AM
#3
I don't understand. I do have a LCD with all the pins connected. I followed the circuit diagram to make the project. I have attached images. You can see that the LCD just lights up on simulation and then nothing happens even if you type on the terminal.





Mon Feb 19 2018, 06:44 AM
#4
The file you posted is not the one shown in the images.
It only contains an 8051.
Please check and re-post.

You have reversed the pins on the display.
Change them to
LCD 8051
D0------ P1.0
D7----- P1.7

Your code is for 4 bit mode, but should work anyway.

Although you could use a motor to unlock something (L293)
it is more common, and easier to use a solenoid.

> It would be great if someone help me out because i am
>quite on the verge on loosing my mind here.

Don't worry, I think you will soon have it working
 kks like this.
Mon Feb 19 2018, 07:26 AM
#5
I am sorry, i didn't checked the file just copy pasted it from Documents. I have reposted the file now. I did as you said and connected the pins as you wrote, and there is now light blinking so i guess you are correct, still there is nothing being displayed on the LCD. But now the Terminal isn't even coming on my Simulation, could be because of some bug on my Software, has happened before. I am quite a noob in this subject, don't know what a solenoid is, but i can't use that as i have already purchased the motor driver module. Anyways thanks a lot for the good words at the end, you are the only one who has replied nicely enough, as i have posted on one or more forums and haven't got a reply yet. Seriously you are great!
Attachment
Mon Feb 19 2018, 11:16 AM
#6
UPDATE - It's working now, but after successfully entering my RFID code the motor doesn't rotate. I have tried different codes for the motor, writing the function separately and inside the if statement, but it just won't rotate. Please take a look at it and tell me what's wrong. Thanks
Attachment
Mon Feb 19 2018, 11:04 PM
#7


UPDATE - It's working now, but after successfully entering my RFID code the motor doesn't rotate. I have tried different codes for the motor, writing the function separately and inside the if statement, but it just won't rotate. Please take a look at it and tell me what's wrong. Thanks

kks


It's a Proteus thing.
Although the schematic looks fine,
there is something wrong around the supply to R1,R2 and the L293.
I have redrawn then and it works. Congratulations


A minor point, you selected 3 watt and 10 watt resistors.
In reality 0.25 Watt would be used.


Attachment
 kks like this.
Tue Feb 20 2018, 02:00 PM
#8



UPDATE - It's working now, but after successfully entering my RFID code the motor doesn't rotate. I have tried different codes for the motor, writing the function separately and inside the if statement, but it just won't rotate. Please take a look at it and tell me what's wrong. Thanks

kks


It's a Proteus thing.
Although the schematic looks fine,
there is something wrong around the supply to R1,R2 and the L293.
I have redrawn then and it works. Congratulations


A minor point, you selected 3 watt and 10 watt resistors.
In reality 0.25 Watt would be used.


Attachment

ExperimenterUK


Thank you so much. It works properly now.

Get Social

Information

Powered by e107 Forum System

Conversation

shshistiem
Thu Sep 13 2018, 04:28 AM
hii!! some1 please let me know how i ll get rfid code to 8051 by WEIGAND mode
DrNossberg
Wed Sep 12 2018, 01:39 AM
is there anyone here?
Mon Aug 27 2018, 01:00 PM
bun
Hello everyone´╝ü
Sat Jul 21 2018, 11:51 AM
Dibakar Bhanja Chowdhury
By using a 555 timer how can I expand the range of the mobile phone jammer? Please reply me asap
Sun May 20 2018, 03:31 PM
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, 12:06 PM
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, 06:24 PM
ashutosh jain
IR Remote Switch using TV remote (RC5 Protocol) is not working properly. opp1 & opp2 is in problem.plz help
ExperimenterUK
Sat Apr 28 2018, 01:39 AM
@kaiserslautern Post in forum
Wed Apr 25 2018, 12:39 PM
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
Sun Apr 22 2018, 01:20 AM
This is a community site. Feel free to help anyone needing advice

Downloads

Comments

PCBindex
Fri Sep 14 2018, 02:45 AM
sirkit
Thu Sep 13 2018, 04:46 AM
shshistiem
Wed Sep 12 2018, 10:36 PM
DrNossberg
Tue Sep 11 2018, 03:25 PM
ranjanvh
Thu Sep 06 2018, 02:28 PM
rbbhamre
Tue Sep 04 2018, 06:15 PM
Tressie
Sun Sep 02 2018, 02:20 PM
Sudhansudeep
Fri Aug 31 2018, 08:26 AM

Online

Guests: 42, Members: 0 ...

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

Members: 38006
Newest member: PCBindex
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Sep 13 2018, 08:39 PM
First of all, by reading your reply, I abandoned m...
DrNossberg Avatar
Posted By DrNossberg
Thu Sep 13 2018, 03:49 PM
Hi, thanks you for your reply ^^ First of all, by ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Sep 12 2018, 12:12 AM
HiThere are several issues here.The original 8051 ...
DrNossberg Avatar
Posted By DrNossberg
Tue Sep 11 2018, 08:08 PM
Hello everybody!First of all let me explain some s...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Sep 07 2018, 05:08 AM
The compiler thinks the micro doesn't have enough...
Sudhansudeep Avatar
Posted By Sudhansudeep
Fri Sep 07 2018, 02:59 AM
this is the build output message
Sudhansudeep Avatar
Posted By Sudhansudeep
Fri Sep 07 2018, 01:38 AM
Change the mobile number as [number removed] in t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Sep 06 2018, 08:56 PM
I don't know what the problem is, I get no errors....
Sudhansudeep Avatar
Posted By Sudhansudeep
Thu Sep 06 2018, 01:12 PM
the code is Attachment ...
Sudhansudeep Avatar
Posted By Sudhansudeep
Thu Sep 06 2018, 12:48 PM
the code is same as u sent me for 16 chars