• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Accelerometer not found on specified port

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
33
1.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    myersm1234
    last edited by 15 Apr 2024, 13:40

    Hello, As the title says I'm having issues with an accelerometer (Duet3D).
    Electronics Diagnostics
    Product Short Name Version
    Duet 2 WiFi 2WiFi 3.5.0-rc.3
    Duet WiFi Server n/a 2.1beta7
    Duet Web Control DWC 3.5.0-rc.3

    M955 P0 C"spi.cs6+spi.cs5" I61

    Wiring connected to Duex5 Temp Daughter Board with no daughter board and supplied ribbon cable. I have tried different cables same length and shorter. Tried the 1k resistor. Short of making a USB3 cable ( I will do this tonight) I think I have crossed everything off the list I have found on this forum. I do get a green light on the accelerometer board. Any help will be appreciated

    undefined undefined 2 Replies Last reply 15 Apr 2024, 14:39 Reply Quote 0
    • undefined
      jay_s_uk @myersm1234
      last edited by 15 Apr 2024, 14:39

      @myersm1234 can you post some photos of your installation?

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 2 Replies Last reply 15 Apr 2024, 17:27 Reply Quote 0
      • undefined
        droftarts administrators @myersm1234
        last edited by 15 Apr 2024, 15:25

        @myersm1234 Can you test whether it works on the Duet 2 WiFi temp_DB connector? Disconnect any temperature daughterboards and comment them out in config.g, connect the accelerometer, and send

        M955 P0 C"spi.cs2+spi.cs1" I61
        

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        undefined 1 Reply Last reply 17 Apr 2024, 15:44 Reply Quote 0
        • undefined
          myersm1234
          last edited by 15 Apr 2024, 17:24

          I have tried on the Duet 2 board but on top of the daughter board same deal not found. I will get some pics tonight.
          Thanks for the help!

          1 Reply Last reply Reply Quote 0
          • undefined
            myersm1234 @jay_s_uk
            last edited by 15 Apr 2024, 17:27

            @jay_s_uk I will remove the board and try that also.

            1 Reply Last reply Reply Quote 0
            • undefined
              myersm1234
              last edited by 16 Apr 2024, 21:48

              Here is what I have.
              M115
              FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.0-rc.3 ELECTRONICS: Duet WiFi 1.02 or later + DueX5v0.11 FIRMWARE_DATE: 2024-01-24 17:56:24
              IMG_20240416_172728_167.jpg
              IMG_20240416_172747_768.jpg

              Tried on Duet 2 board with daughter board removed
              M955 P0 C"spi.cs2+spi.cs1" I61 .
              No Luck!

              1 Reply Last reply Reply Quote 0
              • undefined
                myersm1234 @jay_s_uk
                last edited by 17 Apr 2024, 15:23

                @jay_s_uk any thoughts on what might be my problem?

                undefined undefined 2 Replies Last reply 17 Apr 2024, 15:27 Reply Quote 0
                • undefined
                  jay_s_uk @myersm1234
                  last edited by 17 Apr 2024, 15:27

                  @myersm1234 did you disable the temp sensors in your config as well when trying without the temp daughterboard?

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  undefined 1 Reply Last reply 17 Apr 2024, 15:36 Reply Quote 0
                  • undefined
                    myersm1234 @myersm1234
                    last edited by 17 Apr 2024, 15:35

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • undefined
                      myersm1234 @jay_s_uk
                      last edited by 17 Apr 2024, 15:36

                      @jay_s_uk yes I did

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        myersm1234 @droftarts
                        last edited by 17 Apr 2024, 15:44

                        @droftarts do you have any more suggestions ?

                        undefined 1 Reply Last reply 17 Apr 2024, 18:00 Reply Quote 0
                        • undefined
                          droftarts administrators @myersm1234
                          last edited by 17 Apr 2024, 18:00

                          @myersm1234 when you send M955 P0 C"spi.cs2+spi.cs1" I61 in the console, what does it actually report? And when you send M955 P0 after?

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          undefined 1 Reply Last reply 17 Apr 2024, 22:18 Reply Quote 0
                          • undefined
                            myersm1234 @droftarts
                            last edited by droftarts 17 Apr 2024, 22:18

                            @droftarts This is what I get
                            M955 P0
                            Error: M955: Accelerometer not found

                            ; executed by the firmware on start-up
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.5.0-rc.4+1 on Sat Apr 13 2024 14:49:41 GMT-0400 (Eastern Daylight Time)
                            ; General
                            G90 ; absolute coordinates
                            M83 ; relative extruder moves
                            M550 P"My Printer" ; set hostname
                            M911 S12 R12.5 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                            ; Accessories
                            M575 P1 S0 B57600 ; configure PanelDue support
                            ; Network
                            M552 S1 ; configure WiFi adapter
                            M586 P0 S1 ; configure HTTP
                            ; Accelerometers
                            M955 P0 C"spi.cs2+spi.cs1" I61 ; configure accelerometer on board #0
                            ; Smart Drivers
                            M569 P0 S0 D2 ; driver 0 goes backwards (X axis)
                            M569 P1 S0 D2 ; driver 1 goes backwards (Y axis)
                            M569 P4 S1 D2 ; driver 4 goes forwards (extruder 0)
                            M569 P6 S1 D2 ; driver 6 goes forwards (Y axis)
                            M569 P7 S0 D2 ; driver 7 goes backwards (Z axis)
                            M569 P8 S0 D2 ; driver 8 goes backwards (Z axis)
                            M569 P9 S0 D2 ; driver 9 goes backwards (Z axis)
                            ; Motor Idle Current Reduction
                            M906 I30 ; set motor current idle factor
                            M84 S30 ; set motor current idle timeout
                            ; Axes
                            M584 X0 Y1:6 Z7:8:9 ; set axis mapping
                            M671 X7:320:500 Y145:500:145 S99
                            M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation
                            M906 X1200 Y1200 Z1200 ; set axis driver currents
                            M92 X106.67 Y106.67 Z400 ; configure steps per mm
                            M208 X0:500 Y0:500 Z0:450 ; set minimum and maximum axis limits
                            M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min)
                            M203 X18000 Y18000 Z180 ; set maximum speeds (mm/min)
                            M201 X600 Y600 Z200 ; set accelerations (mm/s^2)
                            ; Extruders
                            M584 E4 ; set extruder mapping
                            M350 E16 I1 ; configure microstepping with interpolation
                            M906 E1200 ; set extruder driver currents
                            M92 E282.94 ; configure steps per mm
                            M566 E120 ; set maximum instantaneous speed changes (mm/min)
                            M203 E3600 ; set maximum speeds (mm/min)
                            M201 E250 ; set accelerations (mm/s^2)
                            ; Kinematics
                            M669 K0 ; configure Cartesian kinematics
                            ; Probes
                            M558 K0 P9 C"^zprobe.in" H5 F6000:120:120 T18000 ; configure BLTouch probe via slot #0
                            G31 P500 X0 Y0 Z3.6 ; set Z probe trigger value, offset and trigger height
                            M950 S0 C"duex.pwm1" ; create servo #0 for BLtouch
                            ; Endstops
                            M574 X1 P"xstop" S1 ; configure X axis endstop
                            M574 Y1 P"ystop" S1 ; configure Y axis endstop
                            M574 Z1 S2 ; configure Z axis endstop
                            ; Mesh Bed Compensation
                            M557 X25:475 Y25:475 S50:50 ; define grid for mesh bed compensation
                            ; Sensors
                            M308 S0 P"bedtemp" Y"thermistor" A"Heated Bed" T100000 B4725 C7.06e-8 ; configure sensor #0
                            ; configure sensor #1
                            ; Heaters
                            M950 H0 C"bedheat" T0 ; create heater #0
                            M143 H0 P0 T0 C0 S140 A0 ; configure heater monitor #0 for heater #0
                            M307 H0 R2.43 D5.5 E1.35 K0.56 B1 ; configure model of heater #0
                            M950 H1 C"e0heat" T1 ; create heater #1
                            M143 H1 P0 T1 C0 S285 A0 ; configure heater monitor #0 for heater #1
                            M307 H0 R0.418 K0.0323:0.000 D1.35 E1.35 S1.00 B0 ; configure model of heater #1
                            ; Heated beds
                            M140 P0 H0 ; configure heated bed #0
                            ; Fans
                            M950 F0 C"fan0" ; create fan #0
                            M106 P0 S0 L0 X1 B1 ; configure fan #0
                            M950 F1 C"fan1" ; create fan #1
                            M106 P1 S0 B1 H1 T45 ; configure fan #1
                            M950 F2 C"fan2" ; create fan #2
                            M106 P2 S0 L0 X1 B1 ; configure fan #2
                            ; Tools
                            M563 P0 S"Micro Swiss" D0 H1 F1 ; create tool #0
                            M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C
                            ; Miscellaneous
                            T0 ; select first tool
                            undefined 1 Reply Last reply 17 Apr 2024, 22:42 Reply Quote 0
                            • undefined
                              droftarts administrators @myersm1234
                              last edited by 17 Apr 2024, 22:42

                              @myersm1234 Can you send M98 P"config.g" and post the response? This should run config.g and show any errors.

                              It may be worth trying with the ribbon cable between the Duet and Duex disconnected, too.

                              I should be getting a Duet3D accelerometer in the next couple of days, I'll set it up as you have and test.

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              undefined 2 Replies Last reply 18 Apr 2024, 01:22 Reply Quote 0
                              • undefined
                                myersm1234 @droftarts
                                last edited by 18 Apr 2024, 01:22

                                @droftarts Thank you sir, I will get this done tomorrow night.

                                undefined 1 Reply Last reply 18 Apr 2024, 13:57 Reply Quote 0
                                • undefined
                                  myersm1234 @droftarts
                                  last edited by 18 Apr 2024, 13:32

                                  @droftarts said in Accelerometer not found on specified port:

                                  This is with the Duex5 disconnected.
                                  M98 P"config.g"
                                  HTTP is enabled on port 80
                                  Error: Accelerometer not found on specified port
                                  Error: Driver 6 does not support mode 'spreadCycle'
                                  Error: Driver 7 does not support mode 'spreadCycle'
                                  Error: Driver 8 does not support mode 'spreadCycle'
                                  Error: Driver 9 does not support mode 'spreadCycle'
                                  Warning: Heater 0 predicted maximum temperature at full power is 321°C
                                  Warning: Sensor number 1 has not been defined
                                  Warning: Heater 0 predicted maximum temperature at full power is 691°C
                                  Error: Heater 1 not switched on due to bad model

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    droftarts administrators @myersm1234
                                    last edited by 18 Apr 2024, 13:57

                                    @myersm1234 I have replicated your setup on my bench, with a Duet 2 WiFi and Duex, using RRF 3.5.0-rc.3 and a copy of your config.g
                                    52244e8a-cf01-4382-b5aa-cba9281cf3b5-image.png

                                    I tested with the accelerometer plugged into the Duet directly first, then the Duex. I plugged in a PT100 board and a thermocouple board, and tested with the accelerometer in those, too, updating the accelerometer configuration in all positions:

                                    18/04/2024, 13:54:43 M115
                                    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.5.0-rc.3 ELECTRONICS: Duet WiFi 1.02 or later + DueX5v0.11 FIRMWARE_DATE: 2024-01-24 17:56:24
                                    18/04/2024, 13:55:19 M955 P0
                                    Accelerometer 0 type LIS2DW with orientation 61 samples at 1600Hz with 14-bit resolution, SPI frequency 2000000
                                    18/04/2024, 13:59:40 M955 P0 C"spi.cs6+spi.cs5" I61
                                    18/04/2024, 13:59:45 M955 P0
                                    Accelerometer 0 type LIS2DW with orientation 61 samples at 1600Hz with 14-bit resolution, SPI frequency 2000000
                                    18/04/2024, 14:00:32 G92 X0 Y0 Z0
                                    18/04/2024, 14:00:41 G4 S1
                                    Error: Attempt to move motors when VIN is not in range
                                    18/04/2024, 14:03:56 M955 P0 C"spi.cs4+spi.cs3" I61
                                    18/04/2024, 14:04:01 M955 P0
                                    Accelerometer 0 type LIS2DW with orientation 61 samples at 1600Hz with 14-bit resolution, SPI frequency 2000000
                                    18/04/2024, 14:04:14 M955 P0 C"spi.cs2+spi.cs1" I61
                                    Error: M955: Accelerometer not found on specified port
                                    18/04/2024, 14:05:08 M955 P0 C"spi.cs8+spi.cs7" I61
                                    18/04/2024, 14:05:14 M955 P0
                                    Accelerometer 0 type LIS2DW with orientation 61 samples at 1600Hz with 14-bit resolution, SPI frequency 2000000

                                    As you can see, it was recognised when plugged in in all places! I was able to record motion profiles in the Input Shaping plugin in DWC and view them; these are the 'Error: Attempt to move motors when VIN is not in range' messages, as obviously I don't have any motors connected. I could wave the accelerometer around and it picked up the movement.

                                    So I don't think this is a firmware or configuration issue, and looks like a hardware fault. I think the chances of both your Duet and Duex Temp_DB inputs failing is remote, especially as you have run temperature daughterboards in the past, and that either the cable or the accelerometer is faulty. If you have a multimeter, you could check the cable for continuity of each wire.

                                    However, I think it would be best to swap your accelerometer for a new one. Where and when did you purchase it?
                                    Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.

                                    Ian

                                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                    undefined 2 Replies Last reply 18 Apr 2024, 15:02 Reply Quote 0
                                    • undefined
                                      myersm1234 @droftarts
                                      last edited by 18 Apr 2024, 15:02

                                      @droftarts Thanks Ian, I really appreciate your help with this.
                                      Thanks again! Mike

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        myersm1234 @droftarts
                                        last edited by 18 Apr 2024, 15:24

                                        @droftarts Looks like I bought it at Spool3d on Oct.20/23, but just getting to install it now...lol. Probably not worth the effort for warranty, for the cost of a new one.

                                        undefined 1 Reply Last reply 18 Apr 2024, 15:25 Reply Quote 0
                                        • undefined
                                          droftarts administrators @myersm1234
                                          last edited by 18 Apr 2024, 15:25

                                          @myersm1234 Up to you! But it would be good to get it back and find out why it's not working.

                                          Ian

                                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                          undefined 1 Reply Last reply 1 May 2024, 20:03 Reply Quote 0
                                          9 out of 33
                                          • First post
                                            9/33
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA