Take the 2-minute tour ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

i would like to measure some signals from arduino and send it to a pc using USART and display the results in a c# winform application. Does anyone have such a project example ? Besides, i want to send the data in live time mode, each values should be directly transmitted and then the second measurement ( sample rate 100 kHz ) Thanks a lot

share|improve this question
    
Are you sure you can support that sample rate with your communications? –  Ignacio Vazquez-Abrams Jul 22 at 2:41
1  
The maximum sampling rate for analog signals is 10 kHz at default 10 bit resolution. Digital should be ok. The USB bus is nominally 12 MBit/s. Assuming 1-byte data size, you would probably have to send the data in 64 byte bursts(max packet size) if you want a chance of having eneough bandwidth since there is also overhead. Whether possible would depend on the Leonardo USB implementation and possibly also hardware/software on the PC. –  user2973 Jul 22 at 7:05
    
User2973, you should post your comment as an answer, and then the OP should accept it. (Excellent, through treatment of the question. Voted.) –  Duncan C Jul 23 at 1:21
    
ok, if we assume with 5 KHz samle rate, do you can any suggestion for c# PC program to control the board ? –  user3213767 Jul 24 at 15:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.