Plasma THCAD-xxx support #640
-
Is there a way to utilse a Mesa THCAD-xxx arc voltage monitor with grblHAL ? The THCAD is built arround a voltage to frequency converter instead of a a/d... This means it only requires a digital in port and no analog input, but of course its all up to sw instead... (Upgrading my PlasmaCNC from grbl to grblHAL with a Teensy 4.1, (T41U5XBB) and had a THCAD laying arround...) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yes, it is a matter of converting the frequency to a value representing the voltage and making it available via the ioports_analog interface. |
Beta Was this translation helpful? Give feedback.
-
Ok, tecnically possible, but not implemented to this date…is my take from that. :) I2C A/D card ordered from Brookwood design.. |
Beta Was this translation helpful? Give feedback.
You can implement it?
The spindle sync counter can be used to count the pulses. A 32 bit counter is needed and the iMXRT1062 counter used for spindle sync is 32 bit... The systick interrupt handler (1ms interval) can be extended to provide the gating (sampling) of the counter.