Go to Post This is good training for the real world, where you will have to deal with those kinds of projects that make you die a little inside every time. It's very inspiring stuff! - s_forbes [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
  #1   Spotlight this post!  
Unread 08-29-2005, 03:25 PM
mikesown mikesown is offline
Registered User
#0019
 
Join Date: Feb 2005
Location: Greenwich
Posts: 4
mikesown is an unknown quantity at this point
Using a computer to control the pic

I am currently in the process of writing a java application to communicate with the pic, and basically tell it what values to change the pwm's to etc etc. I was just wondering if anyone had tried something similar where the PIC is a dummy computer that just passes through commands it recieves through a serial port to the pwms.

Thanks
Mike
  #2   Spotlight this post!  
Unread 08-29-2005, 03:50 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,164
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using a computer to control the pic

The FRC default code does essentially that: joystick values and switch state inputs are copied directly to PWM and relay control outputs. What you're talking about is no different in principle.
  #3   Spotlight this post!  
Unread 08-29-2005, 04:16 PM
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,050
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: Using a computer to control the pic

The Internet just ate my post. Let me retype it...

Last year, 177 had a system where we had a wireless serial link using SMiRF radios and Kevin Watson's serial code. This let us interact with the robot and send it commands to change various PWMs or anything else on the robot on the fly. We just had some code that looked at what we were sending it via serial and changed things correspondingly.

Basically, you want to do the same thing, only wired instead of wirelessly. I would recommend looking at Kevin Watson's serial code as a starting point.
  #4   Spotlight this post!  
Unread 08-29-2005, 04:33 PM
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Using a computer to control the pic

We had a nifty program called ARCAMS that we wrote last year for diagnostics and configuring our autonomous. It had the capability to do this, but we only used it once or twice for diagnostics. I have often contemplated doing all processing on either a palm pilot or cruddy laptop attached to the robot itself. Let me know how this goes. To me, it seems largely unnecessary though. I have found the computing power of the FRC to be plenty adequite. now if we had a larger sensors budget or more complex autonomous tasks, things might be different.
__________________
1139 Alumni

Last edited by Rickertsen2 : 08-29-2005 at 04:36 PM.
  #5   Spotlight this post!  
Unread 08-29-2005, 06:10 PM
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,507
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Using a computer to control the pic

Linux robots is a fairly similar idea. (Maybe a bit more ambitious.)
__________________

  #6   Spotlight this post!  
Unread 08-29-2005, 10:10 PM
Gdeaver Gdeaver is online now
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,454
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Using a computer to control the pic

Allot of robot projects have used a portable computing device as the brains and a microcontroller to handle the low level hardware interface. A Palm, pocket PC, PSP and others are mass produced and provide a fast powerful computing platform for a reasonable cost. I believe the bot ball competition has gone this way with a dual screen gaming platform. I would expect some high level robotics IDE's to start appearing soon for portable devices.
  #7   Spotlight this post!  
Unread 09-13-2005, 06:13 PM
ghansel ghansel is offline
my amp goes to eleven
AKA: George H.
FRC #0019 (Big Red Robotics)
Team Role: Engineer
 
Join Date: Jan 2005
Location: Connecticut
Posts: 38
ghansel is infamous around these parts
Re: Using a computer to control the pic

Quote:
Originally Posted by Ryan M.
Linux robots is a fairly similar idea. (Maybe a bit more ambitious.)

It's about the same actually. Nearly identical in in conception, purpose, and intent, but quite different in execution.

George
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
pic: Team 116 Modular Control System dlavery Robot Showcase 42 10-21-2007 10:15 AM
Programming a 2nd PIC ImmortalAres Programming 8 06-16-2005 11:13 AM
pic: Autonomous Control Sample Squall Extra Discussion 4 04-07-2005 12:53 AM
Bad and Good news for Computer Science AIBob Math and Science 8 01-31-2005 05:59 PM
My other computer will not work with this forum! David Kelso CD Forum Support 4 06-04-2001 08:52 PM


All times are GMT -5. The time now is 08:20 AM.

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


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