Go to Post Don't let them fail at the end. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #31   Spotlight this post!  
Unread 30-01-2007, 14:04
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Digital to OI Analog

Quote:
Originally Posted by marcan View Post
I'm not at all concerned with the interfacing PIC uC. The power usage of this is probably going to be very small compared with everything else. My main power hogs are external devices (over which I have little control, outside of disabling a few LEDs to avoid their power draw). However, the good news is that the worst-case power draw is not supposed to occur during normal operation, as the software should be able to configure the devices. Specifically, I want to be able to run a PS2 controller, and a Wii controller (I'm testing out different control schemes. I wonder how practical the Wii controller will be for manipulating a mechanism on the robot). With the Wii controller goes a Bluetooth module of course. Mostly everything is designed to run off of low power, but there are peaks in power usage during initialization mostly (the Wii controller blinks the LEDs which would be disabled later on via software, and the Bluetooth module uses more power during discovery). However, since the peak (init worst-case) power is well under 100mA, and the running power should be significantly under that, I think it should be doable. Everything is going to be powered off a 3V-ish buck converter (adjusted for efficiency).
Not to become the rules police here, but if this is for a FIRST competition, they'd nix the control because of the Bluetooth radio.


Quote:
Originally Posted by marcan View Post
Pretty much the same here - I seriously doubt full resolution is going to be very important, since humans are very good at mentally calibrating such things out. The USB-Chicklet needs to work reliably and accurately (as if the USB joysticks were regular ones), but for our one-off I'm sure we can work out any little kinks in software. Here's an idea: if your current draw varies, you can tie extra inputs on the OI to GND+0.5 and +5V, and use them to do runtime scaling of the inputs on the RC to compensate for any differences.
Yes, I thought of that, and I suppose if you are pulling the +5V Aux power line down significantly, then it could be of some help. The flip side is that if the load was inconsistent, the asynchronous sampling of the analog inputs could cause you to introduce additional error rather than correct for it.

Again, the input sample rate is ~38Hz.

Quote:
Originally Posted by marcan View Post
Crazy idea: wonder how much power the Wii controller's rumble uses? Probably too much, but I'll still give it a go for kicks. If anything, we could have some fun out of competition making the rumble activate when the accelerometers on the robot measure acceleration over a certain threshold.
At that point, you might be better off with another self powered, home brew device that watches the RC->OI data stream, extracts what it needs, and gives the driver the approriate feedback via a seperate alerting device, be it visual, rumble, or a tazer jolt. As long as the wiring doesn't tie into the same device that is wired to the joystick port, it should be permitted.
__________________
--Dave
  #32   Spotlight this post!  
Unread 05-02-2007, 04:02
marcan marcan is offline
Registered User
AKA: Hector Martin
FRC #2117 (Wolvotics)
Team Role: Engineer
 
Join Date: Sep 2006
Rookie Year: 2007
Location: Carrollton, GA
Posts: 14
marcan will become famous soon enoughmarcan will become famous soon enough
Re: Digital to OI Analog

Quote:
Originally Posted by Dave K. View Post
Not to become the rules police here, but if this is for a FIRST competition, they'd nix the control because of the Bluetooth radio.
I believe radios (other than the IFI ones) are only prohibited on the robot, not on the OI.

R66:
Quote:
The radio modems provided in the 2007 Kit Of Parts are the only permitted method for
communicating with the ROBOTS during the competition. Radio modems from previous
FIRST competitions can not be used. The radio modem must be connected directly to the
Robot Controller using one of the DB-9 cables provided in the 2007 Kit Of Parts. No other
form of wireless communications can be used to communicate to, from or within the ROBOT
(e.g. no Bluetooth devices are permitted on the ROBOT).
Notice that the Bluetooth communications stay within the Operator Console, and everything is channeled through the IFI radio. Thus, no other method other than the IFI radios is used to communicate "to or from the robot" (and certainly nothing within)

Either way though, we'll have alternative control methods available, both because of the possibility of having the Wiimote denied, and to see which is more practical. If nothing else, we can still use the Wiimote out of the field

