Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/12/08 13:10
Read: times


 
#152167 - Sampling
Responding to: ???'s previous message
How do i go about sampling at 500hz time wise on the 8051

You set up a timer to give you 2 ms timer interrupts, and perform whatever action(s) are described in the ADC datasheet to make the ADC measure and transfer one data sample to the uC in the timer ISR.

In the time between the timer interrupts, you can have the processor do signal processing and transmission of the data as necessary.

List of 11 messages in thread
TopicAuthorDate
ADC - 8051 Help!!            01/01/70 00:00      
   The serial routine is built in            01/01/70 00:00      
      re - serial            01/01/70 00:00      
         Sampling            01/01/70 00:00      
         Timing            01/01/70 00:00      
   What's the value of X?            01/01/70 00:00      
      Lets add more stuff for consideration            01/01/70 00:00      
         ecg sensor-adc-8051            01/01/70 00:00      
            safety and medical equipment            01/01/70 00:00      
            Advice.            01/01/70 00:00      
   Cheers            01/01/70 00:00      

Back to Subject List