• Mechanical tester gets a UI

    Mark Bradshaw11/04/2016 at 18:44 0 comments

    This project needs a basic user-interface that can do a few things:

    • Convert the data from a raw count into calibrated units
    • Hit a button to begin recording data
    • Hit a button to stop recording data
    • Display the data in real time as it is collected
    • Save the data as a csv file with some comments about the sample

    Read more »

  • Reading serial data with Python

    Mark Bradshaw11/03/2016 at 14:58 0 comments

    At this point in the project I've given some brief descriptions of how the Arduino is reading the digital signals from the quadrature encoder that measures position and the analog output of the load cell. These data are then written to the serial port as the string "POSITION LOAD\n"

    where POSITION and LOAD are integers with the current values. So at this point I need to receive the serial data on the computer that is going to display and store the data for me and this is where things get a little hack-ish.

    Read more »

  • Signal conditioning of analog input

    Mark Bradshaw11/01/2016 at 13:35 0 comments

    The output of the load cell, the force sensing part of the instrument, is a +/- 10 V analog signal available at the chart recorder output. Prior to getting there it goes through a series of demodulation and gain stages that I will elaborate on later. The Arduino Due can only accept a 0 - 3.3 V signal so I had a choice of either rescale the signal or clip the signal to levels that are safe for the microcontroller. I chose that latter because there is a final amp with selectable gain that give me plenty of leeway to change the scale, I just need to make sure the signal doesn't damage the Arduino.

    Read more »

  • Arduino Due reads encoder

    Mark Bradshaw10/27/2016 at 15:21 0 comments

    In the last post I described how the Instron 1000 main board is taking the two encoder signals and their inverted twins and mixing and buffering them to reduce noise. The resulting two signals have a normal two wire rotary encoder pattern and can be measured like any other encoder but first they need to be shifted from 12V logic at the Instron to 3V for the Arduino Due.

    Read more »

  • Encoder Logic

    Mark Bradshaw10/20/2016 at 16:14 0 comments

    This machine uses a 4-wire incremental rotary encoder instead of the often seen 2-wire encoder. There are 2 signal wires (A, B) and 2 inverted signal wires (not A, not B) in addition there are Z and not-Z signal that are not used. So to read the encoder position I could simply not use the inverted signals and be done with it, but the machine is noisy and vibrates so the additional noise rejection could be helpful. If the engineers at Instron thought it was important then I'm not going to question them. So I thought it would be interesting how they used these additional two inverted signals.

    Read more »

  • Dog eats lab notebook

    Mark Bradshaw10/20/2016 at 14:54 0 comments

    My furry lab assistant got on the desk and tore this project's delicious lab notebook apart. Luckily I was able to salvage the information with scotch tape and a photocopier. I need to start scanning pages as I make them to ward off any future data loss.