Skip to content

Commit

Permalink
Merge pull request #255 from FengHua741/master
Browse files Browse the repository at this point in the history
更新双子座120Ω跳线 更新can掉线潜在解决方法
  • Loading branch information
FengHua741 authored Mar 4, 2024
2 parents 98f3b82 + 56fe3d0 commit fbd4c03
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/board/fly_gemini_v3/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* **进阶**
* [13. 拨码开关的使用](/board/fly_gemini_v3/dip.md)
* [14. 4轴扩展板](/board/fly_gemini_v3/extend.md)
* [15. CAN Hat的使用](/board/fly_gemini_v3/canbridge.md)
* [15. CAN桥接](/board/fly_gemini_v3/canbridge.md)
* [16. 屏幕的使用](/board/fly_gemini_v3/screen.md)
* [17. 主控散热风扇](/board/fly_gemini_v3/corefan.md)
* [18. 加速度计的使用](/advanced/Accelerometer)
Expand Down
5 changes: 5 additions & 0 deletions docs/board/fly_gemini_v3/canbridge.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ CAN总线是一种用于实时应用的串行通讯协议总线,它可以使

![can_bridge](../../images/boards/fly_gemini_v3/can_bridge.png)

* 将120Ω跳线接上,并且将工具板的120欧的跳线也接上
* 在断电情况下使用万用表测量CAN H与CAN L的阻值正常应该处于60Ω左右

![can_bridge](../../images/boards/fly_gemini_v3/120.png)

## 2. 主板固件参数配置

Klipper固件配置界面如下图。编译固件后,按照 [Gemini V3固件编译和烧录](/board/fly_gemini_v3/flash "点击即可跳转") 给出的方法,将固件刷入主板中。
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/klippererro/Position.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ sense_resistor: 0.075
diag1_pin: ^!PF3
driver_SGT: 1
```
4. 需要注意采样电阻。TMC5160采样电阻是0.075则需要设置**sense_resistor**否则会导致无限位使用失败
4. 需要注意采样电阻。TMC5160采样电阻是需要按自己判断然后修改**sense_resistor**否则会导致无限位使用失败,
5. DIAG引脚是主板对应限位引脚,如果配置错误则会导致归位一直失败,而且对应的限位口不能外接任何东西否则会导致归位不正常
6. **driver_SGT**是灵敏度需要一点点调整才可以正常使用。
7. TMC5160与TMC2240数值是在1之间需要0、1、2去测试
8. TMC2209数值是在60-120之间每次调整加5或者减5即可
8. TMC2209数值是在20-120之间每次调整加5或者减5即可
9. 无限位使用回退与设置电流参考文档[无限位配置方法与宏](http://mellow.klipper.cn/#/board/fly_tmc/cfg)

1 change: 1 addition & 0 deletions docs/guide/klippererro/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* [常见报错](/guide/klippererro/ERROR.md)
* [TMC驱动报错](/guide/klippererro/TMC.md)
* [无限位注意事项](/guide/klippererro/Position.md)
* [关于CAN掉线处理方法](/guide/klippererro/can.md)
* **FLY系统常见问题**
* [系统时区修改](/guide/klippererro/timedatectl.md)
* [判断FLY上位机是否有启动](/guide/klippererro/FLYPI.md)
Expand Down
29 changes: 29 additions & 0 deletions docs/guide/klippererro/can.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# CAN的报错

在Klipper中使用CAN工具板可能导致以下两种报错

* MCU 'xxx' *shutdown*: *Timer too close* This often indicates the host computer is overloaded
* lost communication with mcu 'xxx'

![lost](../../images/guides/klippererro/lost.png)

![ttc](../../images/guides/klippererro/timer.jpg)

# 可能原因

* 上位机和 MCU 之间的连接不可靠
* 电源不足/过载/过热等等
* 连接线松动
* CAN缓存不足
* 使用驱动的细分太高

# 潜在的解决方案

- 修改CAN缓存,至少修改成1024
- 降低驱动细分最好16
- 检查硬件/电缆/连接器。整个打印机中的任何电缆都可能导致短路,从而可能导致 MCU 崩溃或者短连
- 确保上位机、主板与CAN使用质量好的电源装置并且最好供地
- CAN阻值没有处于`60Ω`需要CAN H与CAN L在断电情况下使用万用表量阻值
- 当打印非常热时(挤出机和/或床),所需的电流可能会使电源过载。降低温度,如果错误消失,则说明所用电源太弱
- 主机或主电源供电不足/过载
- 其他 USB 设备(例如网络摄像头)占用 USB 通信
Binary file added docs/images/boards/fly_gemini_v3/120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/guides/klippererro/lost.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed docs/images/guides/klippererro/mods/THE_FILTER.jpg
Binary file not shown.
Binary file removed docs/images/guides/klippererro/mods/voron.png
Binary file not shown.
Binary file removed docs/images/guides/klippererro/mods/xiaomi.png
Binary file not shown.

0 comments on commit fbd4c03

Please sign in to comment.