Raspberry Pi Pico W with CMPS11 compass
Example code of connecting the Raspberry Pi Pico W to a CMPS11 digital compass.
Connections
Description | Colour | Pico W | CMPS11 compass |
---|---|---|---|
Power 3v | Orange | pin36 3V3(OUT) | 3.3v |
Ground | Black | pin3 GND | GND |
i2c Data | White | pin1 GP0 i2c0 SDA | Second from top |
i2c Clock | Blue | pin2 GP1 i2c0 SCL | Third from top |
![iconI2C.png](iconI2C.png)
![volts33.png](volts33.png)
Photo
![Raspberry Pi Pico W with CMPS11 compass](20230301_113855/20230301_113855_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130010/20230303_130010_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130022/20230303_130022_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130034/20230303_130034_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130049/20230303_130049_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130110/20230303_130110_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130124/20230303_130124_600.jpg)
![Raspberry Pi Pico W with CMPS11 compass](20230303_130133/20230303_130133_600.jpg)