12-02-2022 09:54 AM
Hello,
I'm doing a project where I'm going to have a servomotor with a pulsating cycle and strain gauges. My goal is to put the arduino to control the servomotor but be able to connect the strain gauges and the arduino to the labview to be able to monitor both things at the same time.
I would like to control the servomotor only by arduino but see the servomotor pulse and strain gauges deformation in the same graph in labview. It's possible?
12-05-2022 03:39 AM
What you are attempting to do is most certainly possible, it's just how you go about it:
By establishing this you will be one step closer to creating your graph!
12-05-2022 04:05 AM
Hi Vi.King,
The strain gauges will be connected to an NI chassis and I connect directly to Labview.
The servomotor is only connected to the arduino, the connections are in the image below. Do I need anything extra to be able to monitor the servomotor pulse?
I'm new to arduino, I apologize for my ignorance.
Thank you
12-05-2022 04:20 AM
Don't apologise, I am also very new to this; I plan on producing a project with Arduino soon too.
I also don't know much about servo motors; however, the linked website has some useful information about data lines in servo motors and might give you an idea of where to measure the pulses.
Which characteristics are you trying to display? Frequency? Pulse Width? Amplitude?
Hope this helps 🙂
12-05-2022 04:37 AM
Hi,
I need to know how many cycles the servomotor did. With my wrist I can tell when a cycle starts and ends. Therefore, I would like to have a graph similar to the one in the image.
12-05-2022 04:43 AM
Just had a thought, so long as your servo motor is functioning correctly, you should be able to take the count straight from the Arduino, as it is this that controls what the servo is doing.
It looks like there may be a way you can connect this to your NI Chassis?
Servo Motor Basics with Arduino | Arduino Documentation | Arduino Documentation
Just some ideas, I'm not a doctor 😉