Go to Post In my opinion, watching someone CAD is about as exciting as watching them sleep. - DampRobot [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-05-2009, 10:07
bernieseaholm bernieseaholm is offline
Registered User
FRC #2960 (automation nation)
Team Role: Teacher
 
Join Date: Jun 2006
Rookie Year: 2005
Location: birmingham, michigan
Posts: 18
bernieseaholm is an unknown quantity at this point
parallax stamp and roboteq ax2550 seaholm

seaohlm is working on segway like device, balancing robot. we are currently using a parallax stamp bs2 microcontroller connected to a roboteq motorcontroller(ax2550) we are having difficulty with programming stamp to output data via rs232 in readeable format to ax2550. I think we need someone who i really good with stamp programming to help.
link below is to parallax forum with info about our project.

http://forums.parallax.com/forums/de...x?f=5&m=347344

thanks
bernie
Reply With Quote
  #2   Spotlight this post!  
Unread 13-05-2009, 11:35
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
Re: parallax stamp and roboteq ax2550 seaholm

Quote:
Originally Posted by bernieseaholm View Post
seaohlm is working on segway like device, balancing robot. we are currently using a parallax stamp bs2 microcontroller connected to a roboteq motorcontroller(ax2550) we are having difficulty with programming stamp to output data via rs232 in readeable format to ax2550. I think we need someone who i really good with stamp programming to help.
link below is to parallax forum with info about our project.

http://forums.parallax.com/forums/de...x?f=5&m=347344

thanks
bernie

Does the AX2550 accept digital rs232? The stamp only outputs a 0 - 5V rs232 swing and you may need to add a maxim chip to do a level up conversion for "true" rs232.

You may also need a pull up or pull down resistor as documented in the SEROUT help file depending how you have it configured.

You seem to be reading a pulse that ranges from about 1.7ms to 2.25 ms, then trying to normalize it with a base of 2180 so a range of 0 - 639 (2819 - 2180) multiply by 26112 taking the top 16 bits (effectively dividing by 64K) so you range from 0 to about 255 and subtract 127 which means you will have a value that ranges from 0-127. Were you trying to make a virtual joystick? Just curious.

Steve
Reply With Quote
Reply


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
Parallax and Maxbotix ultrasonic sensors Lucretius Programming 5 20-02-2008 14:34
STAMP Release: STAMP Match Calculator Ethulin General Forum 3 17-02-2006 10:05
Parallax Stamp DIED!!! Carl Owenby Programming 1 16-02-2003 14:44
Parallax Basic Stamp Workshop archiver 2000 1 23-06-2002 22:08
Will the parallax stamp software run win win2k? Joe Ross Programming 5 25-08-2001 13:38


All times are GMT -5. The time now is 09:11.

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