Go to Post Don't waste the opportunity because you were too focused on "winning" the championship. - Don Wright [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 15-04-2014, 10:23
The Doctor's Avatar
The Doctor The Doctor is offline
Robotics is life
AKA: Hackson
FRC #3216 (MRT)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 152
The Doctor is on a distinguished road
pic: Arduino datalogger

Reply With Quote
  #2   Spotlight this post!  
Unread 15-04-2014, 10:41
The Doctor's Avatar
The Doctor The Doctor is offline
Robotics is life
AKA: Hackson
FRC #3216 (MRT)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 152
The Doctor is on a distinguished road
Re: pic: Arduino datalogger

Here is a datalogger that I have been designing for use in testing our robot.

Parts:



I used two IMUs from past Kits Of Parts, along with a Parrallax 3-axis magnetometer. This ended out with a total of 9 degrees of freedom:
  • 3 axis magneto
  • 3 axis accelerometer
  • 2 axis accelerometer
  • A rotational gyro

Not really degrees of freedom, but these are there too:
  • A temp. sensor for the gyro
  • An RTC
  • 4-5 DS18B20 temp sensors (for motors)
  • SD card for datalogging

It periodically gets the data from all the sensors, and prints it to the serial port and saves it to a CSV file on the SD card.

I will make the code available soon, once I get an SD card glitch worked out. I really wish we had finished our robot sooner (that 11:58 on the last day), because I wanted to try it out with this datalogger.

Last edited by The Doctor : 15-04-2014 at 10:43. Reason: fixed disassembly image
Reply With Quote
  #3   Spotlight this post!  
Unread 15-04-2014, 12:07
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: pic: Arduino datalogger

Quote:
Originally Posted by The Doctor View Post
Here is a datalogger that I have been designing for use in testing our robot.

Parts:



I used two IMUs from past Kits Of Parts, along with a Parrallax 3-axis magnetometer. This ended out with a total of 9 degrees of freedom:
  • 3 axis magneto
  • 3 axis accelerometer
  • 2 axis accelerometer
  • A rotational gyro

Not really degrees of freedom, but these are there too:
  • A temp. sensor for the gyro
  • An RTC
  • 4-5 DS18B20 temp sensors (for motors)
  • SD card for datalogging

It periodically gets the data from all the sensors, and prints it to the serial port and saves it to a CSV file on the SD card.

I will make the code available soon, once I get an SD card glitch worked out. I really wish we had finished our robot sooner (that 11:58 on the last day), because I wanted to try it out with this datalogger.
I would love to see your code on this. I always enjoy reading other peoples code, as it gives me great ideas for projects I'm already doing or plan to do.

For example, my son and I are building an automatic dog self-fetching machine. It throws the ball, the dog returns it, drops it into the machine, and it shoots the ball again. Then the cycle repeats.

I also plan on building a dual axis accelerometer data logger. I'm curious to compare car driving styles between people based on how smoothly they drive. I want to use logged acceleration data as the criteria for "smoothness".
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 15-04-2014 at 13:42.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-04-2014, 15:08
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: pic: Arduino datalogger

Quote:
Originally Posted by billbo911 View Post
I also plan on building a dual axis accelerometer data logger. I'm curious to compare car driving styles between people based on how smoothly they drive. I want to use logged acceleration data as the criteria for "smoothness".
Bill,

It's interesting you mention this. I just prototyped an accelerometer logger for someone that used it on a dirt track racing car. For reference, I used an Arduino Micro, kit of parts dual axis accelerometer (2.5g - I think it's spec'ed at 2g), SDLogger from SeeedStudio and a small (160 x 128) TFT for information display. I was storing data once every 10 msec (30 sample averages). It made for some interesting data. The SDLogger was used because it was easy to communicate with it over a serial port at 115k baud and I didn't have the time to get the SPI SD code operating. My only recommendation for a street car, would be to use an accelerometer with a smaller range - around 1g or less for better resolution and you could certainly slow the sampling down.

Mike
Reply With Quote
  #5   Spotlight this post!  
Unread 15-04-2014, 16:31
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: pic: Arduino datalogger

Quote:
Originally Posted by Mike Bortfeldt View Post
Bill,

It's interesting you mention this. I just prototyped an accelerometer logger for someone that used it on a dirt track racing car. For reference, I used an Arduino Micro, kit of parts dual axis accelerometer (2.5g - I think it's spec'ed at 2g), SDLogger from SeeedStudio and a small (160 x 128) TFT for information display. I was storing data once every 10 msec (30 sample averages). It made for some interesting data. The SDLogger was used because it was easy to communicate with it over a serial port at 115k baud and I didn't have the time to get the SPI SD code operating. My only recommendation for a street car, would be to use an accelerometer with a smaller range - around 1g or less for better resolution and you could certainly slow the sampling down.

Mike
Thanks for the suggestions Mike.

One of my goals for the off season is to get very familiar and comfortable with using SPI. I've already done some testing and communicating between two Arduino's with SPI, and the data logger might be a perfect time to get really used to the code.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #6   Spotlight this post!  
Unread 15-04-2014, 17:48
The Doctor's Avatar
The Doctor The Doctor is offline
Robotics is life
AKA: Hackson
FRC #3216 (MRT)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 152
The Doctor is on a distinguished road
Re: pic: Arduino datalogger

Quote:
Originally Posted by billbo911 View Post
I also plan on building a dual axis accelerometer data logger. I'm curious to compare car driving styles between people based on how smoothly they drive. I want to use logged acceleration data as the criteria for "smoothness".
I'm glad you brought this up. I originally was only going to have a single accelerometer and temp. sensors for each motor. I still have yet to get some of the temperature sensors. I might also do a decoupled battery voltage reader.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-04-2014, 22:15
Invictus3593's Avatar
Invictus3593 Invictus3593 is offline
time you like wasting is not wasted
FRC #3593 (Team Invictus)
Team Role: Leadership
 
Join Date: Jan 2013
Rookie Year: 2010
Location: Tulsa, OK
Posts: 318
Invictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really niceInvictus3593 is just really nice
Re: pic: Arduino datalogger

You've built it, the sensor array
Spoiler for Example Picture:
__________________
Per Audacia Ad Astra
Reply With Quote
  #8   Spotlight this post!  
Unread 21-04-2014, 18:54
The Doctor's Avatar
The Doctor The Doctor is offline
Robotics is life
AKA: Hackson
FRC #3216 (MRT)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 152
The Doctor is on a distinguished road
Re: pic: Arduino datalogger

And we have code!

https://github.com/red-green/IMUreader
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi