Hi,
I want to do some remote (like 2-3 meter) temp/humidity logging and to that end I bought 2 Qwiicbus endpoints and BME280 Qwiic board. I connected the endpoints with a normal ethernet cable, put BME280 to the other end, and openlog artemis to the other end. But I cannot get the BME280 to be detected. The lights are on, but no sensor is detected by the Openlog Artemis. Is there something I am missing?
Check the I2C address else try one off the I2C scanners ( e.g. Arduino Playground - I2cScanner) and see whether it is detected. As a board you need to select the Artemis ATP
Hmm, if I upload the scanner on my board it will output βNo I2C devices foundβ. Even if I connect the BME280 directly to the Artemis board.
But with the Openlog Artemis firmware it does work fine when connected straight to the board. But not with the QwiicBus Endpoints.
ah.. forgot.. for the scanner we need to enable the I2C power.
But as Openlog works when directly connected with the BME280, that test is not needed.
How did you connect the wires between the endpoints?
still if you want to use the scanner at a call to qwiicPowerOn() in setup()
and add this function:
void qwiicPowerOn()
{
pinMode(18, OUTPUT);
pin_config(18, g_AM_HAL_GPIO_OUTPUT); // Make sure the pin does actually get re-configured
digitalWrite(18, HIGH);
}
I added a picture of the connections. Basically Artemis β QwiicBus Endpoint β Ethernet cable β QwiicBus Endpoint β BME280
looks fine to me. Not many ideas, but some aspects to consider (maybe)
- the Pull-up resistor are on the both endpoints as it should be.., but also on the BME280. Disable pull-up on the BME280 OR the endpoint connected to the BME280
- Still try the scanner with the changes to enable the I2C power.
- Try lower wire speed, maybe it helps.
- You mentioned that the LED on the Endpoint to the BME280 is on. double check to be sure.
- Try another ethernet cable
- Any changes made to the endpoints ?
- connect the BME280 to the other Qwiic connector on endpoint that is already connected to the Openlog board. See whether it works then?
1 Like
Thank you for your reply! I checked the cable and found a defect from it. Tried another cable and now the measurement works. Thanks a lot!
2 Likes