Re: [WheelWatcher] WW-01 Code



CURTIS M ARMER wrote:
Please let me know if I am posting correctly in this forum becasue I am not
sure.

Yes, you are.

  I am having problems with the
"<http://www.nubotics.com/support/ww01/code/ccs_c/ww01_picc_square.c.php>* "
for CCS.

What version of CCS are you using?

I am using just a standard PIC16F877 and using parallax continous
rotation servos.

OK. Please post the parts of the example that you changed -- the #defines at the start, plus any other sections you may have edited.
You at least needed to have uncommented the line that says:
//#define RC_SERVO_MODE 1
so it looks like this:
#define RC_SERVO_MODE 1

I am able to go through the encoder test and when I manually
turn the wheels I see positions change.

Good.

  Then I hit enter to see the individual
wheels turn but nothing turns.  If I comment out the #define
LEFT_CLK_ON_TIMER_1 the wheels just turn constantly.

On the PIC itself B1 and B2 go directly to the servos

Did you make any changes to ww01_picc_square.h in the #defines affecting hardware? Or are they the defaults?

B4 and B5 are connected to the dir lines of encoder,

OK.

C0 left servo clk A4 right servo clk.

OK.

Does B1 and B2 need to be connected to C2 and C1 respectively?


No.

-Pete





This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.