From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues Adapting SPI VI

I am using the LINX kit to obtain SPI readouts from Arduino boards for my 12 bit pressure sensor. I found a generic kit that gives constant readouts for a 12 bit microphone. However, when I apply known pressure values, the numbers are wrong. I think there is an issue with isolating the desired variables from the array, but I am not sure what it is. 

 

 

 

The supply voltage in function simply multiplies the final output by the supply voltage value, so I have just been setting it to 1 to nullify this.

 

 

If it at all matters, the script is written for

 

https://store.digilentinc.com/pmod-mic3-mems-microphone-with-adjustable-gain/

 

and I am using

 

https://www.mouser.com/datasheet/2/187/honeywell_sensing_basic_board_mount_pressure_abp_s-1662208.pd...

 

Download All
0 Kudos
Message 1 of 2
(857 Views)

Hi, @jd555,

Do you mind attaching your VI(s)? It would likely get you a bit more help. (And you might want to save your file(s) for a previous version - not everyone has LV2020)

 

Regarding your specific issues,

  • What values are you expecting? And what values are you getting?
  • Have you made sure your wiring is correct? (That one gets me more than I like to admit)

 

-joeorbob

 

 

0 Kudos
Message 2 of 2
(802 Views)