Error during accelerometer data streaming - lis2dw

I picked up a used V-Minion the other day and have been trying to get it up and running. I've added a BTT S2DW board under the bed. I'm able to get Klipper communicating with the sensor over USB, however I'm not seeing anywhere in RatOS to specify anything being there being a connection to the host; Nothing specifying the actual sensor type outside of Klipper .cfg files. This section of my printer.cfg that specifies the sensor comes at the end:
[mcu btt_lis2dw]
serial: /dev/serial/by-id/usb-Klipper_rp2040_45474150528CC63A-if00

[lis2dw bed]
cs_pin: btt_lis2dw:gpio9
#spi_bus: spi1a
spi_software_sclk_pin: btt_lis2dw:gpio10
spi_software_mosi_pin: btt_lis2dw:gpio11
spi_software_miso_pin: btt_lis2dw:gpio8
axes_map: y,-x,-z

[resonance_tester]
probe_points: 100, 100, 20
accel_chip_x: lis2dw bed
accel_chip_y: lis2dw bed
[mcu btt_lis2dw]
serial: /dev/serial/by-id/usb-Klipper_rp2040_45474150528CC63A-if00

[lis2dw bed]
cs_pin: btt_lis2dw:gpio9
#spi_bus: spi1a
spi_software_sclk_pin: btt_lis2dw:gpio10
spi_software_mosi_pin: btt_lis2dw:gpio11
spi_software_miso_pin: btt_lis2dw:gpio8
axes_map: y,-x,-z

[resonance_tester]
probe_points: 100, 100, 20
accel_chip_x: lis2dw bed
accel_chip_y: lis2dw bed
When I start a stream on the Realtime Analysis Tool, I get the following error:
Error during accelerometer data streaming:
Error: WebRequestError: Invalid adxl345 id (got 0 vs e5).
Error during accelerometer data streaming:
Error: WebRequestError: Invalid adxl345 id (got 0 vs e5).
Is this result expected? Does the analysis tool currently support the S2DW?
2 Replies
miklschmidt
miklschmidt2mo ago
Yes the lis2dw is supported but usb accelerometers aren't. Only the sources listed in the realtime tool (ie, toolboard, controlboard, pi/host or beacon)
zerotri
zerotriOP2mo ago
I see. And is that for technical reasons or performance reasons? Rather, is it something that some extra developer effort could help resolve?

Did you find this page helpful?