Hobby servo for probe shutting down duet.
-
Hi guy
I have a setup where a hobby servo is ment to retract and deploy a probe that should work in a heated environment. Here is the link to the probe https://hightemp3d.org/shop/hightemp3d/remoteht-high-temperature-bed-level-probe-2/. I am using a duet 3 6hc, in a cartisan style of machine. When i send the command to deploy or retract the probe the machine shuts down. The z probe is working correctly i have tried play around with different combinations in my config but to no avail.config (1).g retractprobe.g deployprobe.g
-
Can you send M122 after the machine has come back up after shutting down and M98 P"config.g" and share the results?
When it "shuts down" what exactly happens? Does the board reset?
-
@phaedrux
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.4.0 (2022-03-15 18:57:24) running on Duet 3 MB6HC v1.01 or later (standalone mode)
Board ID: 08DJM-956L2-G43S8-6JTD8-3SS6K-9B1AH
Used output buffers: 1 of 40 (13 max)
=== RTOS ===
Static ram: 151000
Dynamic ram: 95780 of which 0 recycled
Never used RAM 103892, free system stack 208 words
Tasks: NETWORK(ready,26.4%,221) ETHERNET(notifyWait,0.2%,168) HEAT(notifyWait,0.0%,327) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,333) TMC(notifyWait,7.9%,92) MAIN(running,65.1%,1101) IDLE(ready,0.4%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:00:23 ago, cause: power up
Last software reset at 2022-04-14 23:57, reason: User, GCodes spinning, available RAM 103860, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 126
MCU temperature: min 25.9, current 26.6, max 26.7
Supply voltage: min 24.0, current 24.1, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.1, current 12.1, max 12.3, under voltage events: 0
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min 0, mspos 8, reads 64031, writes 14 timeouts 0
Driver 1: standstill, SG min 0, mspos 8, reads 64031, writes 14 timeouts 0
Driver 2: standstill, SG min 0, mspos 8, reads 64032, writes 14 timeouts 0
Driver 3: standstill, SG min 0, mspos 8, reads 64032, writes 14 timeouts 0
Driver 4: standstill, SG min 0, mspos 8, reads 64035, writes 11 timeouts 0
Driver 5: standstill, SG min 0, mspos 8, reads 64035, writes 11 timeouts 0
Date/time: 2022-04-15 12:17:32
Slowest loop: 1.79ms; fastest: 0.05ms
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest read time 0.9ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle 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
=== CAN ===
Messages queued 210, received 0, lost 0, boc 0
Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 118/0/0
Tx timeouts 0,0,117,0,0,91 last cancelled message type 4514 dest 127
=== Network ===
Slowest loop: 4.12ms; fastest: 0.02ms
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: 2 of 8- Ethernet -
State: active
Error counts: 0 0 1 0 0
Socket states: 5 2 2 2 2 0 0 0
when i send the command to deploy or retract the small servo rotates and then the machine resets says connection lost please wait. then restarts
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled - Ethernet -
-
@cj19944 that servo is rated 500-900mA current draw. How are you supplying 5V to the 6HC?
-
This post is deleted! -
@t3p3tony
I get it of the main board. Is this wrong sorry im not an electronics person -
@arnold_r_clark
What temp will it work up to, maybe I need to change -
This post is deleted! -
@arnold_r_clark
Do you have link please -
@cj19944 said in Hobby servo for probe shutting down duet.:
@t3p3tony
I get it of the main board. Is this wrong sorry im not an electronics personSo just the 24v from the PSU then.
-
@cj19944 that should be correct,
-
@cj19944 drawing 900mA from the 5V rail of a 6HC is OK. But the servo may have a higher stall current. The maximum external 5V load supported by the 6HC is 3A.
-
This post is deleted! -
@dc42 i have taken it from the 5v .i05 rail should i use another pin.
Thanks -
@cj19944 Hi guys fixed this problem by switching 5v pin to my 3.3v pin on my set up must of been something to do with stall current something I obviously don't understand to much, appreciate everyone's help.
-
@cj19944
All this did was just not shut the machine down. -
@cj19944 said in Hobby servo for probe shutting down duet.:
@cj19944 Hi guys fixed this problem by switching 5v pin to my 3.3v pin on my set up must of been something to do with stall current something I obviously don't understand to much, appreciate everyone's help.
the servo you linked did not look like it would work properly run from 3.3V. can you send a picture of how it you have it wired?
-
@t3p3tony
This was my original setup, then i swapped 5v to the 3.3v power the machine did not shut down but the motor also did not move. I have ordered the Schottky diode and 220uF capacitor and an external 5v source for if that does not work. If you wouldn't mind if confirming i do have the wires wired up correctly that would be much appecitated thanks. -
@cj19944 Just used an external 5v power supply and all is working okay thanks again.
-
@cj19944 thanks for confirming it. Its interesting to see that that servo has a high enough stall current to drop the 5V supply on the 6HC.