USB i2c modules

7 visualizzazioni (ultimi 30 giorni)
Dharmesh Joshi
Dharmesh Joshi il 31 Mag 2022
Risposto: Raj il 8 Set 2023
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
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 Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by