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
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.