Discussion in "Project Help" started by    snehagupta    Oct 20, 2007.
Sat Oct 20 2007, 03:37 pm
#1
hi... i read your code.... first of all wen u give target $ where do u want to jump
i mean i m not able to find $ in whole program as a label...
please help me out with this
and secondly i m not getting wat the different functions do
like fcmd fadd so i m not able to find work they r doing
pls help me out with this..
i mean i need a very little description of these functions....
reply asap!!!!!!!!!!!!
Sat Oct 20 2007, 08:11 pm
#2
Hi sneha,
Welcome to the website.. so regarding your doubt, $ is means the current location of Program Counter So using this assembler directive tell the assembler that we are jumping on the same location..
so using..
sjmp $
is same as
here: sjmp here

regarding your second doubt, fcmd and fadd are label not functions.. as you know in RC5 protocol address is 5 bits and command is 6 bits wide. so to read these 5 bits of address i use the label fadd which means Find Address. and to read 6 bits of command i use label fcmd which means Find Command

I hope you have understood if anymore questions please ask.
 snehagupta like this.
Sat Oct 20 2007, 10:14 pm
#3
thanks.........
one more thing i wanna know is that with which buttons of remote control mouse will work
which button will move cursor up down left or right.......
and next is i have to write code in c language
can u tell me wat things i have to read for that
i only know assembly language of 8051
i hv to make this pro using motorola 8 bit microcontroller
i hv datasheet of that microcontroller
thanks for your help
Sat Oct 20 2007, 11:14 pm
#4
read the RC5 protocol carefully..
and just write normal program.. C is not much different.. just be cool when writing program don't think too much that its for a microcontroller
not much is needed.. thats all..

And regarding the button..
the power button is used to switch between mouse mode and key mode, by default its in mouse mode.
Sun Oct 21 2007, 09:58 am
#5
hey thanks a lot.........
need some help again...
i just wanna know which phillips remote control you have used like RC2573GR, RG4712BK etc
and r u using XTAL AND EXTAL for providing external counter.... what freq r u using for this project
one more thing i wanna ask is in mouse mode it will move cursor of mouse and in key mode what will it do
and we r sending codes to the pc serial port from 30H to 39H
i wanna know which code will do which operation on pc
i m unable to get this info from net

i hope to get reply from you soon........
thanks


[ Edited Sun Oct 21 2007, 10:03 am ]
Sun Oct 21 2007, 01:33 pm
#6
I don't know which remote is mine.. its just a general purpose remote found easily in market..
and frequency of modulation is 36Khz and TSOP1736 demodulates it.

for operation on PC, i wrote the VB software which do all the PC stuff. in key mode, the remote is used to control WMP 11. see the software for more information.
 snehagupta like this.
Sun Oct 21 2007, 06:03 pm
#7
hey thanks i just wanna know remote of which phillips tv
if u can tell me model of phillips tv then pls do so
and i m doing this project and i have to complete it very soon
so if u could give me software u wrote for PC because i m not able to get it on site
thanks for all your help
Sun Oct 21 2007, 06:54 pm
#8
SAA3006, SAA3010 or SAA3027 seems to be the transmitter ICs for the Phillips remote. Or just go to your local market and visit any TV repair shop. ask for a phillips remote they will give you a remote which is surely a RC5 compatibility.
Regarding PC software you might need to wait. I will give not give away the complete code as such but I will be providing complete info.. you just have to wait for it. As i am busy doing other jobs.
 snehagupta like this.
Sun Oct 21 2007, 07:08 pm
#9
oki.... thanks
i ll wait for the info
but pls do it as soon as possible as i m already late to complete project.....
thanks a lot again for all the help
Mon Oct 22 2007, 08:37 pm
#10
hey
i thing i wanna know is you r using two types of delay in your code. i wanna know each delay is of how much duration like how much msec...
last is you r comparing the command and last command if they r same. if they r same then u r going back to check if key is pressed and if last command and recent command r not same then u r comparing FLIP bit with Flip bit of last command and if they r same then returning back to main anf if they diff then proceed. My doubt is we shud compare FLIP and TOG bit in case CMD and last command that is TEMP to see if same key is pressed second time...
reply as soon as possible....

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am