Protocentral / protocentral_healthypi_v4

HealthyPi v4 is a fully open source, standalone vital signs monitor with wireless and wearable capabilities.
Other
39 stars 16 forks source link

accessing human readable data outside of the app? #16

Open famesjranko opened 2 years ago

famesjranko commented 2 years ago

Hi there,

I've just received my complete Healthypi V4 kit and I'm trying to access the data coming in via the serial port on the raspberry pi. I'm trying to access the sensor data with python and forward said data in realtime to another server for processing.

I'm able to connect and read data from the serial port, however, I'm not sure how to understand what the data is actually representing in terms of sensor values. I'm getting a list of integers separated by spaces, for example: 131 4 10 123 4 10 10 0 0

The gui automatically writes data to a csv when usb storage is attached to the pi, and I can see in the gui.java file that can be found in healthypi-rpi.zip an example of how that is being done (I'm assuming that's an older file as you provide .jar class files for functioning java program)

Obviously question is, could you share the java source files? Or at least could you provide a means of understanding the integer values being received through the serial connection?

Appreciate any help.

famesjranko commented 2 years ago

Is this abandonware???

gerardsimons commented 2 years ago

There is code for it in Python (https://github.com/jackyko1991/HealthyPi-Python-Interface) but you have to change the baud rate to 115200. Also in my case the values still didn't make sense, I think the packet format might be different...