About SPRESENSE Add-on Boards

Asked 2 years ago, Updated 2 years ago, 104 views

I am thinking of using the geomagnetic and gyro sensors on the SPRESENSE add-on board.
Each sensor has a separate add-on board, and looking at the pin arrangement, it seems that it cannot be used with one SPRESENSE.
In this case, do I have to prepare two SPRESENSE?

spresense

2022-09-30 21:39

1 Answers

This is an I2C interface, so you can use it together by connecting the Add-on board in a stacked configuration.

ROM SENSOR
https://www.rohm.co.jp/support/spresense-add-on-board
Bosch sensors https://www.switch-science.com/catalog/5258/

Remove the original connector and reconnect it with a long pin, etc., or the rom sensor has an extended pin socket (https://github.com/RohmSemiconductor/Arduino), connect the VDD_3.3V, GND, SCL, and SDA to the Bosch sensor to use both Add-on boards.

I tried the latter method quickly.
Moving the I2cScanner sample from the Wireless library in Spresense

I2C Scanning...

     -0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F
0-:------------------------------------------------------------------0f
1-:----------------------------------------------------------------------1f
2- : -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
3- : -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
4- : -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
5-:--------------------------------------------------------------------------
6- : -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
7- : -- -- -- -- -- -- 76 -- -- -- -- -- -- -- -- --

The number of found I2C devices is 5.

A total of 5 slave devices looked fine.


2022-09-30 21:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.