RepRapFirmware 3.0 first official beta is out
-
@kraegar yes - i think we need to force stop the service before the update runs
-
Is it possibly to query against the duet services from the CLI now? A diag script to list versions, compare the running version against the installed version, etc would be trivial, and handy if so. I'm sure more could be added to it over time, too.
-
@kraegar said in RepRapFirmware 3.0 first official beta is out:
Is it possibly to query against the duet services from the CLI now?
maybe the link in this post has some inspiration; not been updated to reflect the new repository however https://github.com/chrishamm/DuetSoftwareFramework/issues/31#issuecomment-513701442
if you meant to run g-code from the console you might want to look at this (CodeConsole is very unpolished)
pi@duet3:/opt/dsf/bin $ sudo ./CodeConsole Connected! M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 ... pi@duet3:/opt/dsf/bin $
-
@kraegar you can see what services are running in the normal linux way. but not what firmware is on the duet w/o writing a plugin for DSF (or as @bearer says use codeconsole)
-
@T3P3Tony Yeah, I meant querying the duet itself. I'll take a look at codeconsole, and the other threads. Sounds like there's been some good work done already, so I probably won't muddy the waters.
-
Longest completed duet3 print @ 3h 5m without issue now that I'm running the latest software. I'll keep on testing!
-
I have problems with the thermistors on this build on my Duet2Wifi. T0,T1 and Bed shows -273 °C. The thermistors on the duex5 are fine. They are defines as:
; Thermal Sensors M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0 M308 S1 P"e0_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 M308 S2 P"e1_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 2 M308 S3 P"e2_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 3 M308 S4 P"e3_temp" Y"thermistor" T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 4 ; Hardware M950 H0 C"bed_heat" T0 M950 H1 C"e0_heat" T1 M950 H2 C"e1_heat" T2 M950 H3 C"!exp.heater3" T3 M950 H4 C"!exp.heater4" T4
If I ask for the Statuts with
M308 S1
I get correct values:M308 S1 Sensor 1 type Thermistor using pin e0temp, reading 22.1, last error: success, T:100000.0 B:4725.0 C:7.06e-8 R:4700.0 L:0 H:0
-
I NEED HELP MY SD CARD CRASHED. HOW DO I START WITH A BLANK SD CARD.
-
@tdybare69 said in RepRapFirmware 3.0 first official beta is out:
I NEED HELP MY SD CARD CRASHED. HOW DO I START WITH A BLANK SD CARD.
You start by turning off your Caps Lock. Then you format the SD card, download Raspbian - write the image to the SD card, and add the Duet3D repository and install DuetSoftwareFramework according to the Wiki. (Or wait for the Duet3d guys to make the image available as a download)
wget -q https://pkg.duet3d.com/duet3d.gpg wget -q https://pkg.duet3d.com/duet3d-unstable.list sudo mv duet3d.gpg /etc/apt/trusted.gpg.d/ sudo mv duet3d-unstable.list /etc/apt/sources.list.d/duet3d-unstable.list sudo chown root:root /etc/apt/trusted.gpg.d/duet3d.gpg sudo chown root:root /etc/apt/sources.list.d/duet3d-unstable.list sudo apt-get install apt-transport-https sudo apt-get update
-
The only option I currently see is start with a new Raspbian image and install Duet Software Framework as described here: https://duet3d.dozuki.com/Wiki/Duet_3_prototype_guide_for_OEMs
I'm currently doing that since my Duet3 apparently came without SD card and it seems to work. I have not connected any Hardware to the Duet yet.
-
@tdybare69 I have just finished writing the documentation to help with this:
https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3
Please let me know how you get on.
@bearer thankfully we have the SD image so hopefully it will be a bit quicker now. Also welcome feedback on the linked documentation.
-
@jannau I am surprised your Duet 3 came without an SD card, I will pass that on. Please see this documentation:
https://duet3d.dozuki.com/Wiki/SBC_Setup_for_Duet_3
Feedback welcome I have just written it!
-
Looks good at a glance, minor formatting glitch in the list way at the bottom, has visible
[code]
tags.DuetPi.img 3.2G - this could probably be compressed to save some bandwidth and or time.
Edit:
You will need at least an 8Gb class 10 SD card.
If using a larger card you may wish to expand the filesystem to utilize the adittional space. Run
sudo raspi-config nonint do_expand_rootfs
to expand the filesystem to span the whole card.One this is complete Windows may prompt you to format the disk. Do not do this, it is because Windows does not recognise one of the partitions on the image.
Once
Create a new file named “wpa_supplicant.conf” (exact naming is critical, do not have a ".txt" at the end of the file).
This file already exists in the image btw
In a text editor add the following:
country=GB
Replacing the SSID_OF_NETWORK with your wifi SSID and PASSWORD_OF_NETWORK with your password.
Save and safely eject the SD cardMight be obvious to some, but changing the country code for compliance with wifi certifications might be mentioned here. Which channel the driver will allow the wifi chip to use is dependent on this setting. Two letter country code from https://en.wikipedia.org/wiki/ISO_3166-1#Officially_assigned_code_elements
If none of these steps work see the Troubleshooting Duet 3 - SBC communications documentation.
dead link
Image Size and compression: DuetPi.img 3,447,717,888 vs DuetPi.img.bz2 864,099,605 - maybe not everyone is living in purgatory with a 4Mbit downstream. Also consider adding MD5/SHA1 signature files to help verify the download.
-
@bearer WHERE DO I GET THE DUET 3D REPOSITORY.
-
@tdybare69 said in RepRapFirmware 3.0 first official beta is out:
@bearer WHERE DO I GET THE DUET 3D REPOSITORY.
i got it working the hard way but it is missing files. i am going to try your way. then maybe i can get the bltouch to work
i keep getting a m280invalid servo index 5 in m280 command. -
@tdybare69 can you start a new thread with the specific issue.
If by "missing files" you mean the printer configuration for your printer, you do need to generate that yourself, looking at the issues you are reporting i would start by checking.
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M280
and you will need to setup the specific pin you are using for the BL touch servo using M950.
-
@T3P3Tony i have plugged it in according to the diagram. black and white on the probe 2 right pins. the red on pin1 , brown on pin 2, and the orange on pin 8.
-
no i mean there is no override file,or deploy.g, or retaract.g. those r just the ones i know about. i am new to this.
-
@tdybare69 said in RepRapFirmware 3.0 first official beta is out:
no i mean there is no override file,or deploy.g, or retaract.g. those r just the ones i know about. i am new to this.
there is one guy at matter hackers that ben helping but they dont deal with bl touches alot. -
@bearer said in RepRapFirmware 3.0 first official beta is out:
Looks good at a glance, minor formatting glitch in the list way at the bottom, has visible
[code]
tags.DuetPi.img 3.2G - this could probably be compressed to save some bandwidth and or time.
here is my config.g file.
; Configuration file for Duet WiFi (firmware version 2.03)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2.0.4 on Tue Sep 17 2019 19:45:33 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Turnigy" ; set printer nameM667 S1 ; select CoreXY mode
; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E97.00 ; set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E1500.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00 E10000.00 ; set accelerations (mm/s^2)
M906 X950 Y950 Z950 E950 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X330 Y330 Z400 S0 ; set axis maxima; Endstops
M574 X1 Y1 Z1 S0 ; set active low and disabled endstops; Z-Probe
M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
M558 P5 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X73 Y35 Z2.5 ; set Z probe trigger value, offset and trigger height
M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I0 F500 H-1 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off; Tools
M563 P0 S"HotEnd" D0 H1 F0 ; 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; Custom settings are not defined