Hi! We have this project for our senior's research regarding the optimization of multiple sensors which incorporates DS Theory. I would like to know if any of you knows how to import data from a microcontroller into MATlab program?:-D
Hi! We have this project for our senior's research regarding the optimization of multiple sensors which incorporates DS Theory. I would like to know if any of you knows how to import data from a microcontroller into MATlab program?:-D
The simplest way is to use a serial interface - buy a USB to serial dongle for the PC, then use the built in support for serial ports in MATLAB to talk to the micro via one of its built in UARTS. If you buy an FTDI USB<->serial lead with logic level UART interface you can connect this directly to the UART ports on the micro.
If you need more bandwidth then use a micro with built in Ethernet and the built in support for network comms in the very latest release of MATLAB - this is more work (since you'll almost certainly need a lot more code and extra chips at the micro end) but can go faster and has other advantages.
MK
The simplest way is to use a serial interface - buy a USB to serial dongle for the PC, then use the built in support for serial ports in MATLAB to talk to the micro via one of its built in UARTS. If you buy an FTDI USB<->serial lead with logic level UART interface you can connect this directly to the UART ports on the micro.
If you need more bandwidth then use a micro with built in Ethernet and the built in support for network comms in the very latest release of MATLAB - this is more work (since you'll almost certainly need a lot more code and extra chips at the micro end) but can go faster and has other advantages.
MK