Essentially, I want to see if I can send certain GCODE from a 3d printer with ITS OWN STANDALONE CIRCUIT BOARD NOT IN ANY WAY TIED TO THE ARDUINO, to the Arduino so that way it can execute a program, as well as is it possible to extract certain bits of the file name so I can store that as a variable in the program? I want to make it clear I did not and am not using the Arduino to program the 3d printer, the 3d printer already has its own PCB and firmware, I simply want to receive information from the printer when its starting and ending a print. Thanks in advance!
well you will need some kind of connection to make that happen. It can't stay unconected.
This will require a really deep reverse-engineering of the firmware to extract the filenames. Re-construct the source-code from a compiled program is a task where even the NSA would work months on it with more than one specialist.
It would be easier to write your own 3D-firmware from scratch than reverse-engineering an existing firmware where you only have a maybe protected and encrypted firmware on the 3D-printers flash-memory.
This is easy as your printer will offer more than one "change" of something that could be used for indicating "printing starts" "printing has finished"
To give any further advice on how to do it, the minimum is that you provide a datasheet of the 3D-printer.
Depending on what 3D-printer this is maybe more things are possible.
How does the 3D-printer receive the data to print?
What is the purpose of the program on that additional Arduino?
You should describe the functionality of this additional Arduino in normal words. I'm pretty sure that there a different and much easier ways to achieve the same functionality with a different solution.
best regards Stefan
Sounds like a change is needed to the Marlin (most likely) code running on the 3D printer,
SO my plan is to have the arduino connected to the 3d printer at all times, but the printer is a prusa MKIII that receives its GCODE via an SD card, and I want the 3d printer to activate the arduino program when its starting and when it's ending
I clarified the fact that it wasnt connected to the arduino because when I googled this 100% of the results were using the arduino AS the circuitboard FOR the 3d printer
the idea is to send an email to certain email, say the person who started the print, and the email would be sent when the 3d printer started printing, and when it ended printing, and if possible include the time it will take for the print to be done, I have to figure out someway to extract the email from somewhere, in of which I thought the easiest way to do so would just be to read the file name which would be ONLY the email. I already have the email sending program sorted out, just need a dynamic way to send the email to a certain address and reactivate the program once said address has been acquired
Plenty of 3D printers have 1284P and 2560 based boards with the MOSFETs for driving the motors that are NOT Arduino + RAMPs boards.
So if you want to send a serial output from the 3D processor "to the Arduino so that way it can execute a program" then you will need to change the code the 3D processor is running, which more than likely will be some version of Marlin.
Hi Kinge,
do me a favor and use DeepL Translate: The world's most accurate translator
for translating. Type your text into deepL in your native language and let do deepL the translation. Still write short sentences. This will greatly increase the comprehensibility.
best regards Stefan
I don't know what you're asking here, but English is my native language, and my name is spelled "king", it's ok that you said "kinge", most people get it mixed up, regardless I just need an answer to if it is possible, and if so how.
https://e3d-online.dozuki.com/Guide/Prusa+i3+MK3+Firmware+Modifications/141
- Download fresh Prusa i3 MK3 firmware:
- https://github.com/prusa3d/Prusa-Firmwar...
- If you haven't already, also install the Arduino IDE.
- https://www.arduino.cc/en/Main/Software
Digging down a little:
Prusa Firmware MK3
This repository contains the source code and the development versions of the firmware running on the Original Prusa i3 MK3S/MK3/MK2.5S/MK2.5 line of printers.
The latest official builds can be downloaded from Prusa Drivers. Pre-built development releases are also available here.
The firmware for the Original Prusa i3 printers is proudly based on Marlin 1.0.x by Scott Lahteine (@thinkyhead) et al. and is distributed under the terms of the GNU GPL 3 license.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.