Just bought the Jedi one license and Artemis package and added the NAU7802 load cell board. I was pretty pleased with how the built in Jedi data collector saw the NAU7802 and auto detected the fields coming across the serial port at 115200 baud.
It went so far as assigning data types to the parsed fields:
-
rtcDate : string
-
rtcTime : string
-
weight_no unit : string
-
output_Hz : number
-
:
I would like to make a gauge and strip chart showing the changes in weight on the load cell on a dashboard.
Jedi data dashboard appears to need a number to be able to chart, and weight is being returned as a string, so I can’t use it as a widget input. I don’t see any way to convert the data type in Jedi.
Two questions:
-
is there a tool in Jedi to convert a string to a number?
-
assuming no to the above question, can I configure the NAU to send raw integers from the 24bit ADC in the serial stream and skip the NAU two point calibration?
Details: My load cell is an old industrial 10,000 Kg monster and has a nonlinear response over its large range that needs corrected with a seven point calibration, so getting a hold of the raw ADC numbers would be helpful. I am realizing as i type this that I prolly need to write some python code with pyserial to ingest the ADC numbers on the serial stream, linearize them with a calibration curve, and convert the result to a weight typed as a number for Jedi to be able to make use of it for plotting.