stepper motor control using a usb to parallel adapter

2 Ansichten (letzte 30 Tage)
Ho Ha
Ho Ha am 8 Mai 2021
Kommentiert: Ho Ha am 1 Mai 2022
Hi,
I have a stepper motor which uses a parallel port. My computer does not have any parallel port. So I used a usb to parallel adapter and connected it to a usb port of my computer. How can I send signal to the usb to control it? I have a MATLAB version R2019b, 64-bit
I have a code which uses digitalio, but it does not work for the adapter or usb port.
Thanks!
  2 Kommentare
Michele Midrio
Michele Midrio am 3 Mär. 2022
Hi,
i have the same problem and found no easy solution for it. Did you manage to solve the problem?
Thank you in advance
Michele
Ho Ha
Ho Ha am 1 Mai 2022
Hi Michele,
I used an Arduino Ono microcontroller to send the signals.
And I had to use it in MATLAB. So I programmed it in Arduino IED and then convert it to .hex and used it in matlab.
Hope this helps.
H.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by