by bauermech » Mon Jun 26, 2006 12:43 am
by bauermech
Mon Jun 26, 2006 12:43 am
upload
http://robosavvy.com/Builders/bauermech/gyrohelp.BAS
into your RN-1.
By pressing button 1, turns gyro's off... 2 turns both of them on, 3 turns ony the fore/back on, and 5 turns only right/left sway on.
...see if that works. (I haven't tested this particular code)
You can call the subroutine gyro_on or gyro_off in code to turn off the gyros when you have problems w/ certain moves and back on once he needs them again...
Some other people have been asking, so I'll post this too:

...It's about everything I know about these.
The key to making the gyros work well is in their placement and adjusting the pots inside each gyro. For forward/backward gyros, the shoulder works well. Just be sure it's facing the right direction (see pic). The way I have it set up is that gyro one is fore/back (robot's left shoulder in pic) and is connected to AD0 (gyro's pre-existing lead) and AD4 (lead you need to install) - gyro two (R/L sway - robot's right shoulder in pic) is on AD 1 (gyro's pre-existing lead) and AD5 (lead you need to install).
Next, adjust the gain pot right between 1/3 and the half-way point. Then w/ the RN-1 on, set the setup pot so that your robot stands upright. The red and green LED's should light up simultaneously. You can tweak it as needed, but this should give you a good starting point. If you notice twitching, turn the gain down (slightly) and re-adjust the setup pot to compensate.
For the right/left (sway) gyro, I set the gain between 1/4 to 1/3 from nil. Unlike the fore/back gyro, the red LED seems to always stay on after adjusting the setup pot. As long as he looks perpendicular to the floor, and isn't twitching, it's right. Remember, AD pins on the MR-C3024 are as follows
Top pin = gnd (black or brown)
Center pin = + (red)
Bottom pin = signal (white or orange)
When making the return lead from the gyro to the AD pin, only the signal is needed. You can leave out hte positive and the ground.
If none of this works w/ your GWS PG-03, I don't know what to tell you. Maybe you have a defective gyro?
Good luck

upload
http://robosavvy.com/Builders/bauermech/gyrohelp.BAS
into your RN-1.
By pressing button 1, turns gyro's off... 2 turns both of them on, 3 turns ony the fore/back on, and 5 turns only right/left sway on.
...see if that works. (I haven't tested this particular code)
You can call the subroutine gyro_on or gyro_off in code to turn off the gyros when you have problems w/ certain moves and back on once he needs them again...
Some other people have been asking, so I'll post this too:

...It's about everything I know about these.
The key to making the gyros work well is in their placement and adjusting the pots inside each gyro. For forward/backward gyros, the shoulder works well. Just be sure it's facing the right direction (see pic). The way I have it set up is that gyro one is fore/back (robot's left shoulder in pic) and is connected to AD0 (gyro's pre-existing lead) and AD4 (lead you need to install) - gyro two (R/L sway - robot's right shoulder in pic) is on AD 1 (gyro's pre-existing lead) and AD5 (lead you need to install).
Next, adjust the gain pot right between 1/3 and the half-way point. Then w/ the RN-1 on, set the setup pot so that your robot stands upright. The red and green LED's should light up simultaneously. You can tweak it as needed, but this should give you a good starting point. If you notice twitching, turn the gain down (slightly) and re-adjust the setup pot to compensate.
For the right/left (sway) gyro, I set the gain between 1/4 to 1/3 from nil. Unlike the fore/back gyro, the red LED seems to always stay on after adjusting the setup pot. As long as he looks perpendicular to the floor, and isn't twitching, it's right. Remember, AD pins on the MR-C3024 are as follows
Top pin = gnd (black or brown)
Center pin = + (red)
Bottom pin = signal (white or orange)
When making the return lead from the gyro to the AD pin, only the signal is needed. You can leave out hte positive and the ground.
If none of this works w/ your GWS PG-03, I don't know what to tell you. Maybe you have a defective gyro?
Good luck
