|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
How would I interface a flash drive to the RC?
I know it's a crazy idea, but I'm getting frustrated about having bugs on the field that don't show their ugly faces in testing, and I believe a thumbdrive counts as a COTS item. I would like to save a log file to the drive; saving the printfs maybe for the entire match. And I'm interested in how the transitions happen at the beginning of the match (is it Disabled -> Auton -> human control or is it Disabled and Auton -> Auton -> human control). I would like to log all that data to a flash drive. Now, I have no idea how to do that. I only got the idea because it is a universal serial bus drive and therefore should work...somehow...
If anyone has any ideas on how to do this, or even any hints, I would be most grateful to hear them. Thanks JBot |
|
#2
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
You could never interface a USB thumbdrive directly to the RC, but you COULD write some software for your PC and run it off the dashboard port. You'd probably end up writing a terminal application that saves its output into a file
|
|
#3
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
I'm not a programmer, so I wouldn't be positive about this, but I believe that 116 used a laptop connected to the Operator Interface to log data that the robot transmitted.
|
|
#4
|
|||
|
|||
|
Re: How would I interface a flash drive to the RC?
I have been working on a project similar to what you want. I plan have an external PIC that will log all sort of information to a microSD card which you could then put into your computer and read the log of.
|
|
#5
|
|||||
|
|||||
|
Re: How would I interface a flash drive to the RC?
Quote:
JBot |
|
#6
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
Gumstix (gumstixes? stixi?) have USB and serial support. I imagine one could read data sent to it from one of the RC's serial ports and then write it to a flash drive.
|
|
#7
|
|||||
|
|||||
|
Re: How would I interface a flash drive to the RC?
I highly would recommend simply doing it using the Dashboard port on the OI. It's really an underutilized port, and if you search the whitepapers section, most of the work is already done for you. You'd have the data get recorded straight to your laptop, and then you can just parse it however you feel.
And it doesn't count towards your weight limit or total cost ![]() |
|
#8
|
|||
|
|||
|
Re: How would I interface a flash drive to the RC?
Quote:
|
|
#9
|
|||||
|
|||||
|
Re: How would I interface a flash drive to the RC?
Every single PWM variable gets sent back to the Dashboard. Are you using every single PWM variable to drive motors? There's a whole bunch of bytes you can use to send data back, on top of I think four bytes that it gives you already specifically for dashboard information.
|
|
#10
|
|||
|
|||
|
Re: How would I interface a flash drive to the RC?
Quote:
|
|
#11
|
|||||
|
|||||
|
Re: How would I interface a flash drive to the RC?
Dashboard? Pfft.
Why take the easy road, when you get to do all the fun engineering on the hard one? Logging serial data to a CF card seems like a fun project. It'd be a pretty universal and useful thing too, I'd think. |
|
#12
|
|||
|
|||
|
Re: How would I interface a flash drive to the RC?
I think if it uses the dashboard port that will be more user freindly. So once I finish the design it will be something thats easy and more people will want to try. However some new PICs I ordered are still in Asia and the rest of the cool stuff I ordered is backordered. Hopefully though ill have a working demo up soon.
|
|
#13
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
look at these
http://www.sparkfun.com/commerce/pro...oducts_id=7955 http://chipdos.com/ hope this helps |
|
#14
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
Yuo could use something like this. $50 Canadian.
It's a serial (RS232) data logger, that has FAT16/FAT32 capability. Essentially, you could generate a standard readable text file on the unit, take out the SD card and read it in a PC/Mac. Gumstix is another idea (which someone mentioned earlier), but it will be more costly and probably more difficult to implement. I've got one (with a few of the modules :-))... and it's fun to play around with - but will probably be frustrating to those not familiar with linux. Good luck! - Jeff |
|
#15
|
||||
|
||||
|
Re: How would I interface a flash drive to the RC?
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you bypass the Operator Interface? | jskene | Programming | 4 | 31-05-2006 17:50 |
| MPLAB on USB flash drive | ultramrw21 | Programming | 3 | 25-01-2005 21:20 |
| how would U determine the exact speed of your robot? | HolyMasamune | General Forum | 4 | 29-01-2003 09:44 |
| how do u connect the battery to the robot interface? | chrisw | Technical Discussion | 1 | 10-01-2002 16:41 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |