mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-02-26 09:59:25 +00:00
fix readme file for proper pypi displaying
This commit is contained in:
75
README.md
75
README.md
@@ -64,48 +64,47 @@ Raspberry Pi implementation should be connected to A4988, DRV8825 or any other
|
||||
stepper motor drivers with DIR and STEP pin inputs.
|
||||
Default config is created for Raspberry Pi 2-3 and this wiring config:
|
||||
|
||||
| Circuit | RPi pin | RAMPS pin | Note |
|
||||
|-----------------|-------------|--------------------------|------------------|
|
||||
| X step | GPIO21 | A0 | |
|
||||
| X dir | GPIO20 | A1 | |
|
||||
| steppers enable | GPIO26 | A2, A8, D24, D34, D38 | all steppers |
|
||||
| Y step | GPIO16 | A6 | |
|
||||
| Y dir | GPIO19 | A7 | |
|
||||
| Z dir | GPIO13 | D48 | |
|
||||
| Z step | GPIO12 | D46 | |
|
||||
| E1 step | GPIO6 | D36 | reserve |
|
||||
| E1 dir | GPIO5 | D34 | reserve |
|
||||
| E0 dir | GPIO7 | D28 | |
|
||||
| E0 step | GPIO8 | D26 | |
|
||||
| Z max | GPIO11 | D19 | |
|
||||
| Z min | GPIO25 | D18 | |
|
||||
| Y max | GPIO9 | D15 | |
|
||||
| Y min | GPIO10 | D14 | |
|
||||
| X max | GPIO24 | D2 | |
|
||||
| X min | GPIO23 | D3 | |
|
||||
| heater bed | GPIO22 | D8 | |
|
||||
| heater 2 | GPIO27 | D9 | uses for fan |
|
||||
| heater 1 | GPIO18 | D10 | |
|
||||
| ser 1 | GPIO17 | D11 | reserve |
|
||||
| ser 2 | GPIO15 | D6 | reserve |
|
||||
| ser 3 | GPIO4 | D5 | reserve |
|
||||
| ser 4 | GPIO14 | D4 | reserve |
|
||||
| I2C SCL | GPIO3 | - | to ads111x |
|
||||
| I2C SDA | GPIO2 | - | to ads111x |
|
||||
| ads1115 ch0 | - | A15 | heater 2 - nc |
|
||||
| ads1115 ch1 | - | A14 | bed sensor |
|
||||
| ads1115 ch2 | - | A13 | extruder sensor |
|
||||
| ads1115 ch3 | - | - | not connected |
|
||||
| Circuit name | RPi pin name | RAMPSv1.4 board pin name | Note |
|
||||
|-----------------|--------------|--------------------------|-----------------|
|
||||
| X step | GPIO21 | A0 | |
|
||||
| X dir | GPIO20 | A1 | |
|
||||
| steppers enable | GPIO26 | A2, A8, D24, D34, D38 | all steppers |
|
||||
| Y step | GPIO16 | A6 | |
|
||||
| Y dir | GPIO19 | A7 | |
|
||||
| Z dir | GPIO13 | D48 | |
|
||||
| Z step | GPIO12 | D46 | |
|
||||
| E1 step | GPIO6 | D36 | reserve |
|
||||
| E1 dir | GPIO5 | D34 | reserve |
|
||||
| E0 dir | GPIO7 | D28 | |
|
||||
| E0 step | GPIO8 | D26 | |
|
||||
| Z max | GPIO11 | D19 | |
|
||||
| Z min | GPIO25 | D18 | |
|
||||
| Y max | GPIO9 | D15 | |
|
||||
| Y min | GPIO10 | D14 | |
|
||||
| X max | GPIO24 | D2 | |
|
||||
| X min | GPIO23 | D3 | |
|
||||
| heater bed | GPIO22 | D8 | |
|
||||
| heater 2 | GPIO27 | D9 | uses for fan |
|
||||
| heater 1 | GPIO18 | D10 | |
|
||||
| ser 1 | GPIO17 | D11 | reserve |
|
||||
| ser 2 | GPIO15 | D6 | reserve |
|
||||
| ser 3 | GPIO4 | D5 | reserve |
|
||||
| ser 4 | GPIO14 | D4 | reserve |
|
||||
| I2C SCL | GPIO3 | - | to ads111x |
|
||||
| I2C SDA | GPIO2 | - | to ads111x |
|
||||
| ads1115 ch0 | - | A15 | heater 2 - nc |
|
||||
| ads1115 ch1 | - | A14 | bed sensor |
|
||||
| ads1115 ch2 | - | A13 | extruder sensor |
|
||||
| ads1115 ch3 | - | - | not connected |
|
||||
|
||||
So having Raspberry Pi connected this way, there is no need to configure
|
||||
pin map for project. [RAMPS v1.4](http://reprap.org/wiki/RAMPS_1.4) board can
|
||||
be used for this purpose. Full reference circuit diagram and photos of
|
||||
assembled controller(click to enlarge):
|
||||
[](https://user-images.githubusercontent.com/8740775/28233650-d64060e0-6900-11e7-8605-6475384fd2f7.png)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233649-d6402800-6900-11e7-8dca-cd35c8292e0c.jpg)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233648-d63fa0c4-6900-11e7-8fab-2055e035a6cb.jpg)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233652-d65f82ea-6900-11e7-9e80-d8b0c9238f95.jpg)
|
||||
|
||||
assembled controller(click to enlarge):
|
||||
[](https://user-images.githubusercontent.com/8740775/28233650-d64060e0-6900-11e7-8605-6475384fd2f7.png)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233649-d6402800-6900-11e7-8dca-cd35c8292e0c.jpg)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233648-d63fa0c4-6900-11e7-8fab-2055e035a6cb.jpg)
|
||||
[](https://user-images.githubusercontent.com/8740775/28233652-d65f82ea-6900-11e7-9e80-d8b0c9238f95.jpg)
|
||||
|
||||
# Usage
|
||||
Just clone this repo and run `./pycnc` from repo root. It will start in
|
||||
|
||||
Reference in New Issue
Block a user