Search the Community
Showing results for tags 'sampling'.
-
I'm creating a kind of Yak Bak for a project I'm working on for my small son. The basic idea is that I'll start recording audio when one button is pressed, and start playing it back when another has been pressed. My initial plan was to just use something like an msp430g2553's onboard ADC to sample a microphone, and play it back using a PWM output. From what I can tell, I should sample my audio at 8 kHz to satisfy the Nyquist theorem. It looks like an msp430g2553 (and all comparable processors I've looked at) have a maximum sampling rate of at most, 500 samples/second -- taken from the
-
I'm using a Tiva C series launchpad (TM4C123G) to sample analog data using an external ADC (ADC0804). The ADC is clocked at 1.4MHz. The SysCtlClockSet command was used to set clock freq to 80MHz. A square wave is being generated on a pin, with a frequency same as the sampling rate, using the code given below. So this gives us the sampling rate on an oscilloscope. For some reason the sampling rate is TOO low. It is only ~330KHz with NO command in the loop. It drops to about ~280KHz with one digitalRead and to just a few hundred Hz with a SerialPrintln(). What is causing it to run so slow
-
hi everyone, i'm sampling from single channel ADC and send the data over UART. now i need to two channel simultaneously and send the data. for one channel my code is below: ----------------------------------------------- ADC10CTL1 = INCH_5 + ADC10DIV_3 ; // Channel 5, ADC10CLK/4 ADC10CTL0 = SREF_0 + ADC10SHT_3 + ADC10ON + ADC10IE; //Vcc & Vss as reference ADC10AE0 |= BIT5; ADC10CTL0 |= ENC + ADC10SC; // Sampling and conversion start, single measure! while(1) { if(!((P1IN & BUTTON)==BUTTON)) { ADC10CTL0 |= ENC +
- 4 replies
-
- adc
- dual channel
-
(and 4 more)
Tagged with: