LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Would this microcontroller work with labview?

Hi all, 

 

I am working on a device to read pressure during pelvic floor disorder exams.

 

I want a pressure sensor (something like this Theoretical Fingertip Pressure Sensor ) to connect to wires that go into a really small microcontroller (Desired Microcontroller Link ), this design should be able to fit into a smartwatch-like bracelet/housing. I want to be able to detect the pressure through the pressure sensor, and through the microcontroller's bluetooth, send that value directly to labview. I would also like to be able to send a value that is set in labview to the device.

 

Would this work with the microcontroller and labview? How would I go about making this code?

 

Thanks,

Alan

0 Kudos
Message 1 of 3
(1,025 Views)

You need to explain in more detail what you really want to do. Where is LabVIEW to come into the picture? You definitely do not want to try to run LabVIEW code on that micro controller, do you?

So where else would LabVIEW be, how would it connect to this controller?

 

Is it possible to do? Certainly. But you chose to combine a number of challenges into this project that all can break this project, depending on your expertise and resources. Have you done any tests to see if that sensor will actually work for the measurements you intend to do? Just because it's a pressure sensor doesn't mean that it can actually pick up the signals you intend to measure. I also assume that you are coming from the medical field, so i hope you know what you are doing in terms of personal safety of patients when being exposed to such measurement devices. I can't really imagine to use such a device outside of a lab setting without a lot of product design to make it comfortable and easy to use. The housing/sealing and the cable is not going to be a hobby job but needs very professional high grade materials.

 

But from a pure technical point I don't see hurdles that couldn't be overcome. Connection to that Arduino board should be doable although pressure sensors usually need some excitation that this board may not be able to provide in a high enough quality. Any changes in the excitation voltage or current will directly cause changes in the measurement signal, so you want this somehow stabilized. As it seems to be a single resistance, you effectively will get a quarter bridge setup which makes the whole measurement circuit  even more susceptible for any external interference. And this can go very far. Don't forget the changing characteristics of the flexible cable that you will need to connect this sensor to the device. In fact I think it would be very recommendable to actually design a little preamplifier PCB that sits directly at the contact points of the senor and translates the pressure sensor signal into a more stable voltage or current signal before wiring it to the controller.

 

Once this works, it's really just a matter of:

- Getting an Arduino sketch written that reads the measurement signal and provides a communication interface on the Bluetooth interface

- Get a reliable Bluetooth connection setup between the controller and the PC on which you run LabViEW

- Write a small LabVIEW program that connects to the Bluetooth port for your device

 

In terms of difficulties I would actually judge the second point of getting the Bluetooth connection setup reliably the most challenging. My experience with Bluetooth so far, no matter if it is in the car, or a headset or some measurement device, has been pretty random. Sometimes it works right away, often it doesn't and sometimes there is no magic in the world to get it to work. And one day it does and the next day it won't until the system has been restarted, or the moon changed phases or the almighty God somehow decided that it was enough trouble. Bluetooth is in my book usually more trouble than anything else.

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(995 Views)

@amg284 wrote:

I want to be able to detect the pressure through the pressure sensor, and through the microcontroller's bluetooth, send that value directly to labview. I would also like to be able to send a value that is set in labview to the device.

 

Would this work with the microcontroller and labview? How would I go about making this code?


If you want to give it a try, use LabVIEW's Bluetooth functions:

wiebeCARYA_0-1665390833651.png

 

 

Message 3 of 3
(973 Views)