Giter VIP home page Giter VIP logo

linuxcnc-reprap's Introduction

LinuxCNC-RepRap

Code and configurations to use LinuxCNC to control a RepRap 3D printer

HAL Modules

Copy the contents of the components/ directory to src/hal/components in a LinuxCNC source working directory and build as usual.

LinuxCNC Configuration

Run stepconf to generate a configuration for your specific 3D printer, or start with the MendelMax.hal or MendelMax.ini file provided.

Copy the custom* files to your LinuxCNC configuration directory to load the I2C ADC driver and add an extruder temperature monitor panel to the axis gui.

Hardware

The interface between a standard PC parallel port and the RAMPS board is pretty simple (see KiCAD schematic and PDF file in lcnc2ramps).

There is a single transistor inverter to convert an output pin into an open-collector drive SDA signal. Combined with a second output for SCL and an input to read the SDA status these three pins form an I2C bus to talk to the ADC (and anything else you want to connect and write code for). If you do want to add additional I2C chips, crafting a command is reasonably straight-forward. E-mail me if you can't figure it out from the comments in the I2C.comp file.

There are two more single transistor inverters to insure the RAMPS FETs have enough gate drive to turn on hard.

Finally, the RAMPS board is powered by 3.3V and NOT 5V. This is because of the ADC input requirements and to insure the stepper driver chips see the 3.3V high typical of most PC parallel ports as a logic high.

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.