Hi
Has anyone used a cheap usb to i2c module with matlab. If some which module are you using?
I would like to connect the a sensor devboard via a module to matlab so that i can obtain sensor data and plot it to a graph.

 Risposta accettata

Raj
Raj il 8 Set 2023

0 voti

Hi,
I understand you want to connect the sensor to MATLAB and want to find a suitable USB to I2C module.
When selecting a USB-to-Serial module, make sure it supports the appropriate serial protocol (UART, I2C etc) used by your sensor devboard. Additionally, ensure that the module is compatible with your operating system and that the MATLAB has support for the same.
I have personally used CP2102 USB to TTL Serial Programmer and found it to work quite efficiently.
Also, refer to the documentation below for better understanding about serial communication
I hope this resolves your query!

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Prodotti

Release

R2022a

Richiesto:

il 31 Mag 2022

Risposto:

Raj
il 8 Set 2023

Community Treasure Hunt

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

Start Hunting!

Translated by