First experiments with HB2 PMOD
We have connected the OC1B output (SERVO1 on Cerebot) to DIR1 on HB2 PMOD (see also Brochure and Reference manual, and ICP1 (SERVO2 on Cerebot) to EN1 on HB2 PMOD. Then we made a program that generates an 8 kHz signal with 50% duty cycle on ICP1, while keepng OC1B on, with the hope this is going to steer the motor with 50% power. The NXT LEGO brick steers the motor in this way. The signal we generated looked like this:
However, the output from the HB2 PMOD when connected to the NXT motor looked like this:
And when connected to the 9V LEGO Motor coming with RCX, it looked like this:
As a result, the NXT motor was beeping at perhaps 8 kHz, but moving very weakly, and the 'RCX motor' was moving on kind of half speed, but with a little bit unusual sound.
The HB2 PMOD is configured to use the VCC voltage for powering motors, which is the 9V from a DC adapter that is able to supply 2A on 9V.
All feedback will be appreciated.