Quote:
Originally Posted by Dave K. View Post
Yes, I thought of that, and I suppose if you are pulling the +5V Aux power line down significantly, then it could be of some help. The flip side is that if the load was inconsistent, the asynchronous sampling of the analog inputs could cause you to introduce additional error rather than correct for it.

Again, the input sample rate is ~38Hz.
Of course, it would work best when the load is constant or varies with a very low frequency (which will likely be the case of many control systems).

Quote:
Originally Posted by Dave K. View Post
At that point, you might be better off with another self powered, home brew device that watches the RC->OI data stream, extracts what it needs, and gives the driver the approriate feedback via a seperate alerting device, be it visual, rumble, or a tazer jolt. As long as the wiring doesn't tie into the same device that is wired to the joystick port, it should be permitted.
True. Not that I think it would really be that useful in competition, it's just something that would be easy to do just for kicks, given what we already have. I've written a custom dashboard that, besides doing what the original does, also shows stuff like the camera vision system data, and a couple other things, so adding it onto that would be fairly trivial.
  #33   Spotlight this post!  
Unread 05-02-2007, 09:46
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,366
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: Digital to OI Analog

Quote:
Originally Posted by marcan View Post
Notice that the Bluetooth communications stay within the Operator Console, and everything is channeled through the IFI radio. Thus, no other method other than the IFI radios is used to communicate "to or from the robot" (and certainly nothing within)
I think you'll get burned by R11:
Quote:
<R11> For the purposes of determining compliance with the weight and volume limitations specified in Rule <R07>, these items are NOT considered part of the ROBOT and are NOT included in the weight and volume assessment of the ROBOT:
...
* The OPERATOR CONSOLE.
...
However, for all other purposes the items listed above are considered part of the ROBOT and must comply with all other applicable rules and equirements. In particular, these items are subject to the shipping deadlines specified in Section 4.5.1.1 and must ship in the crate with the rest of the ROBOT.
Emphasis mine. Since the operator console is "part of the robot" when interpreting R66, you cannot use wireless communications to or from it (in my interpretation).
  #34   Spotlight this post!  
Unread 05-02-2007, 12:46
Dave K.'s Avatar
Dave K. Dave K. is offline
Engineer/Mentor
FRC #0930
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: WI
Posts: 91
Dave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to beholdDave K. is a splendid one to behold
Re: Digital to OI Analog

Quote:
Originally Posted by marcan View Post
I believe radios (other than the IFI ones) are only prohibited on the robot, not on the OI.

R66:

Notice that the Bluetooth communications stay within the Operator Console, and everything is channeled through the IFI radio. Thus, no other method other than the IFI radios is used to communicate "to or from the robot" (and certainly nothing within)

Either way though, we'll have alternative control methods available, both because of the possibility of having the Wiimote denied, and to see which is more practical. If nothing else, we can still use the Wiimote out of the field


Of course, it would work best when the load is constant or varies with a very low frequency (which will likely be the case of many control systems).


True. Not that I think it would really be that useful in competition, it's just something that would be easy to do just for kicks, given what we already have. I've written a custom dashboard that, besides doing what the original does, also shows stuff like the camera vision system data, and a couple other things, so adding it onto that would be fairly trivial.
At competition...

<R63>, <R66>, and Section 3.14.3, make it reasonably clear that other than the 900MHz radios, no wireless communication is permitted. The one exception is <R109>, but that doesn't apply here.

This may be helpful: http://forums.usfirst.org/showthread...ight=bluetooth
__________________
--Dave
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
Analog-to-Digital Converter Code Kevin Watson Programming 29 17-02-2008 13:07
Analog to Digital Conversion Help Der Rowan Programming 4 23-01-2006 00:17
Accelerometer: Analog or Digital? psquared Programming 2 10-02-2005 16:38
Analog / Digital IO Connectors Aidan F. Browne Control System 4 06-02-2005 22:26
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18


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

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