Go to Post I for one think this kind of robot "love" is absolutely inappropriate for children and both teams should have been condemned for such graphic displays. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-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-11-2002, 06:03 PM
JasonS JasonS is offline
Registered User
FRC #0233 (The Pink Team)
Team Role: Mentor
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Rockledge, FL
Posts: 33
JasonS is on a distinguished road
RF Data Modems

I was wondering if there is anyone who has ever attached the RS-422 radio modems we have gotten in the kit for the past three years, directly to a Basic Stamp? I am working on a research project that requires two robots to communicate and my team (go HeatWave!) has some old modems that I'm gonna borrow. Specifically, I would like to attach the modems to two BS2SX chips (the same ones the RC uses) in order for them to communicate. If anyone has any information on how I might be able to do this, or even pin outs for the Screamer RS-422 would be very helpful.
Thanks a lot!

Jason Schuler
  #2   Spotlight this post!  
Unread 12-11-2002, 09:45 PM
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
NO! The Basic Stamps (all variations including SX) only support 232. If you want to use the 422 modems, you will need to convert the 232 signal from the stamp to a valid 422. From what I've heard this can be done very easily but is somewhat expensive. Anyway, if you get regular 232 wireless modems (like the debugging ones), it should work just fine.

The commands you will need are:
shiftin/shiftout (syncronous I/O)
serin/serout (async I/O)

Note that any pins on the stamp can carry a 232 signal and any of the pins can be used for clocking.

--Rob
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 12-11-2002, 10:10 PM
JasonS JasonS is offline
Registered User
FRC #0233 (The Pink Team)
Team Role: Mentor
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Rockledge, FL
Posts: 33
JasonS is on a distinguished road
Actually I think you can just use a 232 to 422 converter (part # DS75176B, $1.06ea. I believe) to allow the stamp to talk with the modems. You are right though, the stamp cannot talk directly with the modem...sorry, I should have clarified that. I would like to use the 422s because I have them and it would cost me virtually nothing, whereas the 232 modems would cost significantly more than I have. Thanks!
  #4   Spotlight this post!  
Unread 12-11-2002, 10:49 PM
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
That should work. Somebody in a previous thread had said $80 so I was a bit skeptical about the cost-effectiveness of your plan. Anyway, if you can get them for $1.06 I see no reason why it wouldn't work just fine.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #5   Spotlight this post!  
Unread 12-11-2002, 11:58 PM
Sean Conway's Avatar
Sean Conway Sean Conway is offline
Registered User
FRC #0237 (Sie-H2o-Bots)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2002
Location: Watertown, CT
Posts: 16
Sean Conway is on a distinguished road
Quote:
Originally posted by JasonS
Actually I think you can just use a 232 to 422 converter (part # DS75176B, $1.06ea. I believe) to allow the stamp to talk with the modems.
I'm not familiar enough with the stamp to be sure of it's architecture, but I thought I'd post this anyway.

The DS75176B is a line transceiver, which converts from ttl levels (+5v) to line levels (+15v/-10v). It is an IC which must be connected to the stamp, not a module of any sort.

It requires logic lines other than the serial i/o to control it. Make sure you know what you're doing before you connect anything up, else the stamps may go poof.

Hope this helps.
  #6   Spotlight this post!  
Unread 12-12-2002, 12:05 AM
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,352
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
In a pinch, we made an RS232 to RS422 converter for use with the radio modems from a MAX232 and MAX488. From Digikey, the MAX488 is $2.81and the MAX232CPE is $3.31. Assuming the Stamp uses TTL levels on it's data lines, you'd just need the MAX488. However, it's not as simple as just building the converter and replacing a serial cable with the modems. The Screamer422 modems that are provided as part of the FIRST kit only support one of Ewave's data modes, which is called RM2000 and was specifically designed for the robotics competition. What that translates into is that the Screamer422 modems will only transmit data 26 bytes at a time. So, depending on what you're using them for they may or may not work. Also note that these models don't pass RTS/CTS or any other control lines, just the TX and RX data.
  #7   Spotlight this post!  
Unread 12-12-2002, 12:11 AM
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,352
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: RF Data Modems

Quote:
Originally posted by JasonS
If anyone has any information on how I might be able to do this, or even pin outs for the Screamer RS-422 would be very helpful.
By the way, you can get the data sheets including the pinouts on the Screamer422 from http://www.electrowave.com.
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
Competition Scouting pauluffel Scouting 31 01-08-2003 11:34 PM
Robot Scouting Database archiver 2001 10 06-24-2002 02:00 AM
Limiting PWM in pbasic archiver 2001 4 06-23-2002 11:38 PM
Possible Configuration to keep things cheap archiver 1999 8 06-23-2002 10:03 PM
Distribution of data soap108 Scouting 4 12-24-2001 08:23 AM


All times are GMT -5. The time now is 05:57 PM.

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


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