This repo holds Python code to stream or log data from evaluation modules made by Texas Instrument.
It works with the following EVM boards:
-
Capacitance to digital converters:
- tested: FDC2214 EVM: https://www.ti.com/tool/FDC2214EVM
- not tested: FDC2112, FDC2114, and FDC2212 EVMs (+ probably more)
-
Inductance to digital converters:
- LDC1614 EVM: https://www.ti.com/tool/LDC1614EVM
- not tested: LDC1612, LDC1312, and LDC1314, EVMs (+ probably more)
You might need to run the following:
pip3 install pyserial crcmod tables websockets
Start the python script (with websocket server):
./evm_logger.py
...then start your websocket client. This example visualizes the 4 sensor values:
https://editor.p5js.org/CedHon/sketches/4pFRCAyIQ
Note: you might need to tune some of register parameters for your own application, see config_multichannel and your favorite datasheet...
-
Protocol and code example by TI:
-
Previous implementation:
