Is there some way to compile your gtk+ oscilloscope program for Windows ?
java -jar arduino-oscope.jar
I'd be curious to see how the Java source compares to your previous C++ version.
(4) Now, depending on your system, you'll need a .so (linux), .dll (windows). This file is named librxtxSerial.so (linux) or rxtxSerial.dll (windows). Copy this file also to folder (2). Not sure about mac here.
hey Alvaro, the way I understand your project but i could be wrong:- free Running-mode ADC totally independent of the way you'll transfer the samples to a computer via USB- a specific arduino sketch to capture the ADC samples via ISR management so the samples are stored inside arduino local memory- a special fast transfer protocol to send samples from local arduino memory to a computer via USB- miror protocol on the computer able to decode protocol then display nicely on the screen a scope likeso there are 4 distincts modules.
Max sampling speed is maximum ADC sampling speed in Free Running Mode - which is 13 ADC clock cycles + 1 for the self-trigger. If you use the max. prescaler (128) you get an ADC clock speed of 125KHz. This makes about 9Ksamples/second. Doubles whenever you divide the prescaler by two (meaning a prescaler of 64 will give you almost 18ksamples/s). See page 254 of ATMEGA datasheet for more details.
Are you sure Free Running mode uses 13+1=14 cycles because diagram on page 255 shows 13 cycles !
Why is there one cycle lost by self-triggering on Free Running mode ?
How do you understand the sentence "Switching to Free Running mode (ADTS[2:0]=0) will not cause a trigger event, even if the ADC Interrupt Flag is set." on page 266 ?
Figure 23-7 on page 255 really shows only 13 cycles per conversion on Free running mode so Free running might not be related with auto-triggering since no trigger event will be generated !
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16