Software Installation Wiki - IRTrail/Happy-Hare GitHub Wiki
Software Installation
This section deals with installing Happy Hare to the host computer (most commonly the Raspberry Pi).
Software Installation Steps
Let's install the software now. Basically, the installation proceeds as with any other git based software, indeed like Klipper itsself.
Cloning into Happy Hare
The first step is to clone the Happy Hare repository onto your Raspberry Pi. If you're unfamiliar with cloning, it just copies all the data in the git repository to your local computer. Since the Happy Hare git has all the necessay software, we use the git clone
functionality to pull everything from github to the local computer (the rpi, in most cases of Klipper). So, go ahead and log into your rpi via ssh.
In power shell, and with Mainsail, this will look like this:
ssh [email protected]
- You will notice in the following pictures the bash prompt is
pi@brokkr:~
. Yours won't look like that. It will bepi@<hostname.:~
where the hostname is likely "mainsailos" or the ip address. No need to worry. I have more than one printer running Klipper, so I had to change the name to keep them separate.
Alternatively, you can use your Klipper ip address, which will look something like this:
ssh [email protected]
(You'll need to change the ip address.)
From there, you're going to clone Happy Hare software to your rpi:
cd ~
git clone https://github.com/moggieuk/Happy-Hare.git
(it's ok to click the copy icon and right click in the ssh terminal to paste or just type it out if you want.)
Let that finish. It should only take a few seconds, and you'll now have your very own copy of Happy Hare stored on your rpi!
Now, you're going to change to the Happy Hare directory using the cd
command (cd
is Linux Geek for "change directory"):
cd Happy-Hare
Here is a picture of the previous steps successfully performed:
Running the installation script
Finally, you'll install Happy Hare using a bash script which contains all the commands necessary to install Happy Hare:
./install.sh -i
- Here, we're using the
-i
switch (switch is more Linux Geek for "option") to activate an interactive install. This will help guide you through setting most basic options for your MMU. This is generally only needed for the first install. Upgrading can be done by./install.sh
with no switches.
You'll be asked a series of questions pertaining to your hardware and options.
1. MMU Type
Choose from the list. The options will from here out based on what you choose:
- ERCF v1.1
- "stock" ERCF v1.1 (Threaded rods, support blocks between every 3rd gate, etc.)
- ERCF V2.0
- This includes the "ThumperBlocs" mod. However, you'll need the "Thicker" ThumperBlocks.
- Tradrack v1.0
- Other
- Custom setup
- Just basic files you can edit yourself later.
For this example, we're just going to run through a ERCF V2.O install, as that is the most popular option at the time of this writing.
2. Filament Blocks
You'll be asked if you're using Thumperblocks.
3. Number of Gates
Happy Hare installer then asks for the number of gates.
4. Control Board
Select the type of control board you have installed.
5. Control Board Address
Happy Hare will then attempt to figure out where your control board is. So far, this doesn't work for CANBUS boards.
6. Selector Touch Operation
Decide whether or not to enable Selector Touch operation. This can help with recovery of an error, but is also a bit difficult to get set up properly. It's better to say "no" and get it working after you're more familiar with the ERCF and Happy Hare.
7. LED Options
If you have neopixels installed on your ERCF, enable them here.
8. Servo Options
Select your servo option from the list.
9. Clog detection
If you have a reliable encoder, it's probably best to enable clog detection and set it to automatic. This acts like a smart filament sensor and will pause the print if something goes bad with the filament feed.
10. Tool to gate mapping
Happy Hare has the capability to map multiple gates to one tool. This allows for "endless spool" operation. When one spool runs out, if you have the same material and color mapped to another gate, it will automatically switch to the other gate and resume printing. If you have an encoder and gate switches, this option is recommended for long prints.
11. Final step
The last step asks to add the [include mmu*]
lines to your printer.cfg. On initial setup, select yes. In the image below, it was set to "no" because Happy Hare is already installed and wasn't needed.
From here, Happy Hare will install itself with the options you've selected. You should have a nice little report that Happy Hare is ready:
Now, you have Happy Hare installed on your rpi. Feels good, doesn't it?