Git Product home page Git Product logo

zsprinter-pynquino's Introduction

Zsprinter-pynquino

What is this

A 3D printer firmware which runs on PYNQ-Z1. Codes are derived from the Sprinter by kliment. https://github.com/kliment/sprinter

How to build with CLI (under the PYNQ/pynq/lib/arduino folder)

  1. Prepare Pynquino BSP using the instruction here. https://github.com/shohei/pynquino-bsp-library

  2. Clone this repository

cd pynq/pynq/lib/arduino
git clone https://github.com/shohei/zsprinter-pynquino
mv zsprinter-pynquino/arduino_zsprinter .
cp -r ../../../boards/sw_repo/bsp_iop_arduino_mb bsp_iop_arduino
(If your hardware design is the same as mine, do the following: 
mv zsprinter-pynquino/bsp_iop_arduino .)
cd arduino_zsprinter/Debug
make

How to build with GUI (Xilinx SDK)

  1. Clone this library to SDK folder
cd pynq/pynq/boards/Pynq-Z1/base/base/base.sdk
git clone https://github.com/shohei/zsprinter-pynquino
mv zsprinter-pynquino/arduino_zsprinter .
mv zsprinter-pynquino/bsp_iop_arduino .
  1. Import BSP and Zsprinter project into Xilinx SDK

  2. Change C/C++ build setting

Not sure why, but Xilinx SDK executes "make clean" all the time, rather than "make all". We have to force "make all" as shown in the picture below.

setting

Attention: because of the make behavior above, "make clean" doesn't do anything. For cleaning purpose, use "make mrproper" instead. You can put clean script manually using pre-build step in the C/++ build setting. Use following command as the pre-build command.

rm -rf  ./src/heater.o ./src/SeeedOLED.o ./src/arduino_zsprinter.o  ./src/heater.d ./src/SeeedOLED.d ./src/arduino_zsprinter.d  arduino_zsprinter.elf.size  arduino_zsprinter.elf arduino_zsprinter.bin

setting2

Commands

✅ M105 Get temperature

✅ M119 Get endstop status

✅ M104 S... Set nozzle temperature (heater 0)

✅ T0, T1 extruder UV-LED head switch

✅ M700 UV LED ON

✅ M701 UV LED OFF

✅ M702 Dispenser ON

✅ M703 Dispenser OFF

✅ M704 S4000 Set dispenser pressure to 400.0kPa

✅ M712 Dump PID value

✅ M713 Toggle cold extrusion (Enable/disable dispenser and UV-LED)

zsprinter-pynquino's People

Contributors

shohei avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.