Author Topic: Data Loss During Micro Controller Data Logging  (Read 1003 times)

0 Members and 1 Guest are viewing this topic.

Offline gregoliveTopic starter

  • Newbie
  • Posts: 3
  • Country: ca
Data Loss During Micro Controller Data Logging
« on: January 21, 2018, 05:10:51 pm »
Hello,
I am using a micro controller to record data from some accelerometers and am currently trying to do a quick test to ensure the data logging is working. I had the accelerometers and micro controller (Teensy 3.6) plugged into a breadboard and recorded some data while I shook the accelerometers around. My concern is that there seems to be some data loss (see attached image) during the logging, where the recorded bit value drops to close to zero and I am not sure what the cause is. Is this common for data logging at high speeds or maybe it has to do with shaking sensors that are just plugged into a breadboard? One other thing is that the ADC reference voltage on the Teensy 3.6 is 1.2V and I was using the 3.3V source on the Teensy 3.6 to power the accelerometers (this will be fixed later, I just wanted to do a quick test of the data logging) so I'm not sure if that could be the cause? Any help would be greatly appreciated! Thanks in advance!
« Last Edit: January 21, 2018, 05:28:26 pm by gregolive »
 

Offline phil from seattle

  • Super Contributor
  • ***
  • Posts: 1029
  • Country: us
Re: Data Loss During Micro Controller Data Logging
« Reply #1 on: January 21, 2018, 06:11:50 pm »
Hello,
I am using a micro controller to record data from some accelerometers and am currently trying to do a quick test to ensure the data logging is working. I had the accelerometers and micro controller (Teensy 3.6) plugged into a breadboard and recorded some data while I shook the accelerometers around. My concern is that there seems to be some data loss (see attached image) during the logging, where the recorded bit value drops to close to zero and I am not sure what the cause is. Is this common for data logging at high speeds or maybe it has to do with shaking sensors that are just plugged into a breadboard? One other thing is that the ADC reference voltage on the Teensy 3.6 is 1.2V and I was using the 3.3V source on the Teensy 3.6 to power the accelerometers (this will be fixed later, I just wanted to do a quick test of the data logging) so I'm not sure if that could be the cause? Any help would be greatly appreciated! Thanks in advance!

See the highlighted text.  That's the first thing I'd consider. There really is no substitute for a really good mechanical connection like solder or screw terminals.  Breadboards don't give you that. however, it's also possible that your shaking is generating the actual values so don't 100% rule it out.
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2416
  • Country: us
Re: Data Loss During Micro Controller Data Logging
« Reply #2 on: January 21, 2018, 06:31:02 pm »
Whats the pattern if you DON'T shake the sensors? That should answer the question of whether the spikes are from the sensor activity or something else.
 

Offline gregoliveTopic starter

  • Newbie
  • Posts: 3
  • Country: ca
Re: Data Loss During Micro Controller Data Logging
« Reply #3 on: January 21, 2018, 08:44:17 pm »
Thanks for the replies! Turns out it is from me shaking the sensors, I tired running it with the sensors sitting there and there were no issues!  :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf