Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

RC and gyro on Robonova.

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
6 postsPage 1 of 1
6 postsPage 1 of 1

RC and gyro on Robonova.

Post by oldexter » Fri Sep 26, 2008 10:10 pm

Post by oldexter
Fri Sep 26, 2008 10:10 pm

Hello.
I have installed an RC receiver on my Robonova.
Its working quite good.
I have download the source codes on Hitec.de
Now I want to add an gyro but I dont know wich port I must use.
My receiver uses port 0123.
I think the gyro uses port 1 and 4.
So both uses port 1
Is it possible to use radio control and gyro together and in wich ports?

Mabye this sounds stupid but should I write the codes for the gyro above the rc template program ?

I am not a programmer but I am willing to learn

Thanks
Egon
Hello.
I have installed an RC receiver on my Robonova.
Its working quite good.
I have download the source codes on Hitec.de
Now I want to add an gyro but I dont know wich port I must use.
My receiver uses port 0123.
I think the gyro uses port 1 and 4.
So both uses port 1
Is it possible to use radio control and gyro together and in wich ports?

Mabye this sounds stupid but should I write the codes for the gyro above the rc template program ?

I am not a programmer but I am willing to learn

Thanks
Egon
oldexter
Newbie
Newbie
Posts: 5
Joined: Wed Sep 03, 2008 6:35 pm

Post by Sazabi » Fri Sep 26, 2008 10:30 pm

Post by Sazabi
Fri Sep 26, 2008 10:30 pm

If you are using rcin,than u can move your contast a bit, i.e. use ad1,2,3,5 for RC and ad0 and ad4 for gyro.
If you are using rcin,than u can move your contast a bit, i.e. use ad1,2,3,5 for RC and ad0 and ad4 for gyro.
Sazabi
Savvy Roboteer
Savvy Roboteer
Posts: 73
Joined: Mon Jan 07, 2008 8:57 am

Robonova wth RC and gyro

Post by oldexter » Sat Sep 27, 2008 1:01 pm

Post by oldexter
Sat Sep 27, 2008 1:01 pm

Sazabi wrote:If you are using rcin,than u can move your contast a bit, i.e. use ad1,2,3,5 for RC and ad0 and ad4 for gyro.


OK Thanks.
Yes I am using RCin.
I have tryed to change the ports in 1,2,3,5 in the template ( line 9,10,11,12.
But this wasnt enough.I dont know what to do with line 397,398,399,400 etc.Any ideas?
And are there mabye other RC templates that I can download?
Thanks again.
Sazabi wrote:If you are using rcin,than u can move your contast a bit, i.e. use ad1,2,3,5 for RC and ad0 and ad4 for gyro.


OK Thanks.
Yes I am using RCin.
I have tryed to change the ports in 1,2,3,5 in the template ( line 9,10,11,12.
But this wasnt enough.I dont know what to do with line 397,398,399,400 etc.Any ideas?
And are there mabye other RC templates that I can download?
Thanks again.
oldexter
Newbie
Newbie
Posts: 5
Joined: Wed Sep 03, 2008 6:35 pm

Post by Sazabi » Sat Sep 27, 2008 2:33 pm

Post by Sazabi
Sat Sep 27, 2008 2:33 pm

file named RC Template (20060730)?
RC0 = RCIN(0) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2
this lines?
you should change those numbers in () use 1,2,3 and 5 instead of 0,1,2 and 3
file named RC Template (20060730)?
RC0 = RCIN(0) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2
this lines?
you should change those numbers in () use 1,2,3 and 5 instead of 0,1,2 and 3
Sazabi
Savvy Roboteer
Savvy Roboteer
Posts: 73
Joined: Mon Jan 07, 2008 8:57 am

Post by limor » Sat Sep 27, 2008 4:41 pm

Post by limor
Sat Sep 27, 2008 4:41 pm

limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

robonova with RC control and gyro

Post by oldexter » Sat Sep 27, 2008 7:22 pm

Post by oldexter
Sat Sep 27, 2008 7:22 pm

Sazabi wrote:file named RC Template (20060730)?
RC0 = RCIN(0) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2
this lines?
you should change those numbers in () use 1,2,3 and 5 instead of 0,1,2 and 3


Thanks guys for the response.

I have changed the numbers and NOW IT WORKS!!
I dont know what to do without the help from the experts.

Next step is to add my gyro and the codes.

Have a great weekend
Thanks again
Sazabi wrote:file named RC Template (20060730)?
RC0 = RCIN(0) 'RX PORT 1 -- AD PORT 0
RC2 = RCIN(1) 'RX PORT 3 -- AD PORT 1
RC1 = RCIN(2) 'RX PORT 2 -- AD PORT 1
RC3 = RCIN(3) 'RX PORT 4 -- AD PORT 2
this lines?
you should change those numbers in () use 1,2,3 and 5 instead of 0,1,2 and 3


Thanks guys for the response.

I have changed the numbers and NOW IT WORKS!!
I dont know what to do without the help from the experts.

Next step is to add my gyro and the codes.

Have a great weekend
Thanks again
oldexter
Newbie
Newbie
Posts: 5
Joined: Wed Sep 03, 2008 6:35 pm


6 postsPage 1 of 1
6 postsPage 1 of 1