Discussion in "Project Addition or Changes" started by    sandeep    Jan 23, 2007.
Tue Jan 23 2007, 06:47 pm
#1
HELLO AJAY SIR,
I TRIED HOME AUTOMATION ALL C AND HEADER FILES IN KEIL SOFTWARE,,,WHICH DEVICE WE NEED TO SELECT--(ATMEL T8051)..AS GIVING ERRORS IN HEADER FILES, SO WHAT SHOULD I DO...I HAVE TO MODIFY IT AND USE TO CONTROL TELESCOPE AND GET BACK COMMANDS WHAT I OPERATED.PLEASE TELL ME HOW TO MAKE USE AND LEARN HOW TO MODIFY THE C AND HEADER FILES..EVEN COPY PASTE OF HEADER FILES NOT WORKING AS KEIL USE $RETURN AND START IN THEM...
Wed Jan 24 2007, 01:23 pm
#2
you need to use AT89C51 not T8051.
select the Atmel instead of Philips. I didnt get what you ment by controlling a telescope.. :-? please be clear and DONT USE CAPITALS. IT SHOWS AGGRESSIVENESS i already told u
Wed Jan 24 2007, 06:47 pm
#3

Rickey


ok, as i have to implement it by using commands to control the motor for navigation of d telescope ...so m guide wants me to make my own c file in keil,but it showing errors coz of some external memory limitation...so can i modify or use something else...
really i regret for using d caps in earlier thread in dis forum...14.gif
Wed Jan 24 2007, 07:47 pm
#4
The problem of memory limitation is because of Demo Version of Keil. that means you cannot extend the code above 2K.

Navigation of a telescope can be achieved by using stepper motor. so u can have a command to rotate telescope in horizontal and vertical direction and how many degrees. The information of one step and how many degree it traverse in a single step can be found in the Datasheet of the stepper motor.
so what you can do is. make a command "rot" and then ask for horizontal movement in degrees and vertical movement in degrees, then activate motors applying a logic to convert "degrees to rotation" or "degrees to steps". thats how navigation can be achieved.
Thu Feb 01 2007, 11:05 am
#5
hi ajay, i was out for a week for IIT, TECHFEST AT MUMBAI. it was awesome there seeing robowars of 60 pound robot..cant imagine the robos n projects they made there, as it was an international event.
sir i found that it was 1000 times divided for a 1 degree..also there are two stepper motors as u told...
yes i have to move it, also have to get back the brightness n other parameters back as it works in home automation right now.
so where i have to change in C files...is there any alternative to use than keil software...
Thu Feb 01 2007, 01:07 pm
#6
well... you can use SDCC as alternative.. but need to make few changes.. coz some macros which are avaialbe in keil only. first is the header files and then.. is the change of parameter declaration.
so as you have got the degrees in one step then its easy to implement. now u can think of a sphere where telescope has to rotate.. and.. every position is determined by relative movement in degrees. get the amount of degrees to rotate fromt the user and process it. its simple.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm
Richardedils
Wed Apr 24 2024, 04:07 am
ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am