Si1145 cannot work with Arduino MKR 1310

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

Hello,

I try to connect si1145 module from adafruit to Arduino MKR 1310 to access the data. But I find that it cannot output stable as shown in the picture. This is a very simple test and this si1145 module can work with Arduino Nano without any problem.
This problem is described in details in the Arduino Forum:https://forum.arduino.cc/t/si1145-canno ... 10/1029987

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by adafruit_support_mike »

Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Fri Sep 09, 2022 8:31 pm Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
Hello, I do not know how to post photo in this forum and there are photos in Arduino forum.
In fact, the connections is very simple:
MKR -> Si1145
VCC(3.3V) -> Vin
GND -> GND
SDA -> SDA
SCL -> SCL

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Fri Sep 09, 2022 8:31 pm Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
Hello, do you need more information or find out the solution?

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Fri Sep 09, 2022 8:31 pm Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
Hello?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by adafruit_support_mike »

To post a photo, select the 'Attachments' tab under the text area where you write a reply. Click the 'Add Files' button to select the image you want to upload. The browser will automatically upload the file and show a list of attachments below the 'Add Files' button. Then click the 'Place Inline' button to insert a tag that will include the image in your reply.

We need to see the physical hardware to debug things. Things like the wire, the nature of the connections, and anything we don't expect are relevant details we need to know.

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Tue Sep 13, 2022 9:01 pm To post a photo, select the 'Attachments' tab under the text area where you write a reply. Click the 'Add Files' button to select the image you want to upload. The browser will automatically upload the file and show a list of attachments below the 'Add Files' button. Then click the 'Place Inline' button to insert a tag that will include the image in your reply.

We need to see the physical hardware to debug things. Things like the wire, the nature of the connections, and anything we don't expect are relevant details we need to know.
Hello, please check the details in the attachment. This is a very simple test, but when I use Arduino MKR 1310, I cannot get stable output. This abnormal thing is not appear when I use Arduino nano.
Attachments
hardware.jpg
hardware.jpg (163.48 KiB) Viewed 114 times
test method.jpg
test method.jpg (157.87 KiB) Viewed 114 times
serial monitor sceenshoot.jpg
serial monitor sceenshoot.jpg (114.1 KiB) Viewed 114 times

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Tue Sep 13, 2022 9:01 pm To post a photo, select the 'Attachments' tab under the text area where you write a reply. Click the 'Add Files' button to select the image you want to upload. The browser will automatically upload the file and show a list of attachments below the 'Add Files' button. Then click the 'Place Inline' button to insert a tag that will include the image in your reply.

We need to see the physical hardware to debug things. Things like the wire, the nature of the connections, and anything we don't expect are relevant details we need to know.
Thanks in advance and do not hesitate to ask me if you want any information!

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by adafruit_support_mike »

Thank you. You soldering looks good and I don't see anything unusual in the connections.

As a sanity check, can you get other I2C devices to work with the MKR1310?

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Wed Sep 14, 2022 10:29 pm Thank you. You soldering looks good and I don't see anything unusual in the connections.

As a sanity check, can you get other I2C devices to work with the MKR1310?
Hello, I just try BME280 and find it can work with MKR 1310.
I think I find the reason of the abnormal situation of Si1145. I use I2C scanner and find that there are already two I2C devices on MKR board at address 0x60 and 0x6B and someone on the internet said they are LoRa chip and a security chip. However, Si1145 has default a I2C address 0x60... Do you have any idea to solve this problem?

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Wed Sep 14, 2022 10:29 pm Thank you. You soldering looks good and I don't see anything unusual in the connections.

As a sanity check, can you get other I2C devices to work with the MKR1310?
Hello,I still want to use MKR 1310 in my work, can I change some place in the Si1145 library?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by adafruit_support_mike »

That will be a problem..

The usual way to deal with I2C address collisions is to run the connections through an I2C multiplexer:

https://www.adafruit.com/product/2717

That way you can select the connection to the device you want.

A multiplexer can't solve collisions for devices hardwired to the dev board though. Those connections always exist, and can't be disconnected so another device can talk.

The Si1145 doesn't have any way to change its I2C address, so I'm afraid there's no easy fix for that address collision. The best you could do is put another microcontroller between the MKR 1310 and the Si1145.

User avatar
Charles_Z
 
Posts: 9
Joined: Fri Sep 09, 2022 1:38 pm

Re: Si1145 cannot work with Arduino MKR 1310

Post by Charles_Z »

adafruit_support_mike wrote: Sun Sep 18, 2022 10:11 pm That will be a problem..

The usual way to deal with I2C address collisions is to run the connections through an I2C multiplexer:

https://www.adafruit.com/product/2717

That way you can select the connection to the device you want.

A multiplexer can't solve collisions for devices hardwired to the dev board though. Those connections always exist, and can't be disconnected so another device can talk.

The Si1145 doesn't have any way to change its I2C address, so I'm afraid there's no easy fix for that address collision. The best you could do is put another microcontroller between the MKR 1310 and the Si1145.
Oh, I get it. Thank you so much for your help!

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”