Let's Make Robots!


PICAXE HWPM - 2 motors

I'm having trouble trying to understand how to use HPWM to control both motors of my 2-wheeled robot.

How to use HPWM for picaxe chips.

This information is based on the chip that is used for the 20x2(PIC18F14K22) To get a better understanding of the modes, I suggest referencing this datasheet for further information on the chips features. IMages and info are referenced from both the picaxe 2 manual and the PIC datasheet for the above mentioned chip.

HPWM, what is it?

Airship differential steering troubles

Hi all,

I'm faced with a problem - some friends and I are building a semi-autonomous airship (only a little one) and I've been given the electronics and programming to do, but I'm having trouble getting the pwm commands to work properly.

I'm using a little joystick with 2 pots to control it, the y-direction one controls the overall speed and direction of both motors and the x-direction one puts a left/right bias on them to turn the thing.

Here's the bit of test code I've got with just the one pot being used


symbol zero1 = b1

symbol zero2 = b2