What's new
VORON Design

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members!

Question Help setting up ADXL345 on Mellow SHT36v2

NEEDHELP

New member
Hi all, hope this is in a fine format as I've not posted here before.
Struggling to get the ADXL345 (on Mellow SHT36v2 via U2C to pi4b) read by the printer. I'm assuming communication is not over usb??
The standard config given by Mellows' website gives: Invalid adxl345 id (got ff vs e5).
Tried configuring for SPI1 pins in the miso mosi and clk (despite not showing as for ADXL chip) and got nowhere.

Looking at the pin diagram, the SPI bus is actually SPI2 and configured per that, to which I receive: Option 'spi_bus' is not valid in section 'adxl345.'

Below is the SHT36v2 Config (everything unrelated removed.)
## SHT 36 V2 BOARD PINS
[board_pins sht]
mcu: sht
aliases:
aliases_2209:
EXT_EN=PA15,EXT_STEP=PB4,EXT_DIR=PB3,EXT_UART=PB5,EXT_DIAG=PB6
aliases_endstop:
LIMIT_0=PA1,LIMIT_1=PA2
aliases_probe:
PROBE_1=PC15,PROBE_2=PB1
aliases_cnc_fans:
FAN0=PB11,FAN1=PB10
aliases_thermistors:
TH0=PA3,PT100=PB12,TC0=PA4
aliases_heaters:
HE0=PA8
aliases_rgb:
RGBLED=PB0
aliases_adxl:
ADXL=PA9


## ADXL345
[adxl345]
cs_pin: sht:PA9
#spi_bus: spi2
spi_software_sclk_pin: sht:PB13
spi_software_mosi_pin: sht:PB15
spi_software_miso_pin: sht:PB14
#axes_map: x,y,z

[resonance_tester]
accel_chip: adxl345
probe_points:
175,175,20



## Z Probe
[probe]
pin: !sht:PA2 #gb
 
Top