Hello, am new here but not a newbie as such.
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
OK, stuck:
Board says wifi idle. Have no idea what to put in as M587 command. wasn't it meant to be an adhoc option, I have no router hub?
Literally can't find instructions as to what my IP address should/might be in the DUET or how to set up as adhoc. Some help needed, please.
R
Access point mode is configured via M589. You'll define the SSID, the IP address, etc.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters
-
@Phaedrux Cool, I have adhoc/local wifi now so that's great. Need to wire up the board next then work out how to put in basic config page and update.
Connections now...
-
-
For firmware update, chances are you will be able to upload this single zip file to the system folder via the web control and it will do the rest.
https://github.com/dc42/RepRapFirmware/releases/download/2.05/Duet2Firmware-2.05.zip
-
Endstops; Seems to be only one set available?
I take it these are homing/0 endstops. There does not seem to be 0plus or end of travel stops needed? Is this managed by the axis length settings in mm?
-
@Phaedrux Thanks, am having to jump between phone wifi and duet wifi so takes some time to reply. Bit of a pain actually.
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
Endstops; Seems to be only one set available?
I take it these are homing/0 endstops. There does not seem to be 0plus or end of travel stops needed? Is this managed by the axis length settings in mm?
That's correct. There is only one endstop per axis. It can be at either the high or low end of travel. The axis length limits are enforced by the firmware. The endstops are only active during homing moves (G1 H1 X Y Z).
https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches
https://duet3d.dozuki.com/Wiki/Test_homing_behaviour -
@Phaedrux Thanks, assumed so.
Wifi
For some reason my duet wifi network is not sticking. I checked the config did not have the semi colon in front (of the M code I assume?) The blue board light is on but the FuseDeep wifi is not showing (i shut down YAT fyi).
The duet screen is showing wifi idle. have done the S2 command.
It worked a few minutes ago...
-
I seem to have to keep adding
M552 S2 via YAT
For my laptop to see the network. This has not stuck ON in the duet board for some reason. Grr.
-
@Phaedrux Thanks, have updated.
-
I would suggest you create a macro file with the commands to start the ad hoc wifi network. Then you can trigger that macro from the PanelDue to start the wifi.
The duet is configured via gcodes at startup. There is no configuration that remains on the board per se. The config.g file contains the configuration and it gets read and executed at startup. So for something to stick, that's where it has to go.
However, not all commands can be sent from config.g. Namely the wifi configuration commands. Hence why it would be best to create a separate macro for creating the ad hoc network.
Once you are in the DWC you can go to the macros tab and create a new file. Name it AdHocWIFI. In that text file you can place an M552 S0 command to make the module idle, then maybe a G4 S2 command to pause for 2 seconds, and then the M589 command to create your ad hoc network.
It may also then be possible to call that macro file at the end of config.g, but I haven't tested that.
You can call a macro file with M98 P"AdHocWIFI"
-
@Phaedrux It's all gone wrong.
Deleted the not needed factory test lines at start and updated and it won't restart...Did I mention not liking wifi set ups! lol
-
Can you post the contents of your config.g as it is currently?
Also what do you see on the PanelDue console at startup?Yes Wifi is a bit persnickety. Trying to do initial setup without a router in the mix will be a bit challenging.
-
It take 3 or 5 entries of
M552 S2 via YAT
For it to say it is doing the adhoc network
The macro is saved as a new document. I double clicked it and everything went wrong. What am I supposed to do with a macro to get it to work/be used?
I just need the FuseDeep network to go live when the machine is in use. obviously
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
everything went wrong.
What exactly does that mean?
Normally, the DuetWifi works like this. The SSID you want to connect to and the username and passwords is saved to the wifi module. Multiple SSIDs can be saved, and when the config.g is executed at startup, the wifi module is set to active with an M552 command and it will connect to whatever SSID has the best signal strength.
In your case, we want the module to stay idle at startup, and then configure ad hoc mode so we can connect to the duets network.
I don't know what you have in config.g or in the adhoc macro, so I can't say what to change.
-
...No idea what it means really...lol.
It seems to be behaving now. Am wiring up some connections then will look at config file. The adhoc macro I created, will that run automatically? Or do I need to put it somewhere special?
As you say just need fusedeep wifi from DUET 2 to come live so I can connect to use it. ideally.
Thanks. R
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
The adhoc macro I created, will that run automatically? Or do I need to put it somewhere special?
It won't run automatically. The documentation for M589 states that it will not run from config.g. So we must call it separately.
The macro you created will live in the macros folder.
To call the macro, you use M98. https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram
At the end of config.g you can add
M98 P"AdHocWIFI"
(assuming that's what you named it) to call the adhoc network macro. That should work I think, but I haven't tested it myself.I mentioned using G4 S# commands earlier, these are pause commands to wait a set amount of time. The wifi module needs some time to process the commands it is sent. The module needs to be in the idle mode before it can be configured and it can take a few seconds for it to switch to idle.
-
Awesome thanks.
Lot's more reading up to do.
I have my Z stepper connections labelled A+- and B+- , can I equate this to A- = A1 and A+ = A2 and similar for B?
-
@FuseDeep said in Hello, am new here but not a newbie as such.:
I have my Z stepper connections labelled A+- and B+- , can I equate this to A- = A1 and A+ = A2 and similar for B?
I'm sorry, but I don't follow.
-
My previous Z plug is labelled A+- and B+- for the stepper coil sets.
The DUET 2 board uses 2B2A1A1B
Is 2A1A equal to A+ and A- and similarly for B; 2B1B equal to B+ and B- for the sake of wiring the new plugs?
SORTED IT!