coarse positionning : mix of AO and GPIO

  • hubert klein
    hubert klein

    Hi everybody,

    I would like to modify slightly the features of the mover panel to "simultaneously"

    -generate a waveform on a single channel (e.g. X motor)
    - depending on the movement (XP, XM, YP...) generate GPIO outputs to adress X,Y or Z channel via an external electronic

    is it possible ? If yes, the simpler solution for me (?) would be to hack the python scripts mk2_spm_control, but I haven't any idea on how to generate a waveform using python...

    Any hints ?


  • Timely post! I also would like to do this.

    Specifically, I would like to generate the waveform described in Fig. 4 of Chatterjee et al. so I can test their piezo-drive circuit. I need the motor output (M) to go high for a ms or so and then ramp to zero. Simultaneously, I need a digital trigger signal (GPIO?) to go high just before the ramp down and low just after it is complete. I also need the time reversal for backward steps.

    What is the best way to do this?

    Alastair McLean

    Chatterjee, K., Boyer, M., Wise, W. & Hudson, E. An auxiliary capacitor based ultrafast drive circuit for shear piezoelectric motors. Rev. Sci. Instrum. 80, 095110 (2009).