How can I read a single (or averaged) reading from the OpenScale through the miniUSB/Serial port? I’m not using the OpenScale with an Arduino–just stand alone. Is there a command I can send the OpenScale that returns a single/averaged force measurement? I want to incorporate the OpenScale in a LabVIEW routine that steps the force and queries the OpenScale for a new force reading with every step. Do I need to connect the OpenScale to an Arduino for this?
Unfortunately there is not a way to do this. The USB port only gives what the firmware is programmed to output and there’s not an option for displaying an averaged reading.
There is an option for a ‘serial trigger’ where the Openscale won’t output anything until you send it a request or ‘trigger’ and then it will respond with one reading. That might work for you and details can be found in the [hookup guide. I believe the default trigger character is ASCII character 48 which is also the number zero. Sending the board a zero should return a weight when serial triggering is turned on.](OpenScale Applications and Hookup Guide - SparkFun Learn)
Thanks TS-Chris. I turned ON the Serial Trigger and now I get a single averaged reading only when I press the Zero key. Sounds boring, but now I can incorporate the OpenScale in a LabVIEW loop. Thanks.
Matthew