Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 806 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 806 Bytes

HR3 Dyno

Commands VFD to sweep RPM from high RPM to low RPM. Measure analog values using USB-1608FS DAQ at each step. Record raw and summarized data.

Compiling

gcc -std=c99 -g -Wall -I. -o dynoHR3 dynoHR3.c -L. -lmccusb  -lm -L/usr/local/lib -lhidapi-libusb -lusb-1.0 `pkg-config --cflags --libs libmodbus`

Libraries needed:

sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libhidapi-dev

sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev

https://github.com/wjasper/Linux_Drivers/tree/master/USB/mcc-libusb

Running

Get mbusd running for communications with the VFD:

sudo ./mbusd -d -L - -v 9 -p /dev/ttyUSB0 -s 9600 -m 8N2 -T 0

Hold your hat, get to a safe place, and run this:

sudo ./dynoHR3 data/no_turbine_full_run_backwards