Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12108

Grab temperature with python-scirpt

$
0
0
Hello,
I'm wondering if you know how to read all the data that is being sent from the printer to through the USB-cable to the host/server-software? I have a printer with Marlin, connected by USB to a raspberry pi with Repetier Server, and since the data is sent through serial it should be possible to save the data with a python-script in the same way as repetier server does. What I want is to find the extruder temperature to hook it up to a ventilation fan that should be started/stopped depending on the temperature. If I with a Python-script import the data being sent by serial I seem to get the first message sent to the terminal of repetier but I don't see the temperatures.

Any one done this or anything similar that can give me some help?

Viewing all articles
Browse latest Browse all 12108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>