Monthly Archives: December 2017

Today’s Tricorder Project Update

Ticorder

Progress has been slow on revision 2 of the TOS Tricorder. I have been working on the software, particularly the plugins for the sensors. I am currently working on the I2C sensors. I have 2 of the 8 sensors coded but found an issue with detecting the I2C devices in the init method without getting the I2C bus into a stuck state. I finally figured out this issue this morning and updated the Raspberry Pi forum post were I found the original code that I used. If you are interested, you may check out the post at https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=114401.

Another quick note, I found the lambda function in Python. I may put this to some good use. I had to do something similar but found a way around it as I never stumbled on this gem. In many ways, I wish I stuck to C++ for this project but it is good to get to know yet another language.
References:
https://stackoverflow.com/questions/30325351/ioerror-errno-5-input-output-error-while-using-smbus-for-analog-reading-thr
http://www.secnetix.de/olli/Python/lambda_functions.hawk

GitLab Source: https://gitlab.com/richteel/TOSTricorder/tree/v2.0.0.0