Git – Updating a Fork from the upstream Repo

Add the repository this fork was created from as an upstream remote

git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.

Fetch everything from upstream

git fetch upstream

Switch to the branch you want to merge

git checkout master

Merge

git merge upstream/master

OctoPrint Plugin for Klipper

I made a OctoPrint plugin for the Klipper 3D printer firmware. It’s on GitHub at: github.com/mmone/OctoprintKlipperPlugin.

Features so far:
  • Simplified connection dialog.
  • Restart Host and MCU processes.
  • User definable macro buttons with optional parameter dialogs.
  • Assisted bed leveling wizard with user definable probe points.
  • Dialog to set a coordinate offset for future GCODE move commands.
  • PID Tuning Dialog.
  • Message log displaying messages from Klipper prepended with “//” and “!!”.
  • Basic Klipper configuration editor.
  • Performance graph displaying key parameters extracted from the Klipper logs.

Installation

Access the Plugin Manager by clicking the wrench icon in the header. This opens the OctoPrint settings. Select “Plugin Manager” in the sidebar. Search for “Klipper” and click the “Install” button.

or install  manually using this URL:
https://github.com/mmone/OctoPrintKlipper/archive/master.zip

Update

OctoPrint will inform you when a new version of this plugin becomes available.

Some screenshots:

Deadly Cheap Power Supply

This is why I open all power supplies before using them if at all possible.
Mounting this supply would have put the housing at mains voltage. That’s also why you should never forget the protective earth connection.

Open Source Brushless Servo

The odrive is a open source high performance brushless servo platform based on RC BLDC motors. Great Stuff!

Key Specs

  • Two motor channels.
  • 24V, designed for more than 100A peak current.
    • 48V version just released.
  • DC-DC converter, for brake resistor or energy storage.
  • Encoder feedback for arbitrarily precise movements.
  • Supports power regeneration.
  • Optional use of a high power density battery means you can achieve >1kW peak power output with only a modest power supply.
  • Open source: HardwareSoftware

Interfaces

  • USB Serial port — PC, BeagleBone, RaspberryPi, etc.
  • CAN — CANOpen and CiA 402 is a possibility.
  • UART — Arduino, mBed, etc.
  • PWM — RC Recievers, Arduino, etc.
  • Step/direction — Existing motion controllers
  • Some general purpose digital and analogue pins

Protocols

  • Many types of command modes
    • Goto (position control with trajectory planning)
    • Position commands
    • Velocity command
    • Torque command

GCODE from SVG in the Browser

Jscut is an open source browser based GCODE generator that uses SVG as an input.

Jscut seems to be the predecessor of LaserWeb by the same developer and several other contributors that is focused on controlling lasercutters but does basically the same with a more polished interface.