Effacer les filtres
Effacer les filtres

Delsys trigno and matlab connection prosthetic arm

35 vues (au cours des 30 derniers jours)
Zainab
Zainab le 27 Juin 2024 à 18:14
Commenté : Umar le 27 Juin 2024 à 18:23
Hello all,
I am currently trying to connect my Delsys Trigno to matlab, for matlab to recieve live SEMG signals. Does anyone know how to form this connection, or is there a certain script I must run first to build this connection? I am trying to use these signals to move a prosthetic arm in the future
  2 commentaires
Umar
Umar le 27 Juin 2024 à 18:21
Hi Zainab,
To connect your Delsys Trigno device to Matlab for live SEMG signal processing, you can use the Data Acquisition Toolbox in Matlab. For more information, please click the following link
https://www.mathworks.com/help/daq/
First, ensure you have the necessary drivers installed for the Delsys Trigno device. Then, you can use the analoginput function in Matlab to create an interface for acquiring data from the device. Here is a basic example to get you started:
% Create an analog input object
ai = analoginput('winsound');
addchannel(ai, 1:8); % Add channels based on your device configuration
% Set acquisition parameters
ai.SampleRate = 1000; % Set the sampling rate
ai.SamplesPerTrigger = inf; % Acquire data continuously
% Start the acquisition
start(ai);
% Retrieve and plot the data
while true data = getdata(ai, ai.SamplesAvailable); plot(data); drawnow; end
The above snippet code will help you set up an analog input object, configures the sampling rate, and continuously acquires and plots the data from the Delsys Trigno device. You can further process this data to control a prosthetic arm based on the SEMG signals received.
Hope that answers your question.
Umar
Umar le 27 Juin 2024 à 18:23
I do apologize for my unformatted code.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Digital Input and Output dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by