Skip to content

Latest commit

 

History

History
67 lines (36 loc) · 902 Bytes

README.md

File metadata and controls

67 lines (36 loc) · 902 Bytes

3D Printer Controller

This document contains the setup instruction to run this contoller in Raspberry Pi.

MODULES

  • File Processor

Setup

Virtual Environment Setup

# Create a new virtual environment named env
virtualenv env

# Windows
env\Scipts\activate

# In Linux
source env/bin/activate

Installing Required Libraries

  • Install pyserial library to interact with serial port.

    pip install pyserial
  • Install paho-mqtt for handling MQTT communication.

    pip install paho-mqtt
  • Install python-dotenv for dealing with environment variables.

    pip install python-dotenv
  • Install wget for downloading files from Internet

    pip install wget

List Available Serial Ports

To use this command pyserial must be installed.

python -m serial.tools.list_ports -v