jniebuhr / adxl345-probe

77 stars 6 forks source link

BTT EBB 36 support #3

Closed pwilkowski closed 3 months ago

pwilkowski commented 8 months ago

Hello, could support for the canbus board be added as in title? Its similar to SHT36, thanks.

jniebuhr commented 8 months ago

Hi, the supported boards in the Readme are not the ones I support in my Software, they’re the ones where the correct Traces were added. On an EBB36, none of the INT pins of the ADXL345 are connected to anything. So it doesn’t work. You can solder a tiny wire if you’re good at microsoldering.

pwilkowski commented 8 months ago

@jniebuhr yes i did see int pins arent connected but i can solder thin wire, question is, does it have to be EXTI (hardware interrupt capable) pin or it does work but continuously scanning them?

jniebuhr commented 8 months ago

i'm not sure about that. it's somewhere in the klipper c code. if one of those is available i'd rather say use it if it does need it

pwilkowski commented 8 months ago

i checked the gpio code and doesnt seem like klipper uses any irq/exti functionality but maybe i am wrong, anyways i did solder wire to PB13

So i guess i can try?

jniebuhr commented 8 months ago

good job. yep, see the discord for some info and testing

pwilkowski commented 8 months ago

Discord invite link has expired

jniebuhr commented 8 months ago

Fixed

WayneManion commented 8 months ago

Very impressive soldering work!

Question: Let's say a printer has an EBB36/42 on the toolhead connected by Canbus. The toolhead board has some extra pins on it. Could these pins be used to connect a second ADXL345 (in one of those common breakout boards) over I2C or SPI? I imagine the breakout board would expose the pins needed to get this to work.

Slatkey commented 7 months ago

i checked the gpio code and doesnt seem like klipper uses any irq/exti functionality but maybe i am wrong, anyways i did solder wire to PB13

So i guess i can try?

Hi. Did you manage to check the operation of the accelerometer? I want to repeat your soldering feat

pwilkowski commented 7 months ago

@Slatkey yes it does work but not on the pin you see on the picture, i had to change to different pin as PB13 is used as heater, however i found it unreliable and changed probe to klicky.