Open petervanderwalt opened 1 year ago
A new map file and linked board code is the way forward - the plugin claims auxillary inputs so these must be defined in the map.
Awesome, thanks for the confirmation! Pushing forward on the hardware side of the project, just wanted to be sure we are on a track that could work (:
Are there any options for SPI based port expansion built into grblHAL that we can use with the ESP32? (Input and Output - if we need Inputs for the THC up/down/arcok)
Are there any options for SPI based port expansion built into grblHAL
No, but it could be added, e.g. by board specific code. Inputs would require an interrupt line triggered by the chip or continuoulsy reading by polling (DMA?)...
There is code support for I2C I/O expanders (currently output only), PCA9654E is supported by the ESP32 driver.
Hi!
If we wanted to use a THC with the OpenBuilds BlackBox, what would your suggestion be?
The THC we have an eye on can use Mode 2: https://github.com/grblHAL/Plugin_plasma/blob/9a96784d7db9c0feb74141b760757e7e94fd9989/README.md?plain=1#L11
With the ports available on the BlackBox, we don't have three "spare" inputs for Arc OK, Up and Down. But - we might be able to cheat like we did with the parallel limits we did for the 4th axis with the plugin https://github.com/grblHAL/ESP32/blob/master/main/BlackBoxX32.c
In this case we might be able to get away with the available ports if we:
Doesn't need an analog input as the THC handles the voltage sense side itself and just sends up/down and arc-ok (from the Inverter) So https://github.com/grblHAL/Plugin_plasma/issues/2#issuecomment-1502857866 might apply as well, we'd be forced to only support Mode 2 THCs due to our hardware - but we can document that clearly