duet 3 6hc and raspberry p3b+
-
hello to all there would be someone who could help me configure my duet 3 6hc card with rpi 3b+
please -
@sgk best place to start is here
-
Have you seen this? https://docs.duet3d.com/en/User_manual/Machine_configuration/SBC_setup
-
@phaedrux yes I followed all the procedure I can already access the duet 3 menu with but the motors the fans nothing works
-
@sgk said in duet 3 6hc and raspberry p3b+:
but the motors the fans nothing works
That would be down to the config.g and wiring just like any other Duet install.
Can you post your config.g and the results of sending M122 and M98 P"config.g" in the gcode console? Also let us know where things are physically wired.
-
Also, is that a clone?
-
@phaedrux yes the clone
-
@sgk
M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; ================ Drives mapping =================
M569 P0.1 S0 ; physical drive 0.1 goes forwards - X driver
M569 P0.2 S0 ; physical drive 0.2 goes forwards - Y driver
M569 P0.3 S1 ; physical drive 0.3 goes forwards - Z1 Right driver
M569 P0.4 S1 ; physical drive 0.4 goes forwards - Z2 Left driver
M569 P0.0 S0 ; physical drive 0.0 goes forwards - extruder driver
M584 X0.1 Y0.2 Z0.3:0.4 E0.0 ; set drive mapping; ================ Drives settings ================
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X200.00 Y200.00 Z400.00 E917.444 ; set steps per mm - for Matrix extruder:E324.214
M566 X700.00 Y700.00 Z24.00 E2000.00 ; set maximum instantaneous speed changes (mm/min)
M203 X35000.00 Y35000.00 Z1200.00 E5000.00 ; set maximum speeds (mm/min)
M201 X6000.00 Y6000.00 Z400.00 E2500.00 ; set accelerations (mm/s^2)
M906 X1600 Y1600 Z1600:1600 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S60 ; Set idle timeout; ================ Independent Z leveling (original 2 z-axis) =================
M671 X369.75:-59.75 Y155:155 S5 ; Define positions of Z leadscrews for Independent Z leveling; ================ Axis Limits ====================
M208 X-35.5 Y0 Z0 S1 ; set axis minima
M208 X320 Y326.8 Z340 S0 ; set axis maxima; ================ Endstops =======================
M574 X1 S1 P"io0.in" ; configure active-high endstop for low end on X via pin io0.in
M574 Y2 S1 P"io1.in" ; configure active-high endstop for low end on Y via pin io1.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; ================ Z-Probe ========================
M558 P5 C"^!io2.in" A2 H5 F120 T15000 ; set Z probe type to unmodulated and the dive height + speeds (for Mini IR sensor M558 P8 C"io2.in" A2 H5 F120 T15000)
G31 P50 X11.5 Y65.8 Z1.035 ; set Z probe trigger value, offset and trigger height Z1.023
M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters
M557 X30:270 Y30:270 P4 ; define mesh grid; ================ Heaters ==============================================
M308 S0 P"temp0" Y"thermistor" A"Bed" T100000 B3950 ; configure sensor 0 as thermistor on pin temp0
M950 H0 Q10 C"out1" T0 ; create bed heater output on out0 and map it to sensor 0 (if NOT using SSR - delete Q10)
M307 H0 R0.928 C350.9 D6.77 S1.00 V24.0 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S100 ; set temperature limit for heater 0 to 100C
M308 S1 P"temp1" Y"thermistor" A"Hotend" T107537 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out2" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 R1.953 C374.1 D8.85 S1.00 V24.0 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; ================ Fans & Lights ==================
M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
M106 P0 S0 H1 T35 ; set fan 0 value. Thermostatic control is turned on
M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
M106 P1 S0 H-1 C"Layers Fan" ; set fan 1 value. Thermostatic control is turned off
M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency (lights)
M106 P2 S0.2 H-1 C"Lights" ; set fan 2 value. Thermostatic control is turned off (lights); ================ Tools ==========================
M563 P0 D0 H1 F0:1 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; ================ Miscellaneous ==================
;M575 P1 S1 B57600 ; enable support for PanelDue
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
@sgk m122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v1.01 or later (SBC mode)
Board ID: 08DJM-9P63L-DJ3S0-7J1F8-3S46T-TVKH9
Used output buffers: 1 of 40 (10 max)
=== RTOS ===
Static ram: 154604
Dynamic ram: 162760 of which 48 recycled
Exception stack ram used: 224
Never used ram: 75580
Tasks: ETHERNET(blocked,844) NETWORK(ready,1972) HEAT(blocked,1200) CanReceiv(suspended,3820) CanSender(suspended,1488) CanClock(blocked,1436) TMC(blocked,204) MAIN(running,4952) IDLE(ready,76)
Owned mutexes:
=== Platform ===
Last reset 00:04:04 ago, cause: power up
Last software reset time unknown, reason: User, spinning module LinuxInterface, available RAM 74824 bytes (slot 1)
Software reset code 0x0010 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0444a000 BFAR 0x00000000 SP 0xffffffff Task MAIN
Error status: 0
MCU temperature: min 24.5, current 36.0, max 36.1
Supply voltage: min 24.0, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
Driver 0: standstill, reads 15483, writes 14 timeouts 0, SG min/max 0/0
Driver 1: standstill, reads 15484, writes 14 timeouts 0, SG min/max 0/0
Driver 2: standstill, reads 15484, writes 14 timeouts 0, SG min/max 0/0
Driver 3: standstill, reads 15485, writes 14 timeouts 0, SG min/max 0/0
Driver 4: standstill, reads 15485, writes 14 timeouts 0, SG min/max 0/0
Driver 5: standstill, reads 15489, writes 11 timeouts 0, SG min/max 0/0
Date/time: 2022-08-26 18:45:34
Slowest loop: 4.51ms; fastest: 0.14ms
=== Storage ===
Free file entries: 10
SD card 0 not detected, interface speed: 37.5MBytes/sec
SD card longest read time 0.0ms, write time 0.0ms, max retries 0
=== Move ===
Hiccups: 0(0), FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== AuxDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
=== Heat ===
Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP* is ready with "M122" in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger* is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
SBC is idle in state(s) 0
Daemon* is idle in state(s) 0
Aux2 is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 1.65ms; fastest: 0.01ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions Telnet(0), 0 sessions
HTTP sessions: 0 of 8- Ethernet -
State: establishingLink
Error counts: 0 0 0 0 0
Socket states: 0 0 0 0 0 0 0 0
=== CAN ===
Messages sent 647, longest wait 0ms for type 0
=== Linux interface ===
State: 0, failed transfers: 1
Last transfer: 15ms ago
RX/TX seq numbers: 19844/19844
SPI underruns 4, overruns 1
Number of disconnects: 0
Buffer RX/TX: 0/0-0
=== Duet Control Server ===
Duet Control Server v3.4.1
Failed to deserialize the following properties: - Spindle -> Int32 from 10000.0000000
Code buffer space: 4096
Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 1
Full transfers per second: 40.80, max time between full transfers: 182.3ms, max pin wait times: 30.7ms/23.8ms
Codes per second: 0.01
Maximum length of RX/TX data transfers: 3176/308
- Ethernet -
-
@sgk M98 P "config.g"
Error: M98: non-empty string expected -
@sgk I hooked everything up like the picture here
-
@sgk said in duet 3 6hc and raspberry p3b+:
@sgk M98 P "config.g"
Error: M98: non-empty string expectedYou've got a space between P and "
-
@sgk said in duet 3 6hc and raspberry p3b+:
Duet 3 MB6HC version 3.1.1 running on Duet 3 MB6HC v1.01 or later (SBC mode)
Update your Pi and firmware with sudo apt update and sudo apt upgrade from the pi terminal.
-
@phaedrux yes ok
-
@phaedrux hello the same nothing works neither the fans nor the motors
-
Did you re-run
M98 P"config.g"
?
Is this a coreXY?Have you seen this?
-
@phaedrux i have blv yes I read but before I had a duet 2 now I installed a duet 3 and I have a lot of worries for that I ask for help I'm sorry I'm lost with it
-
@phaedrux
yes i launched M98 P"config.g" -
@phaedrux
I have the impression that there is something wrong because when I start the fans nothing lights up and the motor lights up but it advances step by step very slowly 1 cm by a cm -
@sgk look home
video.mp4