Accelerometer not found on specified port
-
Good morning, I've just installed an LIS3DSH accelerometer on my Duet2 WiFi using this instructions https://duet3d.dozuki.com/Wiki/Accelerometers
I've setted it using M955 P0 C"spi.cs4+spi.cs3"
But I always the the error "Accelerometer not found on specified port" turning on the printer.
Here are the connections I've made using an USB3 Cable:
Board:
Accelerometer:
I've checked the connections with a multimiter and they are ok. With the multimiter I've verified that the accelerometer is correctly powered with 3,3V
Any idea about the problem?
Thanksp.s.
The USB cable doesn't "run" close to any signal cableEDIT
I forgot to say that that cable is about 2m (I can't make it shorter) and FW is RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.0beta5+1 (2021-10-28).EDIT OF EDIT
I've tried with a 15cm cable (with single duponts) and it works....so the issue is the cable length..how can I solve this? As I said I can't make the cable shorter. I event tried to change the long cable board-side two row duponts conectors with single dupont connectors but still doesn't work -
@thedragonlord No suggestions? Should I give up the idea to use an accelerometer?
-
@thedragonlord have you tried the resistor inline ?
-
@thedragonlord I'm pretty sure the @jay_s_uk has been using a 2m USB cable without any issues. I'm using one that is about 1.5m long with no problems. I think we both followed this wiring guide (sorry I'm too lazy to check if it matches how you have things wired): https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098
I think DC42 has recommended adding a resistor in series with the SDO connection and others have reported that this helps https://forum.duet3d.com/topic/25641/solved-help-connecting-an-accelerometer/2?_=1636359472874
You could also try lowering the SPI frequency using the Q parameter.
I found that with the LIS3DSH I needed to add a small capacitor to the wiring to get it to work reliably this and a few other suggestions are in this thread: https://forum.duet3d.com/topic/25646/are-these-accelerometer-measurements-reasonable?_=1636359472884
As you will see, getting it working can be tricky and the wiring (and probably the connectors and other components) can have a big impact on it, but most folks seem to get there in the end...
-
@gloomyandy said in Accelerometer not found on specified port:
@thedragonlord I'm pretty sure the @jay_s_uk has been using a 2m USB cable without any issues. I'm using one that is about 1.5m long with no problems. I think we both followed this wiring guide (sorry I'm too lazy to check if it matches how you have things wired): https://forum.duet3d.com/topic/22878/software-package-3-3beta3-released/68?_=1624809172098
I think DC42 has recommended adding a resistor in series with the SDO connection and others have reported that this helps https://forum.duet3d.com/topic/25641/solved-help-connecting-an-accelerometer/2?_=1636359472874
You could also try lowering the SPI frequency using the Q parameter.
I found that with the LIS3DSH I needed to add a small capacitor to the wiring to get it to work reliably this and a few other suggestions are in this thread: https://forum.duet3d.com/topic/25646/are-these-accelerometer-measurements-reasonable?_=1636359472884
As you will see, getting it working can be tricky and the wiring (and probably the connectors and other components) can have a big impact on it, but most folks seem to get there in the end...
thanks a lot!
-
@pcr said in Accelerometer not found on specified port:
@thedragonlord have you tried the resistor inline ?
not yet...
p. s.
I wrote a message to you using the chat -
@thedragonlord try a 1k resistor inline with SDO
-
@pcr said in Accelerometer not found on specified port:
@thedragonlord try a 1k resistor inline with SDO
Connected in the board connector or to the accelerometer connector?
-
@thedragonlord Solved! With the resistor it works, thanks to everybody!