Go to Post The 3 probably stands for the number of years this season will take off your life - JohnSchneider [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
  #1   Spotlight this post!  
Unread 05-03-2007, 14:29
buddy.smith buddy.smith is offline
Master Control
FRC #1795
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: atlanta
Posts: 20
buddy.smith is an unknown quantity at this point
Re: USB Specification (Don't hit me!)

Quote:
Originally Posted by Total Meltdown View Post
I just had a really freaky idea.

Suppose, using a few of the digital IO ports on the robot controller, one was able to implement the USB specification, which is outlined at http://en.wikipedia.org/wiki/USB#Technical_details and written in detail at http://www.usb.org/developers/docs/
Well, USB has a "device" and a "host". Making a "device" is easy, but still non-trivial without hardware support. To plug in a mouse though, you'd need a host. This is NOT trivial, and is in fact quite hard.

The USB chicklet is a host. So no, you can't bit bang a USB port from the RC. Nice try though

It'd be better to take those mice apart and use the pieces.

ttyl,

--buddy
  #2   Spotlight this post!  
Unread 05-03-2007, 15:01
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: USB Specification (Don't hit me!)

The suggestion to disassemble the mouse and tap the output from the CCD chip or the bridge chip is a good one. Also, you could put a computer onboard and use its USB ports to talk to the mouse, and its other ports (e.g. serial) to talk to the RC.
  #3   Spotlight this post!  
Unread 05-03-2007, 21:59
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: USB Specification (Don't hit me!)

The Chicklet does support a mouse and can connected to the R/C. The mouse outputs on the x and y axes. These axes could be connected to the R/C analog ports. You will only get .5 to 5 volts but that is enough to do what you are asking. What you need and what will be available shortly is the USBeak. The USBeak is an HID to RS232 converter. In streams the raw data from the device into any USART. Unfortunately it won't be available until after this season.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
  #4   Spotlight this post!  
Unread 07-03-2007, 20:26
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: USB Specification (Don't hit me!)

I was looking up parts for an unrelated project and cam across MAX3421. It's a USB controller that can act as a host. I didn't really read it in detail, but the datasheet specifically mentions using bit banging methods for its SPI interface. It's effectively a USB to SPI adapter. I have a feeling that the software will still be a challenge though.

I think it said that it only comes in QFN though (surface mount with pads on the bottom rather than leads). It might be hard to work with.
__________________

-----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 05-03-2007, 21:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: USB Specification (Don't hit me!)

Quote:
Originally Posted by buddy.smith View Post
...It'd be better to take those mice apart and use the pieces.
Indeed. We did exactly that a couple of years ago, bypassing the USB device hardware and achieving direct communication with an optical mouse's sensor chip. (We had some success in using that communication to track how much carpet was going by the sensor, as long as the height above the carpet was absolutely constant. The slightest variation -- a millimeter one way or the other -- changed the pixel-to-distance relationship, and threw off the tracking accuracy to the point where it was no longer useful. We gave up on the concept, but perhaps someone else can come up with a solution that we didn't think of.)
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
Gameport to Usb cable vrs. Usb Chicklet haywirerobotics Control System 4 25-01-2007 19:03
Specification for timing belt pulley on large CIM? Larry Barello Motors 10 15-01-2006 12:21
Offical:2006 FIRST Robotics Competition Kit of Parts Specification Sheets Conor Ryan General Forum 0 08-01-2006 21:47
Don't Do What Seanny Don't Does Mike Iantorno General Forum 38 05-02-2003 23:56
And then it hit me.... Joe Johnson General Forum 12 07-02-2002 22:29


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

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