Go to Post Honestly I'm looking forward to just seeing all my friends again, that's what FIRST is really about to me. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 06-11-2005, 19:29
CraigHickman
 
Posts: n/a
DARPA style RC car... sorta

Heya
I'm turning an RC car into an autonomous vehicle, and I have a leetle question. I'm planning to go cheap and use the BOE bot that I already have to be my controller.
My question is whether or not it would be safe/possible to hook up my RC car's speed controller to the BOE bot. It has PWM inputs, so it hook up fine, no hacking there. The worry that I have is that the RC radio doesn't have it's own battery, it just uses the one from the speed control. Would there be any risk hooking up the speed controller to the BOE bot? Programming comes second, it's the mechanical I gotta figure out first...
  #2   Spotlight this post!  
Unread 06-11-2005, 20:16
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: DARPA style RC car... sorta

First off, you need to figure out what is powering what.

I presume that since the radio reciever is powered from the speed controller, it outputs voltage on the PWM cable. However, you should verify this first. Connect a cable to the speed controller and turn it on. See if there's voltage between power and ground (red and black, respectively) on the cable. If there is NOT voltage, you shouldn't have any problems with just plugging it in. If there IS voltage, I see two options.

1.) Somehow disconnect the red wire when you connect the two devices. It's generally not good to connect two seperate power supplies together, hence, you don't connect them. But, as long as they have a common ground (black wire), they should still play together nicely.

2.) Run the BOE bot controller off of the speed controller's supply. This is the better option. I'm not personally familiar with the controller, but you should be able to find a way to run it off of the power coming in on the PWM cable. Depencing on how it's designed however, you might need to splice some wires. Before you do this, however, make sure that it's giving you the proper voltage.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #3   Spotlight this post!  
Unread 06-11-2005, 20:31
CraigHickman
 
Posts: n/a
Re: DARPA style RC car... sorta

Alright, so I hooked up my multimeter to the PWM coming off the speed controller. There is voltage coming out, about 7.2 volts of it (this makes sense, because that's the voltage of the battery I'm using). Anybody know if this would work keeping the PWM intact when I hook it up to the BOE bot?

[edit] this is, it turns out, the same voltage that the BOE bot uses. So in theory, I should be able to run the BOE bot off of the car's battery... Any ideas on how I could go about doing this? [/edit]

Last edited by CraigHickman : 06-11-2005 at 20:36.
  #4   Spotlight this post!  
Unread 06-11-2005, 21:20
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: DARPA style RC car... sorta

Quote:
Originally Posted by 114ManualLabor
Anybody know if this would work keeping the PWM intact when I hook it up to the BOE bot?
In my own experiments, the R/C reciever outputs a 3V signal seemingly regardless of the supply voltage. Your controller will probably be putting out a 5V signal. It should be fine.

Quote:
Originally Posted by 114ManualLabor
[edit] this is, it turns out, the same voltage that the BOE bot uses. So in theory, I should be able to run the BOE bot off of the car's battery... Any ideas on how I could go about doing this? [/edit]
You can connect the battery to both devices by using a Y connector. I'm not sure if you can buy one, so you'll probably have to make one.

See if the BOE bot's PWM output is connected to the supply. Check if there's continuity between the supply lines on the PWM cable and the battery terminal. (check for continuity between the red wire and + battery terminal, then check for continuity between the black wire and - terminal) If there is continuity to BOTH, you can just connect the BOE bot to the speed controller without any problems.

If there is NOT continuity, you'll have to separate the BOE bot outputs from the supply. On the speed controller end, the supply lines on the PWM cable are connected to the supply. So, you'll have to make sure that you DO NOT connect the red wire on the BOE bot side. Well, it doesn't really matter which side is disconnected, just make sure that the power line doesn't connect the two devices. Having ground connected shouldn't be bad, and may actually be better.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #5   Spotlight this post!  
Unread 06-11-2005, 22:34
CraigHickman
 
Posts: n/a
Re: DARPA style RC car... sorta

Thanks a ton, I'm gonna be trying this out soon, after I ask the electrical guru on our team.
  #6   Spotlight this post!  
Unread 10-11-2005, 14:41
CraigHickman
 
Posts: n/a
Re: DARPA style RC car... sorta

I'm now realizing that I should have included this in my last post, but it's kinda too late to edit... ah well

so anywhoo...
I now know how to hook it all up and all that fun stuff. The only thing that I'm unsure of is how to get actual variable speeds with the motor. So far I can only make it go full out, and then not at all. Anyone know how I can program it so I can get variable speeds? I'm using a BS2, using Pbasic v 2.5.
  #7   Spotlight this post!  
Unread 10-11-2005, 22:03
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
Re: DARPA style RC car... sorta

Can you post some code?

I assume that if you've gotten it to work, you know what the signal looks like. 1ms for full reverse, 2ms for full forward, 1.5ms for neutral. If you want speeds in between, just change the length of the signal to be between the extremes. i.e. half speed forward would be 1.75ms.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
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
pic: ChiefDelphi On The Run UlTiMaTeP Extra Discussion 31 20-05-2005 21:56
What do you all drive? Frank(Aflak) Chit-Chat 67 18-11-2004 23:49
How long can car idle on a tank of gas? sanddrag Chit-Chat 11 13-09-2004 12:46
Mars Rover on Car Talk! mightywombat Televised Robotics 2 18-05-2004 14:41
What is Car Nack's Corner? Joe Johnson Car Nack's Corner 1 09-01-2004 21:44


All times are GMT -5. The time now is 00:21.

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