Add hannoprint code

This commit is contained in:
m
2023-09-05 21:37:08 +03:00
parent e5f5cc8c4e
commit eb9bdb4b94
3916 changed files with 4079947 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,21 @@
### Modifying ZNP Nano v1.x for Native USB
#### Why?
STM32F103/F407 have native USB capabilities, but this board uses a CH340 USB-serial bridge that greatly limits communication speed (realistically, no more than 250kbps), increasing the chance of communication errors and dropped bytes. This is most critical when using Octoprint or other host software. Native USB-CDC mode communicates at much greater speeds (in our case around 1.5Mbps), drastically reducing the chance of communication timeout and/or buffer overrun.
#### How?
1. Cut two traces near the CH340 chip (1), two going to endstops (2) and remove two resistors (3) as shown. Scratch off some of the mask from the traces on the microcontroller side (2). You can also remove the CH340 if you want.
![](images/1cut.jpg)
2. Solder wires as shown, making sure the new USB wires (below) are exactly the same length and group closely together. Use the thinnest insulated / lacquered wires you can find (the photo shows the thickest possible). The wires used in laptop screens are ideal.
![](images/2wire.jpg)
3. Add a 1.5kΩ pullup resistor for the D+ signal as shown:
![](images/3pullup.jpg)
4. Set `default_envs` to `mks_robin_nano_v1v2_usbmod` or `mks_robin_nano_v1_3_f4_usbmod` in `platformio.ini`. Add/uncomment `USB_MOD` in `Configuration.h` and build Marlin.

View File

@@ -0,0 +1,21 @@
## Elegoo Neptune 2/Neptune 2D/Neptune 2S Configuration
***IMPORTANT:*** The firmware binary file must be named `elegoo.bin` or it will not flash.
The provided configuration includes custom switches at the top of `Configuration.h` to simplify the build options. It supports both the ZNP Robin Nano 1.2 and 1.3 Boards with only minor configuration changes. By default, the configuration applies to the 1.3 board without BLTouch.
NOTE: The original Neptune 2 and 2S use the same configurations, but the 2S always uses the 1.3 version of the board.
### ZNP Robin Nano 1.2 boards:
- `Configuration.h`: Disable `IS_BOARD_1_3`.
- `platformio.ini`: Set `default_envs` to `mks_robin_nano_v1_2`.
### ZNP Robin Nano 1.3 boards:
- `Configuration.h`: Enable `IS_BOARD_1_3`.
- `platformio.ini`: Set `default_envs` to `mks_robin_nano_v1_3_f4`.
### BLTouch (all boards):
- `Configuration.h`: Enable `HAS_BLTOUCH`.
### Neptune 2D (All boards):
- `Configuration.h`: Enable `IS_2D`.

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB