Jump to content
  • 0

Waveforms with accelerometer


sib

Question

Hi  

With the waveforms tool is it possible using python scripting in the Waveforms platform to do  the following ??

Use the Digilent Analogue discovery 2

-   Attach a device like a PMOD device  eg accelerometer  https://store.digilentinc.com/pmod-acl-3-axis-accelerometer/
    using the Analogue discovery 2 ability to chat  SPI & IC2
    
-   pmod DEVICES SUPPORT  12-pin Pmod connector with SPI interface and 2×4-pin I²C interface

-   Then using the read information from the PMOD device treat it like an extra oscilloscope channel .
    Either as a Analog channel or Digital channel depending on the the signal type acquired from the PMOD device.
    
This is possible with Labview but that would also require a lot of code writing.    


If this is possible this is outstanding feature when considering all the available PMOD devices available from the list
https://store.digilentinc.com/by-function/input/

This would be a real product enhancement for Digilent and the Analog Discovery and help sell the AD2 in to many new
places . 

Best wishes

Simon

Link to comment
Share on other sites

Recommended Posts

  • 0

Hi Attila

Your spi-custom code would run but did not give an output

This was why i asked you to translate it to to a standard script . As the standard script method in the past has sometimes worked where as the 

spi-custom script method has never worked ,

The only thing that has worked every time is the spi-master gui interface using read-write command.

Best wishes 

SImon

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...