You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.0 KiB
Markdown
59 lines
2.0 KiB
Markdown
# Parafraktor
|
|
## Hardware Connections
|
|
- Motor1: P30 (M1)
|
|
- Motor2: P53 (M2)
|
|
- Motor3: P46 (M3A)
|
|
- Motor4: P70 (M4)
|
|
- Motor5: P31 (M5)
|
|
- Motor6: P71 (M7)
|
|
- 24V: Power + -
|
|
- TTL-level DMX: FWS
|
|
- Limit switches: EXP2 (optional)
|
|
- Address selector: EXP1 (optional)
|
|
|
|
## DMX Registers
|
|
|
|
Control Motors 1 - 6
|
|
|
|
| Offset | Motor | Function | Values | |
|
|
| ------- | ----- | ------------ | --------- | ------------------------------ |
|
|
| 1 | 1 | Tilt | 000 - 255 | 8bit Position values can be combined to 16bit value |
|
|
| 2 | 1 | Tilt fine | 000 - 255 | |
|
|
| 3 | 1 | Endless Tilt | 000 - 004 | No function |
|
|
| | | | 005 - 121 | Forward Rotation fast -> slow |
|
|
| | | | 122 - 132 | Stop |
|
|
| | | | 133 - 250 | Backward Rotation slow -> fast |
|
|
| | | | 251 - 255 | No function |
|
|
| ... | ... | ... | ... | ... |
|
|
| 16 | 6 | Tilt | | |
|
|
| 17 | 6 | Tilt fine | | |
|
|
| 18 | 6 | Endless Tilt | | |
|
|
|
|
## Compile, Flash & Debug
|
|
|
|
requirements:
|
|
- for compiling: arm-none-eabi-toolchain, gnu-make, git
|
|
- for flashing: SEGGER J-Link, JLinkGDBServer (other Debug Probes can be used, see Makefile)
|
|
|
|
run gdb-server<br />
|
|
`./gdb.sh`
|
|
|
|
build and flash firmware with static DMX-Address<br />
|
|
`make program DMX_ADDRESS=99`
|
|
|
|
build and flash firmware with address selector on EXP1<br />
|
|
`make program`
|
|
|
|
open serial RTT prints:<br />
|
|
`telnet localhost 9000`
|
|
|
|
open cgdb debugger:<br />
|
|
`./debug.sh`
|
|
|
|
## Hardware
|
|
|
|
- BIGTREETECH Manta M8P v1.1
|
|
- https://github.com/bigtreetech/Manta-M8P/tree/master/V1.0_V1.1/Hardware
|
|
- https://github.com/bigtreetech/Manta-M8P
|
|
- https://bttwiki.com/M8P.html#product-profile
|