Go to Post Teach 'em young, and they will go far. - Vashts6583 [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
  #16   Spotlight this post!  
Unread 13-01-2003, 10:52
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
EDU

Since I'm using the EDU robot, I've only got one DB15 to plug into. It has a built in 900MHz radio, so I have my OI plugged into the radio, and then I have the tether/program port on the Isaac 16 plugged into the COM1 on my computer. Should I turn it to program or tether in order to get it to run? Because neither seems to work.
  #17   Spotlight this post!  
Unread 13-01-2003, 10:56
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
program. Does the little blue window even show up after you send the code? If not, you may need to select New Debug Window (or something similar) from one of the menus. Ctrl+D may do this, but I'm not sure.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #18   Spotlight this post!  
Unread 13-01-2003, 11:06
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
Tried that

No blue window is popping up. We already set one though, and it seems to be blocking the COM1 port now, and it won't let me clear it out. Blue window popped up, but not getting any signal. SO if you dont' think there's anything wrong with that bit of programming, then it must be our connections, or our variables. Thank you very much for your assistance.
  #19   Spotlight this post!  
Unread 13-01-2003, 14:47
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
Success!! Sort of....

Got the COM port cleared and successfully debugged rc_sw1, only to find out that no, the sensor is not getting across. Still unaware of the origin of the problem, waited until I returned home and dropped the code into RoboEmu as you suggested. It worked beautifully! Exactly what we wanted it to do. So apparently our problem is electrical, and we're probably going to spend some time analyzing electrical layouts and try to figure out what the heck is going on. Thanks for all the help on the program, we're halfway there.
  #20   Spotlight this post!  
Unread 13-01-2003, 18:22
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
<disclaimer>I'm only the programmer</disclaimer>

How many wires are you attaching to the switch inputs on the edubot? It sounds like you are only connecting one. When we hooked up the banner sensors to our edubot, I think we connected the white and black wires to each of the two pins of a switch input.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #21   Spotlight this post!  
Unread 13-01-2003, 23:36
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
Ummmmm...

As far as I know, that's naughty? From what I've been told, and seen posted on these sites, you're only supposed to be using one. If that's not the case, it still shouldn't be causing a problem, because only one is necessary. Each is only sending a 1 or a 0, combining them doesn't do much else? I coudl very well be wrong though. Love to know it if I am? It would solve a lot of our problems.
  #22   Spotlight this post!  
Unread 13-01-2003, 23:43
Noah's Avatar
Noah Noah is offline
Code Monkey
#0861 (The Gondobots)
Team Role: Programmer
 
Join Date: Apr 2002
Location: Venice, California
Posts: 139
Noah has a spectacular aura aboutNoah has a spectacular aura about
Send a message via AIM to Noah
You can attach both wires to sensor inputs, but be aware that they are mutually exclusive: When one is on the other is off, and vice-versa. If you know the state of one wire you know the state of the other. If you plug them both in then your just using an extra sensor input, and if you program to check both of them your just wasting processer time.
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"

"We can fix it in the software!"
"It's a BROKEN GEAR!"
  #23   Spotlight this post!  
Unread 14-01-2003, 00:50
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Ummmmm...

Quote:
Originally posted by Geoffrey4283
As far as I know, that's naughty? From what I've been told, and seen posted on these sites, you're only supposed to be using one. If that's not the case, it still shouldn't be causing a problem, because only one is necessary. Each is only sending a 1 or a 0, combining them doesn't do much else? I coudl very well be wrong though. Love to know it if I am? It would solve a lot of our problems.
Quote:
Originally posted by Noah
You can attach both wires to sensor inputs, but be aware that they are mutually exclusive: When one is on the other is off, and vice-versa. If you know the state of one wire you know the state of the other. If you plug them both in then your just using an extra sensor input, and if you program to check both of them your just wasting processer time.
I could be mistaken. (See the disclaimer.) Each switch input (on the edubot) has two pins. If you only use one of the wires, what do you do with the other pin? All I REALLY know is that we got it to work. I won't get a chance to examine our eduBot until Thursday.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #24   Spotlight this post!  
Unread 14-01-2003, 01:19
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
You've got to make the switch input a complete circuit. At least that's how it works on the full-size RC. My team never used the EduBot w/sensors, but here's how I'm guessing you would do it based on how I wired the full RC last season:

Brown -> Power source +
Blue (ground)-> one of the switch pins
White or Black -> the other switch pin

Any EE people want to confirm this?
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #25   Spotlight this post!  
Unread 14-01-2003, 18:18
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
I understand, but that won't work on the EDU, as far as I know

Witht he EDu robot, that hook-up has one problem. There is no power provided on the Isaac 16 for sensors. It's not designed for it. So we've got two 9 volt batteries providing power to the sensor. If we put the blue ground to the ground on the Isaac 16, then the circuit with the batteries wouldn't be complete. We coudl try it though, just plugging it into the back of the 7.2 volt power supply on the battery pack. Just didn't seem like it was strong enough when we tried it before. We'll see. Definately looking for some EE support on this, probably going to post in their forum.
  #26   Spotlight this post!  
Unread 17-01-2003, 19:38
Eric Reed Eric Reed is offline
I am somebody now!
#0481 (De Anza Robotics Team)
 
Join Date: Jun 2001
Location: Richmond, CA
Posts: 103
Eric Reed will become famous soon enoughEric Reed will become famous soon enough
any more info?

Has anyone found the answer to this? There are two things I know:

1) The banner sensor has to be connected to both power + and ground.

2) Something must be hooked up to both of the sensor input pins

Also, I am 99.9% certain that it's not the two remaining sensor wires that get hooked up to the sensor input, since they both seem to be +.

Anyone who has used banner sensors with the EduBot successfully, please look to see how you wired it.

Thanks,

Eric.
  #27   Spotlight this post!  
Unread 17-01-2003, 20:36
Eric Reed Eric Reed is offline
I am somebody now!
#0481 (De Anza Robotics Team)
 
Join Date: Jun 2001
Location: Richmond, CA
Posts: 103
Eric Reed will become famous soon enoughEric Reed will become famous soon enough
Answered my own question

Okay, we figured it out.

Brown goes to the negative side of two 9-volt batteries connected in series.
Blue goes to the positive side of the 9-volt batteries.
Blue also goes to one pole of the switch input on the edubot
Black or White goes to the other pole of the switch.

Yay...it works!

Eric
  #28   Spotlight this post!  
Unread 18-01-2003, 10:45
Hailfire Hailfire is offline
Registered User
AKA: Jason
no team
Team Role: College Student
 
Join Date: Oct 2002
Rookie Year: 2003
Location: Rochester, Michigan
Posts: 452
Hailfire has a little shameless behaviour in the past
Send a message via AIM to Hailfire
Go ahead and try: DevX and Parallax Inc.. Hope this helped.
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
Vanilla Coke..good? bad? A. Leese Chit-Chat 41 07-01-2004 00:15
Check this stuff out: good websites LBK Rules Chit-Chat 3 15-01-2003 10:28
What makes the Good, So good? Chris General Forum 16 18-07-2002 11:09
your favorite music and tipps about good new rock music PsychoPhil Chit-Chat 26 03-07-2002 01:19
IT to be revealed on Good Morning America Joe Ross Dean Kamen's Inventions 50 13-12-2001 09:53


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

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