ramps1.4/ramps1.6的板子怎么连接陀机 代码应该选哪一项-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3778|回复: 4

[未解决] ramps1.4/ramps1.6的板子怎么连接陀机 代码应该选哪一项

[复制链接]
发表于 2020-4-26 22:31 | 显示全部楼层 |阅读模式
ramps1.4/ramps1.6的板子用SERVOS接口D11接陀机 网上介绍说要把重启键旁边的5V和VCC用跳线连接 这样对吗 我连上了以后我的2560直接就冒烟了 (用的ramps1.6)
还有代码因版本不同 有些无迹可寻了 大神们帮帮忙
/**
* Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
*
* Enable this option for a probe connected to the Z Min endstop pin.
*/
//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

/**
* Z_MIN_PROBE_ENDSTOP
*
* Enable this option for a probe connected to any pin except Z-Min.
* (By default Marlin assumes the Z-Max endstop pin.)
* To use a custom Z Probe pin, set Z_MIN_PROBE_PIN below.
*
*  - The simplest option is to use a free endstop connector.
*  - Use 5V for powered (usually inductive) sensors.
*
*  - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
*    - For simple switches connect...
*      - normally-closed switches to GND and D32.
*      - normally-open switches to 5V and D32.
*
* WARNING: Setting the wrong pin may have unexpected and potentially
* disastrous consequences. Use with caution and do your homework.
*
*/
//#define Z_MIN_PROBE_ENDSTOP

这是端口 应该选哪一个 我用的第二个 对吗

启动项应该选哪个
/**
* Choose one of the options below to enable G29 Bed Leveling. The parameters
* and behavior of G29 will change depending on your selection.
*
*  If using a Probe for Z Homing, enable Z_SAFE_HOMING also!
*
* - AUTO_BED_LEVELING_3POINT
*   Probe 3 arbitrary points on the bed (that aren't collinear)
*   You specify the XY coordinates of all 3 points.
*   The result is a single tilted plane. Best for a flat bed.
*
* - AUTO_BED_LEVELING_LINEAR
*   Probe several points in a grid.
*   You specify the rectangle and the density of sample points.
*   The result is a single tilted plane. Best for a flat bed.
*
* - AUTO_BED_LEVELING_BILINEAR
*   Probe several points in a grid.
*   You specify the rectangle and the density of sample points.
*   The result is a mesh, best for large or uneven beds.
*
* - AUTO_BED_LEVELING_UBL (Unified Bed Leveling)
*   A comprehensive bed leveling system combining the features and benefits
*   of other systems. UBL also includes integrated Mesh Generation, Mesh
*   Validation and Mesh Editing systems.
*
* - MESH_BED_LEVELING
*   Probe a grid manually
*   The result is a mesh, suitable for large or uneven beds. (See BILINEAR.)
*   For machines without a probe, Mesh Bed Leveling provides a method to perform
*   leveling in steps so you can manually adjust the Z height at each grid-point.
*   With an LCD controller the process is guided step-by-step.
*/
//#define AUTO_BED_LEVELING_3POINT
//#define AUTO_BED_LEVELING_LINEAR
//#define AUTO_BED_LEVELING_BILINEAR
//#define AUTO_BED_LEVELING_UBL
//#define MESH_BED_LEVELING
版本不一样这个位置也不同
/**
* Enable detailed logging of G28, G29, M48, etc.
* Turn on with the command 'M111 S32'.
* NOTE: Requires a lot of PROGMEM!
*/
//#define DEBUG_LEVELING_FEATURE


除此之外 还有什么需要改动的地方吗
在此谢谢大神们的解惑


发表于 2020-9-5 09:05 | 显示全部楼层
ramps1.6我量了一下,舵机位的+-和GND连在一起,板子是不是有问题?如果板子设计有问题,楼主接5V肯定是短路了
发表于 2020-9-5 14:11 | 显示全部楼层
5V连VCC你也是大胆。。。
上面那个是常闭/常开限位的选择
下面那个会点英语能看懂吧,实在不行机翻啊
发表于 2020-9-5 14:32 | 显示全部楼层
我刚才搜了一下可能看到你说的文章了,5V连VCC这个地方确实存在误导,手头没板子,我回家帮你看看吧
发表于 2021-2-4 23:21 | 显示全部楼层
请问楼主找到解决方法了吗?我在添加断料检测的时候也遇到了这个问题。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 14:55 , Processed in 0.103393 second(s), 15 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表