CMPS01 Compass Module
Hi-de-hi Stampers !
Has anyone successfully interfaced a BS2-SX with a CMPS01 Compass Module ?
I have one of these modules and got it working on an OOPIC from a sample
circuit diagram and code but talking I2C.
My robot brain is a BS2-SX and I'm not ready to rework the entire machine to
run from the OOPIC just yet. The documentation tells me that there is a PWM
output available but also talks of decoupling the 5v supply due to a current
spike of up to 400mA during coil switching. This makes me wary of just
wiring it straight to the stamp !
Any information would be most gratefully received. If you'd like to look at
the docs for the compass, you can find them at
http://www.robot-electronics.co.uk/htm/cmps.shtml
Thanks in advance.
Regards,
Justin.
-- Live and learn - or else what's the point ?! --
Has anyone successfully interfaced a BS2-SX with a CMPS01 Compass Module ?
I have one of these modules and got it working on an OOPIC from a sample
circuit diagram and code but talking I2C.
My robot brain is a BS2-SX and I'm not ready to rework the entire machine to
run from the OOPIC just yet. The documentation tells me that there is a PWM
output available but also talks of decoupling the 5v supply due to a current
spike of up to 400mA during coil switching. This makes me wary of just
wiring it straight to the stamp !
Any information would be most gratefully received. If you'd like to look at
the docs for the compass, you can find them at
http://www.robot-electronics.co.uk/htm/cmps.shtml
Thanks in advance.
Regards,
Justin.
-- Live and learn - or else what's the point ?! --
Comments
routines from www.high-techgarage.com . I haven't got to th 2 byte mode
yet.
I also got it going in both modes with the BX24 using Prof. Anderson's I2C
routines.
The chip on board is a PIC, the same as the BS2, so direct connect should
not be a problem for i/o but you shouldn't run it off the BS?'s regulator.
> Hi-de-hi Stampers !
>
> Has anyone successfully interfaced a BS2-SX with a CMPS01 Compass Module ? I
> have one of these modules and got it working on an OOPIC from a sample
circuit
> diagram and code but talking I2C.
>
> My robot brain is a BS2-SX and I'm not ready to rework the entire machine to
> run from the OOPIC just yet. The documentation tells me that there is a PWM
> output available but also talks of decoupling the 5v supply due to a current
> spike of up to 400mA during coil switching. This makes me wary of just wiring
> it straight to the stamp !
>
> Any information would be most gratefully received. If you'd like to look at
the
> docs for the compass, you can find them at
> http://www.robot-electronics.co.uk/htm/cmps.shtml
>
> Thanks in advance.