Close

C++ Library for Interpreting Read Rope Device

A project log for Read Rope / Electronic Nerve

This is an open-source hardware project for a device that outputs a certain voltage depending on where the rope/wire is bent.

pablo-antonio-camacho-jrPablo Antonio Camacho Jr. 04/19/2020 at 21:000 Comments

I decided to move the function of interpreting read rope device output from the microcontroller to the computer.

The microcontroller now only has the function of interfacing the read rope analog circuit with the computer which includes sub functions of conberting the analog voltage output of read rope circuit to a digital value and relaying the digital value to the computer.

The tool that allows the computer to interpret the digital value coming from the microcontroller is the C++ library found here.

https://github.com/adct-the-experimenter/read-rope/tree/master/read_rope_shared_library

The library uses the FTDI chip on microcontrollers and FTDI drivers to get a digital value from the microcontroller through simple UART serial communication.

For now the baud rate is set at 9600 bps.

The library also includes functionality to allow the application programmer to get the digital value from the read rope device and calibrate the system for reading the device output using default or custom methods.

The library is still a work in progress.

Discussions