Clear Filters
Clear Filters

Delsys trigno and matlab connection prosthetic arm

34 views (last 30 days)
Zainab
Zainab on 27 Jun 2024 at 18:14
Commented: Umar on 27 Jun 2024 at 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 Comments
Umar
Umar on 27 Jun 2024 at 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 on 27 Jun 2024 at 18:23
I do apologize for my unformatted code.

Sign in to comment.

Answers (0)

Categories

Find more on Digital Input and Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!