Go to Post Or you can always say "we programmed it that way." - probizzle [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 07-07-2007, 01:50
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: RS232 (Serial) Communication To OI

Quote:
Originally Posted by bglass View Post
Sounds good. Since the consensus seems to be that the microcontroller is the best way to go, I guess I'll have to look into that. If anybody has any suggestions on which to use (or how to get started), please let me know. Best wishes.
Having used PIC 18F2455's in an introduction to mechatronics course, I would recommend them. They can be programmed by an inexpensive programmer and support USB communication in addition to RS232. You'll need to use another chip (A MAX232, or similar) to turn the serial from your serial port into the type of serial the PIC likes (there is a voltage difference).

The PIC is programmed in MPLAB, just like the FRC controller. For a bunch of documentation about how to get the PIC to do specific things, I send you to the website of the course I took. It's full of goodies!

But once you can send data to the PIC, you just need to set some digital output pins, some analog output pins, and make them do what the computer says. You could even listen to the feedback LED pins and send them back to the computer for two-way communication.
 


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
Need Help With Maplab C programming on serial communication loveheb3 Programming 0 04-06-2007 21:24
Serial Communication Problems with LabVIEW FRC Toolkit Jon236 LabView and Data Acquisition 1 28-12-2006 11:57
Serial Communication in C++ Adam Shapiro Programming 8 21-01-2003 12:49
Serial Port Communication White Paper rbayer Programming 87 14-06-2002 16:10
serial communication using c++ Malakili Programming 31 01-05-2002 15:51


All times are GMT -5. The time now is 19:37.

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