Skip to content

Instantly share code, notes, and snippets.

BIQU BX (OR ANY PRINTER) PI AUTO SHUTDOWN MOD

So you bought a raspberry pi and have it connected to your printer. Nice! You may have even gone one step further and decided to power it using the printer PSU (which is by default if you are using a BIQU BX). Also nice. However, the downside to that is that your pi will now turn off without a safe shutdown process when you power off your printer.

While this is never going to brick your pi it most definitely can corrupt the SD card and require you to reinstall the OS as well as any other tools that you have installed on top of the OS. Since nobody wants to spend half a day doing that I developed this mod which will safely shut down the pi when the power to the machine is cut.

*Take note that this mod is currently in beta but is in it's third iteration so it should be relatively stable. Installing this mod while this message is still a part of this gist means that you are signing on as a beta tester. Please share your experience, positive or negative, in the c

BIQU_B1_UBL_INSANE_RES Guide

If you are here then you are thinking about using the insane res build. While it was primarily created for those with very warped build surfaces it will nevertheless still be usable by those using surfaces that are not warped and it should not cost much in terms of time before each print. In fact it is likely to save you time before each print.

What is different between ABL and UBL?

Both systems are very similar. ABL however is more suited to probing the entire bed before each print whereas UBL is better suited to probing the entire bed on a once off basis and then only doing a quick probe before a print to determine whether the bed has shifted in orientation at all. ABL could technically produce the same resolution as UBL however it would require a detailed probe of the entire bed before each print which would take forever.

Both systems create a mesh of the bed which helps Marlin to understand how to adjust the height of the nozzle as it moves over the bed.

Getting started with your B1

Congratulations on getting a shiny, new B1. It is a great machine for beginners and experienced users alike but like all machines you will need to do some things just right to get the most out of it. This is a brief guide which explains how to put together your B1 to ensure that the mechanics will just work.

Installing the uprights

When installing the uprights it is crucial that they be at 90 degrees to the base and not the bed. The bed will be sorted out later. If you fail to ensure this then you are likely to experience later issues with ABL and/or the nozzle scraping across the print.

In order to ensure that both uprights are at 90 degrees you will need to use a set square. Eyeballing it alone is not enough and relying on the provided brackets is also not enough since they include some play by design in order to allow you to manipulate the frame to overcome manufacturing tolerances. Place the set square up against the frame and the base as can be seen in the image

@jessarcher
jessarcher / dslr-webcam.md
Last active March 10, 2024 17:25
Using my Canon 70D DSLR camera as a web cam on Linux

You'll need:

  1. Video 4 Linux loopback device kernel module (v4l2loopback) - Source: https://github.com/umlaeute/v4l2loopback (You might find builds in your distro's repos - I'm using Fedora so had to build it myself using https://github.com/danielkza/v4l2loopback-fedora/)
  2. gPhoto2 - this is what allows you to access your cameras live feed over USB - this was available in Fedora's repos.
  3. GStreamer or ffmpeg - this is what lets you stream the output from gPhoto2 into the loopback device.

It's been a little while since I set it all up so I can't remember all of the installation details, which will probably be different for your distro anyway unless you're using Fedora. Apologies if I have forgotten something as wel.

Running the stream

@bassicrob
bassicrob / beer-HA-NRflow.js
Last active March 8, 2022 09:28
HA Node Red Flow
[
{
"id": "43f03a36.8fbb04",
"type": "tab",
"label": "Beer Stats",
"disabled": false,
"info": "This node copied from:\nhttps://gist.github.com/bassicrob/19b6a16bba2bac1961b2bbc22d380d71\n\nSee my other gists for TiltPi flow to publish the required data to MQTT, and Lovelace card view.\n\nCheers!!"
},
{
"id": "a4a624df.14dbc8",