2015-12-09 04:26 AM
Hello,
my name is Roberto, i'm working on a single pixel camera. i have no much experice about stm32. I would use stm32f4's adc to read the value mesured by a photodiode (because it is 12 bit adc). I'm writing a program in which i would read the measured photodiode voltage avery time i want in matlab. I would ask if some one have an idea how to make it! thanks for your attention Roberto2015-12-10 09:01 AM
Hello Roberto,
I'm not sure to understand want you want to do. Do you want to use STM32 to get ADC value that you post process with MATLAB (you need a link to get STM32 value from PC) or you want to build STM32 application to process ADC value? Regards Pascal2015-12-11 02:14 AM
Hello Pascal,
Thank you for the answer. I want to use STM32 to get ADC value that you post process with MATLAB. I would perform this program: 1 matlab elaborates one pattern that will send to display 2 matlab ask stm32 to read ADC value from sensor and store it in a vector 3 go to 1 It will be a loop in wich for every pattern i will acquire a measure, than i'll perform other calculation. The only function of stm32 is to read the Analogue signal. I can't use Arduino because of is 10 bit ADC. Could you have some idea? (in arduino seems to be very simple: load firmata host on arduino and than ask from matlab program to read value)