Issue with Attaching BME280 Sensor to Raspberry Pi 4B on LinuxCNC

More
26 Nov 2024 07:39 #315278 by 4ashishkr
Hello #MyFirstPostHere,I am trying to attach a BME280 sensor to a Raspberry Pi 4B to monitor environmental variables (temperature, pressure, and humidity). The sensor is connected to the 3.3V, GND, GPIO2, and GPIO3 pins. It works flawlessly when running Raspbian OS (64-bit), and I can retrieve readings via the terminal.However, when trying to use it with LinuxCNC, I encountered multiple errors.Upon checking the I2C buses with the command
ls /dev/i2c-*
, I found
/dev/i2c-20
and
/dev/i2c-21
, but I was expecting
/dev/i2c-1
, as seen in Raspbian OS.I was wondering if there is a solution for this? Is it possible to get this sensor working on LinuxCNC?Please feel free to ask for any additional information.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum