-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Before running this tool, an ADXL345 connected to a Raspberry Pi running Klipper can do this:
ACCELEROMETER_QUERY CHIP=hotend
accelerometer values (x, y, z): -222.061783, 518.144159, -10418.898773
After running adxl345spi (which works, and returns values), we get:
Invalid adxl345 id (got 0 vs e5).
This is generally indicative of connection problems
(e.g. faulty wiring) or a faulty adxl345 chip.
Unplugging/replugging the ADXL345 board is not sufficient to get it working again. Without better understanding of what's been changed, I have to reboot the pi to be able to use accelerometers with Klipper again.
I'm not sure whether it's possible or convenient to save whatever state is being changed and restore it when adxl345spi terminates, but it would be nice for cases like this. I acknowledge that most likely Klipper should set whatever state this is to its liking, but as I don't know what that is, I'm hoping for an answer here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels