hyansuper / plotbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plotbot

Python code for Line-us clone. After reading the post, I redesigned the model with Fusion360. You can download the Fusion360 file here

The Line-us drawing robot is a much finer product and more accurate than this one.

Hardware:

  • raspberry pi zero w
  • Adafruit PCA9685 PWM servo controller
  • metal geared 9g servo X3
  • 4x10x8mm bearing X3, or 4x10x4mm bearing X6
  • button X1

Dependency:

pip install pyyaml adafruit-pca9685 gpiozero flask flask-socketio
git clone https://github.com/hyansuper/linedraw
git clone https://github.com/hyansuper/flask_video_streaming

How to use:

export PYTHONPATH=$PYTHONPATH:$pwd
git clone https://github.com/hyansuper/plotbot
cd plotbot
change conf.yaml file according to your servo settings
cd examples
run 'python web_app.py' or 'python sketch_app.py'
then visit <pi_zero_ip_address>:5000

Tips for 3D print:

The stiffness of the arm greatly affects the output, to achieve good result, you'll need good quality bearings, and the 4 links making up the arm should be printed with 100% infill.
Also, the links need some sanding to fit in the bearings

About

License:MIT License


Languages

Language:Python 100.0%