Accelerometer plus analog data acquisition?

GrahamCousensGrahamCousens Drew University

Is it possible to combine modes of operation for the Cyton board to enable analog data to be recorded from one pin (say A5/D11) simultaneously with one of the accelerometer channels (for example, Z)?

We'd like to use the accelerometer channel to record vibration of a perfusion pump for the purposes of generating timestamps of pump onset and offset but do not want to lose the analog signal on A5.

Comments

  • wjcroftwjcroft Mount Shasta, CA

    Graham, hi.

    You could mod the firmware to do this. The stock firmware uses the three Aux values in one of three modes:

    • X Y Z accel
    • analog pin values 0V to 3.3V
    • digital pin values 0V (false) OR 3.3V (true)

    William

  • GrahamCousensGrahamCousens Drew University

    Hi William,
    Thanks so much for confirming this.
    Ideally we could run in analog mode and read the voltage values from the z accel channel instead of an analog pin. I don't see where there's a single place in the firmware to do this, though showing the accel data in analog widgit will require modification to W_AnalogRead. Any insight?
    Graham

Sign In or Register to comment.