First experiments with HB2 PMOD

From RoboWiki
Revision as of 15:03, 4 December 2006 by Palo (talk | contribs) (Measurements of HB2 first experiment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:

Hb2 pmod signal.gif

However, the output from the HB2 PMOD when connected to the NXT motor looked like this:

Hb2 pmod nxt.gif

And when connected to the 9V LEGO Motor coming with RCX, it looked like this:

Hb2 pmod rcx.gif

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.

Palo (ppetrovicZavinac.gifacm.org).