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
Si1145 cannot work with Arduino MKR 1310
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Si1145 cannot work with Arduino MKR 1310
Post a photo showing your hardware and connections and we'll take a look. 800x600 images usually work best.
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Hello, I do not know how to post photo in this forum and there are photos in Arduino forum.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.
In fact, the connections is very simple:
MKR -> Si1145
VCC(3.3V) -> Vin
GND -> GND
SDA -> SDA
SCL -> SCL
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Hello, do you need more information or find out the solution?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.
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Hello?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.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Si1145 cannot work with Arduino MKR 1310
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.
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.
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
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.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.
- Attachments
-
- hardware.jpg (163.48 KiB) Viewed 117 times
-
- test method.jpg (157.87 KiB) Viewed 117 times
-
- serial monitor sceenshoot.jpg (114.1 KiB) Viewed 117 times
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Thanks in advance and do not hesitate to ask me if you want any information!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.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Si1145 cannot work with Arduino MKR 1310
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?
As a sanity check, can you get other I2C devices to work with the MKR1310?
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Hello, I just try BME280 and find it can work with MKR 1310.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?
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?
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Hello,I still want to use MKR 1310 in my work, can I change some place in the Si1145 library?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?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Si1145 cannot work with Arduino MKR 1310
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.
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.
- Charles_Z
- Posts: 9
- Joined: Fri Sep 09, 2022 1:38 pm
Re: Si1145 cannot work with Arduino MKR 1310
Oh, I get it. Thank you so much for your help!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.
Please be positive and constructive with your questions and comments.