Difference between revisions of "Voron Configuration"
From Just in Time
m |
|||
Line 1: | Line 1: | ||
=== CAN Bus upgrade === | === CAN Bus upgrade === | ||
+ | Mellow sb2040. | ||
* [https://forum.vorondesign.com/threads/can-bus-upgrade-information-and-sources.323/ This thread] has info, but more noise than signal. | * [https://forum.vorondesign.com/threads/can-bus-upgrade-information-and-sources.323/ This thread] has info, but more noise than signal. | ||
Line 7: | Line 8: | ||
* [https://www.reddit.com/r/VORONDesign/comments/11j6hym/help_setting_up_canbus_sb2040_utoc3_octopus_11/ reddit thread] with useful links. | * [https://www.reddit.com/r/VORONDesign/comments/11j6hym/help_setting_up_canbus_sb2040_utoc3_octopus_11/ reddit thread] with useful links. | ||
* More [https://github.com/Esoterical/voron_canbus explanatory git pages]. | * More [https://github.com/Esoterical/voron_canbus explanatory git pages]. | ||
− | |||
Line 21: | Line 21: | ||
<blockquote><code>sudo wget <nowiki>https://cdn.mellow.klipper.cn/shell/can-enable</nowiki> -O /usr/bin/can-enable > /dev/null 2>&1 && sudo chmod +x /usr/bin/can-enable || echo "The operation failed"</code></blockquote> | <blockquote><code>sudo wget <nowiki>https://cdn.mellow.klipper.cn/shell/can-enable</nowiki> -O /usr/bin/can-enable > /dev/null 2>&1 && sudo chmod +x /usr/bin/can-enable || echo "The operation failed"</code></blockquote> | ||
<code>sudo sed -i '/^exit\ 0$/i \can-enable -d can0 -b 500000 -t 1024' /etc/rc.local</code> | <code>sudo sed -i '/^exit\ 0$/i \can-enable -d can0 -b 500000 -t 1024' /etc/rc.local</code> | ||
+ | |||
+ | === Flash CAN bus === | ||
+ | python3 flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u 9ba2113afef3 |
Latest revision as of 20:11, 1 January 2024
CAN Bus upgrade
Mellow sb2040.
- This thread has info, but more noise than signal.
- Klipper supports using the BTT Octopus as a USB-to-CAN device
- Some experiences and designs in a github repo here.
- Mellow SB2040 documentation.
- reddit thread with useful links.
- More explanatory git pages.
Steps performed:
sudo /bin/sh -c "cat > /etc/network/interfaces.d/can0" << EOF
allow-hotplug can0
iface can0 can static
bitrate 500000
up ifconfig \$IFACE txqueuelen 1024
EOF
sudo wget https://cdn.mellow.klipper.cn/shell/can-enable -O /usr/bin/can-enable > /dev/null 2>&1 && sudo chmod +x /usr/bin/can-enable || echo "The operation failed"
sudo sed -i '/^exit\ 0$/i \can-enable -d can0 -b 500000 -t 1024' /etc/rc.local
Flash CAN bus
python3 flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u 9ba2113afef3