- Posts: 19
- Thank you received: 1
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Yes, that is correct.alex.statie wrote: Let me recap my current understanding of THC: it has two modes, one that reads the arc voltage trough a THCAD board (outputs frequency translated to voltage) and logic happen within LinuxCNC and another where an external "device" sends up and down commands. Hope this is correct.
That will work, choose an arduino with 12BIT analogue inputs, it will have better resolution. Add optocouplers to the outputs, isolated power supply, the possibility to produce ARC OK signal from the voltage that should be settable as min and max.alex.statie wrote: 1. Use an external board with embedded ADC and logic (arduino), hook to a voltage divider and send up-down commands - not preferred since i would like to use LinuxCNC logic
TI makes some 3$ chips that do voltage to frequency conversion, they can do 10KHz, 8pin DIP package, forgot the model number, i still have 3 of them collecting dust.alex.statie wrote: 2. Use an external ADC and voltage divider and send the value to the raspberry (i2c) - can LinuxCNC be configured to interpret the value received over i2c?
Should work, but probably very limited due to RPI GPIO way of doing things.alex.statie wrote: 3. Use a THCAD board and read the frequency over a GPIO pin. Would the resolution be limited by the RPI?
This works and makes it a bit simpler as you need only one optoisolated output from the arduino to the PC, again read under number 1 for the rest.alex.statie wrote:
4. Use Arduino that reads voltage and outputs a frequency so that the LinuxCNC can apply its internal logic - simulate a THCAD basically. Would this even work?
Please Log in or Create an account to join the conversation.
That chip is i think lm331.tommylight wrote: TI makes some 3$ chips that do voltage to frequency conversion, they can do 10KHz, 8pin DIP package, forgot the model number, i still have 3 of them collecting dust.
I am going to try this this week. Will report about functionality with parallel port BOB.Use Arduino that reads voltage and outputs a frequency so that the LinuxCNC can apply its internal logic - simulate a THCAD basically. Would this even work?
Please Log in or Create an account to join the conversation.
That is it.pinder wrote: That chip is i think lm331.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.