Discussion in "Project Doubts" started by    saxenanitesh    Mar 3, 2008.
Thu Jul 25 2013, 05:35 pm
it is the same code given in the project,i have just changed the port numbers for the display.i think it is compiled using RIDE.no,i didn't try to convert it to keil.how can I do that?any suggestions
Thu Jul 25 2013, 08:05 pm


This code does look much different to Keil assembly code.
Have you tried to convert it to Keil ?

ExperimenterUK


Whoops.. should have read
This code does not look much different to Keil assembly code.


it is the same code given in the project,i have just changed the port numbers for the display.i think it is compiled using RIDE.no,i didn't try to convert it to keil.how can I do that?any suggestions

gsriram187


The main difference are the definitions.
First work out what the original definitions mean, then replace them with the way
Keil does it.

eg
DIS_A EQU P0.1 is DIS_A BIT P0.1 in Keil.


Copy the new version to a new keil project.
Save the new text as a .a51 file.
Make it the only source file in the new project.
Try to compile it.
Try to understand the errors you get and eliminate them one by one.


[ Edited Thu Jul 25 2013, 08:15 pm ]
Sat Jul 27 2013, 10:35 pm
will try that.thanks.
Fri Aug 09 2013, 04:14 pm
should I change only that part or anything else
Fri Aug 09 2013, 04:17 pm
only change is DIS_A EQU P0.1 should be replaced by DIS_A BIT P0.1?
Fri Aug 09 2013, 04:22 pm
actually what compiler they have used to compile the program?
I tried using RIDE and also keil.both are giving me a lot of errors and it is not getting compiled.now I can use only keil. can I write the header file as #include<reg51.h> in keil?


[ Edited Fri Aug 09 2013, 04:23 pm ]
Mon Aug 12 2013, 09:51 am
this is assembly code so you cannot do #include in it. gsriram, can you create a saperate thread for your problem? I do not want this old thread to be populated again. Create a new thread with all the errors you're getting in keil. also post the assembly code.
Fri May 16 2014, 12:39 am
Can you please explain the use of 555 Timers in the RECIEVER CIRCUIT. I cannot understand that. Please respond a.s.a.p. thanks
Fri May 16 2014, 02:10 am


Can you please explain the use of 555 Timers in the RECIEVER CIRCUIT. I cannot understand that. Please respond a.s.a.p. thanks

ahmedrmalik11


The original author used an old design for sending and receiving Infra-red.
You should probably redesign the receiving side as the 555 is not needed.

Fri May 16 2014, 02:38 pm



Can you please explain the use of 555 Timers in the RECIEVER CIRCUIT. I cannot understand that. Please respond a.s.a.p. thanks

ahmedrmalik11


The original author used an old design for sending and receiving Infra-red.
You should probably redesign the receiving side as the 555 is not needed.


ExperimenterUK



Cant we just connect the output of TSOP1738 directly to the microcontroller? Because it will be HIGH when someone has entered the room and LOW when the entrance/exit is clear of people.
I fail to understand the use of 555 timers on the reciever side

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Danieldus
Sun Jun 16 2024, 09:44 pm
Richardrig
Sun Jun 16 2024, 03:05 pm
StevenBrere
Sun Jun 16 2024, 04:23 am
Meganmiz
Sat Jun 15 2024, 09:17 pm
RobertDremn
Sat Jun 15 2024, 02:18 pm
Eugenearilk
Fri Jun 14 2024, 03:16 pm
Bennygal
Fri Jun 14 2024, 11:56 am
PeterHow
Thu Jun 13 2024, 06:00 pm