Hello Guest it is April 19, 2024, 03:10:43 AM

Author Topic: Pokeys and a Thermistor  (Read 5136 times)

0 Members and 1 Guest are viewing this topic.

Offline 1hxo

*
  •  20 20
    • View Profile
Pokeys and a Thermistor
« on: February 24, 2015, 05:10:25 PM »
Hi
For my 3D Printer project i try to connect a 100k ohm thermistor to the analog input and have some problems with it.
My schematics is:
(+) ------100KohmThermistor-- |
                                          |
(-) -------4,7KohmResistor--------|-------- Analog input Pokeys

Now i have add 4 DRO to my mach3 set:
1.The corrected value from pokeys analg input
2.The volt input that calculated from the first dro (A/1023*3.3)
3.The resistant that calculated from the second dro (4700*3,3/A-4700)
4.The Celsius value the calculated from the third dro (1/298.15+1/4267*Ln(A/100000) )
When i use this so he shows me the celsius value but it jumps between 1-1/12 celsius How can i stable it?
when i turn on my motorcontroller for my stepdrives then it jumps between 10 celsius.What must i shield to avoid this problem?
And for a finer resolution i need the three places behind the point.mach3 shows only in front of the point.Is it possible to show the corrected value with 3 places behind the point in mach3?

Or give it another solution for read temperatur from 50-300 celsius and map it to a mach3 dro? Maybe about Poblocks?
I would be happy about an idea for this problem.

Matthias

Offline 1hxo

*
  •  20 20
    • View Profile
Re: Pokeys and a Thermistor
« Reply #1 on: February 25, 2015, 07:22:55 AM »
Now i have use poblocks for my problem.
i can reduce my dro to two.
The celsius DRO and the calculated resistor DRO.The Value that me show are a little bit more Stable.Now its only 0.5 celsius.
Now i have a problem in poblocks to use this formula: 1/298.15+1/4267*Ln(A/100000)
Is it Possible to make this formula in Poblocks?
I can give only full numbers at poblocks not 298.15.And when i try this with 29815 then the output shows me only in front of the point not after the point.
Give it the possible to give complex formula to poblocks? like the brain formula in mach3.


Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Pokeys and a Thermistor
« Reply #2 on: March 05, 2015, 04:26:14 AM »
Hi, Matthias

We are at the moment working on a release for PoBlocks and PoKeys57E firmware that would support floating point numbers. Release should be made available next week.

Regards,
Matevž
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope