Skip to content

Instantly share code, notes, and snippets.

View jfryman's full-sized avatar

James Fryman jfryman

View GitHub Profile
@jfryman
jfryman / 0_Voron-CAN.md
Last active January 5, 2024 14:08
Setting up EBB36 + U2C on Klipper for Voron

Here's what's worked for me. As always, YMMV.

Writing this down for my own history just as much as it might help someone else. I've done two nine machines so far this way. Hope this helps someone!

  • Hardware used: EBB36 v1.1 + U2C v1.2
  • CAN wiring: Get FEP Wire. Used to recommend 18 Gauge for Power, reclaimed twisted pair from CAT-5 or CAT-6 cable for CAN-H, CAN-L, but I've also received failures eventually from my CAT-6 cable. It's not rated for the movement. Get better cables.

Ensure wiring is setup properly.

Easy way to remember: Ensure power is correctly wired on each end (it's different) and then pair CAN-L with GROUND below, and CAN-H with 24V below in each of the connectors. Image references below.

@jfryman
jfryman / printer.cfg
Created January 27, 2023 22:30
AM8 Klipper Config
########################################
# Printer Configuration
########################################
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f429xx_3C001E000250315637383220-if00
#[mcu rpi]
#serial: /tmp/klipper_host_mcu
#[adxl345]
#
# Local settings can be configured without being overwritten by package upgrades, for example
# if you want to increase puppet open-files-limit to 10000,
# you need to increase systemd's LimitNOFILE setting, so create a file named
# "/etc/systemd/system/puppet.service.d/limits.conf" containing:
# [Service]
# LimitNOFILE=10000
# You can confirm it worked by running systemctl daemon-reload
# then running systemctl show puppet | grep LimitNOFILE
#
Hey Marc,
Thanks for reaching out. One thing still really sticks out to me, and honestly that’s the age of most of the folks involved I can see with Globalie. I saw in the LOI a gentlemen by the name of Evan Wesselman, and did my internet search to see if I could learn something about him. What I found was a profile that largely mirrored your own.
And then, I saw this…. https://www.quora.com/What-is-Globalie-Foundation-Is-it-legit
I’m still very unclear about this program as a whole, and I’d be surprised if you hadn’t received other feedback like this before, so I certainly would love to get your thoughts. In addition, do you have some references of folks that I can talk to about you and the company as a whole?
Thanks!
@jfryman
jfryman / environment.rake
Last active November 14, 2017 20:20
Puppet Env Magic
$stdout.sync = true
namespace :environments do
desc "Update one or more branches "
task :update, :branch do |_, args|
branch = args[:branch] || 'all'
log "Pruning origin"
git(:remote, :prune, :origin)
cmd/deployment-controller/main.go:123: cannot use config (type *"github.com/<redacted>/<redacted>/<redacted>-operator/vendor/k8s.io/client-go/rest".Config) as type *"github.com/<redacted>/<redacted>/<redacted>-operator/vendor/k8s.io/apiextensions-apiserver/vendor/k8s.io/client-go/rest".Config in argument to clientset.NewForConfig
#!/usr/bin/env bash
DEVICE=/dev/ttyUSB0
CDROM=/dev/cdrom
EPOCH=$(date +%s)
CMD_CALIBRATE=C
CMD_GRAB_NEW_DISK=I
CMD_EJECT_DISK_SUCCESS=A
CMD_GRAB_FROM_DRIVE=G
CMD_REJECT_DISK=R
@jfryman
jfryman / gist:883d9db178a4ee8da4911403624e3f16
Last active July 5, 2017 15:40
Fryman's VR Rig Build
#!/usr/bin/env bash
#
# Checks the condition in which emacs is called,
# and makes a determination as to how to spawn
# the emacsclient
#
# Depends on
if [ "$DEBUG" = "1" ]; then
set -x
@jfryman
jfryman / Gemfile
Last active June 5, 2019 13:30
Control your Geekdesk with an Arduino via MQTT
source 'https://rubygems.org'
gem 'em-cron', '~> 0.2.0'
gem 'em-mqtt', '~> 0.0.5'
gem 'em-rubyserial', '~> 0.0.2'
gem 'scrolls'
gem 'foreman'
gem 'pry'