Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
- hitchhiker
- Offline
- Premium Member
Less
More
- Posts: 138
- Thank you received: 9
15 Jan 2023 18:16 #262053
by hitchhiker
Hi!
Can someone help me please to get a small project working?
Project:
I want to display analog values in linuxcnc.
I use a 6i25 and want to use 1 pin as Analog Input. is this possible?
on this Analog Input i connect a NTC or Potentiometer.
thanks
Can someone help me please to get a small project working?
Project:
I want to display analog values in linuxcnc.
I use a 6i25 and want to use 1 pin as Analog Input. is this possible?
on this Analog Input i connect a NTC or Potentiometer.
thanks
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19203
- Thank you received: 6437
15 Jan 2023 19:50 #262056
by tommylight
Replied by tommylight on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
No.
Use an arduino to read the value and send to Mesa 6i25 as PWM or BCD code or even better as encoder velocity.
Use an arduino to read the value and send to Mesa 6i25 as PWM or BCD code or even better as encoder velocity.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19203
- Thank you received: 6437
15 Jan 2023 19:52 #262057
by tommylight
Replied by tommylight on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
Sorry,
There are also some small DIP8 packaged chips that do voltage to frequency for 0-10V input, and output 0-10kHz roughly.
Very cheap and litle discrete components required.
There are also some small DIP8 packaged chips that do voltage to frequency for 0-10V input, and output 0-10kHz roughly.
Very cheap and litle discrete components required.
Please Log in or Create an account to join the conversation.
- hitchhiker
- Offline
- Premium Member
Less
More
- Posts: 138
- Thank you received: 9
15 Jan 2023 22:47 #262076
by hitchhiker
Replied by hitchhiker on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
mmh ok... have you a example?
how to read freq or pwm on the 6i25?!
thanks
how to read freq or pwm on the 6i25?!
thanks
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19203
- Thank you received: 6437
16 Jan 2023 01:09 #262080
by tommylight
Replied by tommylight on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
Frequency is easy as all Mesa FPGA boards do encoder counting.
PWM, i never used so no idea how to go about it.
Plenty of us here use Mesa THCAD that reads the arc voltage from a plasma source and turns that into frequency that is read and displayed on screen again as voltage. We need this due to isolation from high voltage and interference.
Here are some of CNC plasma machines i have built:
forum.linuxcnc.org/show-your-stuff/38547...plasma-build?start=0
PWM, i never used so no idea how to go about it.
Plenty of us here use Mesa THCAD that reads the arc voltage from a plasma source and turns that into frequency that is read and displayed on screen again as voltage. We need this due to isolation from high voltage and interference.
Here are some of CNC plasma machines i have built:
forum.linuxcnc.org/show-your-stuff/38547...plasma-build?start=0
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19203
- Thank you received: 6437
16 Jan 2023 01:13 #262081
by tommylight
Replied by tommylight on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
LM331 is very cheap voltage to frequency converter:
www.ti.com/lit/ds/snosbi2c/snosbi2c.pdf
www.ti.com/lit/ds/snosbi2c/snosbi2c.pdf
Please Log in or Create an account to join the conversation.
16 Jan 2023 23:24 #262191
by andypugh
Replied by andypugh on topic Reading Analog Input Mesa 6i25 ( Potentiometer/NTC/PTC)
What are you measuring? It is possible to bit-bang serial from some ICs including a thermocouple amplifier:
linuxcnc.org/docs/stable/html/man/man9/max31855.9.html
Though that needs 3 pins for the SPI interface.
linuxcnc.org/docs/stable/html/man/man9/max31855.9.html
Though that needs 3 pins for the SPI interface.
Please Log in or Create an account to join the conversation.
Time to create page: 0.104 seconds