Go to Post Please search before you post (it's fun and free!) - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 03-09-2007, 15:31
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by AdamHeard View Post
The pocket pc side was done in Java. From there I don't know what they did. It could've generated scripting for something like Kevin Watson's that needed to be copied and pasted. Or, more ideally they probably had the SD card plug into something on the robot like thunderchickens has (or at least crosstheroad electronics).
I am not familiar with any flash memory reader for FRC robots. Can you provide a URL?
  #17   Spotlight this post!  
Unread 03-09-2007, 15:40
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,526
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Can the robot read a text file?

Quote:
Originally Posted by Greg Marra View Post
I am not familiar with any flash memory reader for FRC robots. Can you provide a URL?
http://www.crosstheroadelectronics.c...cken%20AID.htm

I know it's not for sale by them yet.... but it is something that is possible, and I've heard of teams doing it before....
  #18   Spotlight this post!  
Unread 03-09-2007, 20:20
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by AdamHeard View Post
http://www.crosstheroadelectronics.c...cken%20AID.htm

I know it's not for sale by them yet.... but it is something that is possible, and I've heard of teams doing it before....
Do you know what teams have done it? I know people who have implemented reading from SD cards on PICs before, but not on FIRST robots, and I would love to find out how their procedure works.
  #19   Spotlight this post!  
Unread 04-09-2007, 01:18
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by Greg Marra View Post
Do you know what teams have done it? I know people who have implemented reading from SD cards on PICs before, but not on FIRST robots, and I would love to find out how their procedure works.
If I remember correctly, SD/MMC cards run on an SPI connection. The IFI RC is using SPI on the user processor for something else.

This could be fixed by using an auxiliary PIC (although I would prefer an AVR.. woo GCC!), connecting the card via SPI, and using a serial connection between the aux board and the IFI controller. Also, I suppose if you wanted to get really fancy, you could emulate SPI by bit banging through the available i/o.
  #20   Spotlight this post!  
Unread 04-09-2007, 01:54
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Can the robot read a text file?

The module i linked to above from spark fun has SPI or TTL interface
  #21   Spotlight this post!  
Unread 04-09-2007, 18:31
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Can the robot read a text file?

Quote:
Originally Posted by CyDrive View Post
My theory is actually quite simple write directly to the EEPROM from my laptop with a custom program. Then use a custom scripting engine in the autonomous section. This will give me the 2 things i want. Ease of use and a fast way to create new autonomous modes.
Why not do everything on the RC? You could provide a terminal interface like:

1) Display command list (list number)
2) Set current command list (list number)
3) Delete command (command number)
4) Insert command (insertion point)
5) Modify command (command number)
6) ...

Commands could be something like:

1) Drive Arc (arc parameters)
2) Drive straight (distance)
3) Turn in place (radians)
4) Set arm position (3-d position)
5) Catch fire
6) Inflate flotation device
7) End command list
8) ...

The bells and whistles camera code might give you some ideas.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #22   Spotlight this post!  
Unread 06-09-2007, 11:59
JimGRobot JimGRobot is offline
Registered User
AKA: Jim
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Nov 2006
Rookie Year: 2005
Location: Arroyo Grande, CA
Posts: 29
JimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really niceJimGRobot is just really nice
Re: Can the robot read a text file?

Quote:
Originally Posted by Tom Bottiglieri View Post
If I remember correctly, SD/MMC cards run on an SPI connection. The IFI RC is using SPI on the user processor for something else.

This could be fixed by using an auxiliary PIC (although I would prefer an AVR.. woo GCC!), connecting the card via SPI, and using a serial connection between the aux board and the IFI controller. Also, I suppose if you wanted to get really fancy, you could emulate SPI by bit banging through the available i/o.
I'm glad to see some interest in this topic, reading files from SD chips would be handy...

Last year I posted some information about using an SD module for holding autonomous scripting files. I used a module from DOSonChip, but I think it uses the same chip as the sparkfun model. I wrote some test code that runs on an SX28, but never tried it on an RC.

The code uses bit-banging on some port pins for SPI, and includes some simple file parsing examples. I intended to write some higher-level functions, but never got there.

All of the information is in multiple blog entries here.

Have fun,
Jim
  #23   Spotlight this post!  
Unread 07-09-2007, 15:43
CyDrive's Avatar
CyDrive CyDrive is offline
Registered User
FRC #1203 (pandemonium)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: West Babylon
Posts: 26
CyDrive is an unknown quantity at this point
Re: Can the robot read a text file?

I agree it is awesome to see people interested in this. I mean the use of these ideas can be very valuable.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can the FRC board read resistance? brennerator Technical Discussion 1 13-01-2007 22:25
I can read this....can you? Wayne Doenges Chit-Chat 2 22-03-2006 14:49
Can we assign alternate text for [img] and/or [img2] tags? Greg Ross CD Forum Support 2 01-11-2005 14:51
"Read the rules!" ...can it be said enough? generalbrando Rules/Strategy 14 08-01-2005 08:39
Help - Can you rotate an .avi file?? Elgin Clock IT / Communications 2 11-02-2004 00:56


All times are GMT -5. The time now is 01:21.

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