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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/22/09 10:19
Read: times


 
#168457 - More details needed
Responding to: ???'s previous message
Are you sending the ADC values in ASCII or binary form?

If you send them using ASCII, you will consume four bytes/value - three digits and a separator. At 19200 baud, your link manages about 2k characters/second or 500 measurements. For a 4Hz signal, that will give 125 samples/period. You can measure concurrently with the transmission, but must make sure that the ADC is either run synchronously with the serial port, or at a lower speed than the maximum transfer rate of the serial port.

If you send your data in binary form, you will no longer need any separator character for 8-bit data, so the serial port will manage 2k samples/second, or 500 samples/period. Switching from a 8-bit ADC to a larger ADC, but max 14 bits, you can send the data binary in two bytes - use 7 bits of each byte for data, and use the high bit to signal first/last byte of each sample.

Have you made sure that your current implementation are noise-free and that the signal has the proper amplitude so that you can use the full range of the ADC and without a lot of low-bit noise? Switching to a better ADC with more bits doesn't help unless you first make sure that your solution has stable voltages to the processor and any ADC voltage reference.

List of 26 messages in thread
TopicAuthorDate
Which Controller to choose            01/01/70 00:00      
   Few Questions            01/01/70 00:00      
      More details needed            01/01/70 00:00      
         Details            01/01/70 00:00      
            Too little info to suggest anything.            01/01/70 00:00      
               More detail            01/01/70 00:00      
                  Wrong approach - always focus on signal integrity            01/01/70 00:00      
                     Can you provide more detial            01/01/70 00:00      
                        Always focus on signal integrity            01/01/70 00:00      
                  not so fast ...            01/01/70 00:00      
                     Pls also identify there solutions            01/01/70 00:00      
                        the solutions are self-evident            01/01/70 00:00      
                           And how to get rid of the others            01/01/70 00:00      
                              Get rid of them, probably not, but ...            01/01/70 00:00      
                                 If you consult the documentation your MCU manufacturer provi            01/01/70 00:00      
                                    Precision            01/01/70 00:00      
                                       precision and presision            01/01/70 00:00      
                                          precison vs. accuracy            01/01/70 00:00      
      Controller and ADC type            01/01/70 00:00      
         Possible?            01/01/70 00:00      
            I will try it            01/01/70 00:00      
            That may not work            01/01/70 00:00      
               Original question was about time...            01/01/70 00:00      
   Perhaps This May Help            01/01/70 00:00      
   Concatenate            01/01/70 00:00      
      depends on channels etc            01/01/70 00:00      

Back to Subject List