Go to Post I predict the champion drive teams at each event of the 2011 season will consist of vertebrates. - Taylor [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 12-08-2006, 23:13
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Custom Application

I am looking for someone who can program in a language like VB, or java, or c for computers. I need a program written that on the serial port will just output a simple string of a few characters. and maybe something that slides (like a on screen linear pot) to change values from 0-255.

I have no idea where to look to find someone who can help me or if anyone is willing to help me.

Please let me know
thanks
  #2   Spotlight this post!  
Unread 13-08-2006, 00:23
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Custom Application

Quote:
Originally Posted by sparksandtabs
I am looking for someone who can program in a language like VB, or java, or c for computers. I need a program written that on the serial port will just output a simple string of a few characters. and maybe something that slides (like a on screen linear pot) to change values from 0-255.

I have no idea where to look to find someone who can help me or if anyone is willing to help me.

Please let me know
thanks
You know what I am currently working on something exactly like that.
It can simulate all 4 joysticks. Move a button around in 2D space and it acts like a joystick.
Still working on simulating pwms using sliders and a ton of other features.
I keep making it more complicated by the minute as I keep thinking of new features to add.

I am doing it Visual C++ 2005 .NET 2. What I am doing is a long way from finished but a for now a couple of sliders shouldn't be too hard to do.
I can't test anything right now because I don't have access to a the OI/RC.

This is just one of the things I have been working. It simulates almost everything that can be done on a single OI port(except some switches and leds). I am planing on sending the data for all the ports about 20 times a second over the program port(don't want to overwhelm the RC).
Attached Thumbnails
Click image for larger version

Name:	GUI control.JPG
Views:	66
Size:	29.1 KB
ID:	4555  

Last edited by 6600gt : 13-08-2006 at 00:35.
  #3   Spotlight this post!  
Unread 13-08-2006, 00:42
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Custom Application

It wouldn't be for the system we use, it is going to be to control my robotic arm once I finish it. I don't need anything like PWM just a serial output at 9600 baud, and sending characters. simple as that.
  #4   Spotlight this post!  
Unread 13-08-2006, 03:49
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Custom Application

Are you going to type these characters that are to be sent?

For starters download Visual C++ 2005 Express Editon form microsoft.com and set it up. .NET 2 is still beta so the app is going to have to compiled on your computer(I believe).
  #5   Spotlight this post!  
Unread 13-08-2006, 05:32
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Custom Application

No the characters will not be typed, Basically I am just sending these commands to my servo controller. So to start off I want an app that will send the strings for the simple mode which is just 0x80 0x<servo number> 0x<servo position>
Due to the servo numbers being able to go up to 255 the servo position does not have a valid value of 255, so it is 0-254.

I am attaching a simple drawing of what I would like, the picture alone is self explanatory for the rest.

When you hit the set button it sends the string.
Attached Thumbnails
Click image for larger version

Name:	custom app thing.JPG
Views:	43
Size:	23.2 KB
ID:	4556  
  #6   Spotlight this post!  
Unread 13-08-2006, 11:22
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Custom Application

VB 2005 Express is free here. VB 2005 has a very simple serial communication control. When you register VB 2005 you can download an e-book that has some very basic information on VB. Read that book and you should be able to figure how to do this.

If you have any questions PM or e-mail me and I will help you any way I can.

EDIT: I am curious are you referring to the robotic arm from the "Build Your Own Humanoid Robot"? Your drawing looks like the VB6 program from that book.

Hope this helps
Eric Haskins
haskinseric@hotmail.com
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 13-08-2006 at 11:25.
  #7   Spotlight this post!  
Unread 13-08-2006, 13:14
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Custom Application

Being a true LabVIEW weenie, I'd highly recommend borrowing the LabVIEW Student Edition CD from last year's kit of parts (I think that you can also download an eval version from www.ni.com). It's very easy to configure a serial port and generate a few bytes in a loop based on a slider.

For reference, I've attached a pair of VIs that I'd created for last year's competition to control a Mini-SSC (purchased from Jameco, provides 8 PWM outputs controlled via serial port). "Mini SSC.vi" is the "GUI" and "write to Mini SSC.vi" is the low-level "function" that writes data from a serial port.

Good Luck!
Attached Files
File Type: vi Mini SSC.vi (24.1 KB, 19 views)
File Type: vi write to Mini SSC.vi (16.6 KB, 17 views)
  #8   Spotlight this post!  
Unread 13-08-2006, 14:18
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Custom Application

hmmm.....it jsut so happens that is the same servo controller I am using! how'd you guess?!

I have never even heard of that book, everything I am doing I am desgining myself.
  #9   Spotlight this post!  
Unread 13-08-2006, 17:28
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Custom Application

Quote:
Originally Posted by sparksandtabs
No the characters will not be typed, Basically I am just sending these commands to my servo controller. So to start off I want an app that will send the strings for the simple mode which is just 0x80 0x<servo number> 0x<servo position>
Due to the servo numbers being able to go up to 255 the servo position does not have a valid value of 255, so it is 0-254.

I am attaching a simple drawing of what I would like, the picture alone is self explanatory for the rest.

When you hit the set button it sends the string.
I can make something like that if you want to test it out...
Does the data stream have to periodic sent to the controller?
  #10   Spotlight this post!  
Unread 13-08-2006, 22:39
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Custom Application

Quote:
Originally Posted by 6600gt
I can make something like that if you want to test it out...
Does the data stream have to periodic sent to the controller?
The data stream only has to be sent once.
  #11   Spotlight this post!  
Unread 14-08-2006, 00:41
gobeavs's Avatar
gobeavs gobeavs is offline
linux advocate
AKA: Ross
None #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Oregon
Posts: 71
gobeavs will become famous soon enoughgobeavs will become famous soon enough
Send a message via AIM to gobeavs
Re: Custom Application

Didn't .NET do away with legacy communication protocol support? Was getting the serial port to work easy?
__________________
"Never in the face of human conflict has so much been owed by so many to so few."
- Winston Churchill on the RAF in WWII
  #12   Spotlight this post!  
Unread 14-08-2006, 02:58
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Custom Application

Quote:
Originally Posted by gobeavs
Didn't .NET do away with legacy communication protocol support? Was getting the serial port to work easy?
.NET2 has built in support for serial port...drag and drop
  #13   Spotlight this post!  
Unread 14-08-2006, 04:13
gobeavs's Avatar
gobeavs gobeavs is offline
linux advocate
AKA: Ross
None #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Oregon
Posts: 71
gobeavs will become famous soon enoughgobeavs will become famous soon enough
Send a message via AIM to gobeavs
Re: Custom Application

Quote:
Originally Posted by 6600gt
.NET2 has built in support for serial port...drag and drop
Ah, ok. Thanks for clearing that up.
__________________
"Never in the face of human conflict has so much been owed by so many to so few."
- Winston Churchill on the RAF in WWII
  #14   Spotlight this post!  
Unread 15-08-2006, 00:48
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Custom Application

ok so I have someone helping me with this right now.....but we are having some troubles sending the right data over the serial port. Is there anyone who can help?
  #15   Spotlight this post!  
Unread 15-08-2006, 15:56
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: Custom Application

Quote:
Originally Posted by sparksandtabs
ok so I have someone helping me with this right now.....but we are having some troubles sending the right data over the serial port. Is there anyone who can help?
Are you using .NET 2? And what code do you have so far to try to send it out...?
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
Application Process Nick Seidl College Teams 2 11-09-2003 17:23
New member application Aaron Lussier General Forum 30 06-09-2002 22:28
Application Notes V1_0 archiver 2000 0 24-06-2002 00:08
Application Notes V1.0 Brandon Martus Off-Season Events 0 05-10-2001 13:52
FIRST Scoring Application Justin Off-Season Events 1 20-06-2001 16:45


All times are GMT -5. The time now is 23:02.

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