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

More
1 year 11 months ago #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
Code:
ls /dev/i2c-*
, I found
Code:
/dev/i2c-20
and
Code:
/dev/i2c-21
, but I was expecting
Code:
/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 to join the conversation.

More
1 year 11 months ago #315613 by tommylight
No idea if there is a driver for I2C in LinuxCNC, maybe searching on github project page would show if there is anything about it there.

Please Log in to join the conversation.

More
More
1 year 10 months ago #315777 by 4ashishkr
Thank you cakeslob for the response,

I was checking in Linuxcnc system, and the observation was there is no /dev/i2c-1 even if i create it couldn't be read and shows "no such devices or address".

Is it possible to get it ?

What are all the process ?

What am i doing wrong ?

Please Log in to join the conversation.

Time to create page: 3.180 seconds
Powered by Kunena Forum