How can I connect Matlab to Accelerometers?

4 vues (au cours des 30 derniers jours)
David Koenig
David Koenig le 15 Sep 2012
I would like to use my Matlab to read the outputs of accelerometers. Are there products available that would allow me to use my usb port along with a function command like wavread?
Thanks.
Dave
  3 commentaires
David Koenig
David Koenig le 16 Sep 2012
Thanks Star Strider, I was hoping to decide on what accelerometer to purchase based on answers obtained here._
Star Strider
Star Strider le 16 Sep 2012
If I'd known that, I'd have suggested Acquire Data From an Accelerometer in the Data Acquisition Toolbox examples. ‘This example uses a ceramic shear accelerometer model 352C22 from PCB Piezotronics is used with 9.22 mV per Gravity.’ (The example and interface boards are listed as being current with respect to 2012b but likely also applies to more recent previous releases.)

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 15 Sep 2012
No, with usb connected instruments you connect via serial(), transfer chunks of data, and then need to interpret the data.
Are you using something like a Mindstorm device?

Plus de réponses (0)

Catégories

En savoir plus sur Hardware Discovery and Setup dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by