I want to know what to do when two sensors conflict when programming spresense on Arduino IDE.

Asked 2 years ago, Updated 2 years ago, 39 views

I would like to use the ToF sensor (MM-S50MV manufactured by Sanhayato) and the Wi-Fi module (is110B manufactured by IDY) on the main board of the spresense, but when I connect them as shown in the specification, some of them share the same pins, so it doesn't work well.If you know how to deal with such cases, please let me know.The pins used are shown in the image below.
Wi-Fi module pin
ToF sensor pin

spresense

2022-09-30 11:03

2 Answers

If you say, "If you connect as shown in the specification, it will cause a conflict and it won't work well," then there is probably an error in the specification.
I think you should contact the manufacturer's department in charge of Spresense.


2022-09-30 11:03

I don't really understand the intent of the question, so it might be a wrong comment, but
Both modules use SPI, so I don't think they will work as they are.

Neither board can change the assignment of CS pins only, so
You will have no choice but to use one of them for UART, but if you switch the jumper J1 of ToF,
I think I can make it UART. (I've never done it before, but...)

On the other hand, if WiFi is TypeC, as far as the sample code is concerned, UART is not used, so
Will there be no conflict?

For TypeA/B, as far as you can see below,
https://idy-design.com/product/is110b.html

You can switch by changing the jumper resistance.

For your information.


2022-09-30 11:03

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.