Doodle3D / print3d

The application that runs on a Doodle3D WiFi box that communicates with printers.
www.doodle3d.com
GNU General Public License v2.0
13 stars 4 forks source link

M115 for printer detection #30

Closed companje closed 8 years ago

companje commented 8 years ago

Currently M105 (get temperature) is used to detect successful communication with a printer. Would it be possible and more useful to use M115 for this. This gives a lot more info like printer name/type etc.

For example:

Craftbot:

SENDING:M115
ok PROTOCOL_VERSION:0.1 FIRMWARE_VERSION:1.1.7477 FIRMWARE_NAME:pr3Dator MACHINE_TYPE:CraftBot EXTRUDER_COUNT:1

Ultimaker2 (or 2go)

[FIRMWARE_NAME:Marlin Ultimaker2; Sprinter/grbl mashup for gen6 FIRMWARE_URL:http://github.com/Ultimaker PROTOCOL_VERSION:1.0 MACHINE_TYPE:Ultimaker EXTRUDER_COUNT:1]
olijf commented 8 years ago

Seems my prusa i3 sends back

https://www.sunhokey.com Machine:Prusa I3
ok

So not much info is given. (Also the ok comes after the response)

peteruithoven commented 8 years ago

This would be useful to automatically adjust machine settings like heated bed support, bed size etc right? But seeing that, for example the Ultimaker 2 Go doesn't mention it being the 2 go version of a Ultimaker 2 I'm unsure this will be useful. Only being able to detect some properties would complicate things, user would still have to adjust settings for things like bed size.