[more] Smoky Mountain Regional : 19d 09h 43m ... Orlando Regional : 26d 09h 43m ... Peachtree Regional : 33d 09h 43m ...
Go to Post Life can be painfully short and you never know how things could change in an instant. It never hurts to say thank you. - Karthik [more]
Home
Go Back   Chief Delphi > CD-Media > White Papers
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
VEXpro
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
ITT Tech
ADVERTISEMENT

photos

papers

everything



Control an FRC bot with a Wiimote

Greg Marra

By: Greg Marra
New: 01-20-2008 08:02 PM
Updated: 01-20-2008 08:02 PM
Total downloads: 486 times


This paper provides sample code to drive a FRC (or VEX) robot with a Wiimote. It is minimally documented, but ask questions and I will try to answer!

This paper provides sample code to drive a FRC (or VEX) robot with a Wiimote. It is minimally documented, but ask questions and I will try to answer!

Attached Files

  • zip WiiFRC Code Samples and Documentation

    wiifrc_bits.zip

    downloaddownload file

    uploaded: 01-20-2008 08:02 PM
    filetype: zip
    filesize: 8.78kb
    downloads: 484



Recent Downloaders

Discussion

view entire thread

Reply

01-20-2008 08:41 PM

CyberWolf_22


Unread Re: paper: Control an FRC bot with a Wiimote

Hey this is pretty cool. I might look into doing this for demos.

Has anyone looked into hacking just the nunchaku for use during competition?



01-20-2008 11:05 PM

cjtenny


Unread Re: paper: Control an FRC bot with a Wiimote

It's easy enough... just cut the cable, hook to a screw terminal block, and then set it up with I2C.



01-20-2008 11:23 PM

Greg Marra


Unread Re: paper: Control an FRC bot with a Wiimote

Quote:
Originally Posted by cjtenny View Post
It's easy enough... just cut the cable, hook to a screw terminal block, and then set it up with I2C.
Can you elaborate? I had considered opening up a nunchuk and hacking leads onto various parts to plug the Nunchuk into the Operator Interface legally, but I think your solution would attach the Nunchuk to the RC.



01-20-2008 11:27 PM

Tim Arnold


Unread Re: paper: Control an FRC bot with a Wiimote

Greg, you are amazing and must have both far more time and drive than I or anyone else I know. Every time that using the Wiimote has come up, I have laughed it off and said it was nearly impossible and incredibly impractical to do. While the latter might be still true, congratulations on proving us wrong as far as the technical feasibility... I hope to see some teams try out this bad boy!

<sarcasm>How about an easyC version?</sarcasm>



01-21-2008 12:19 AM

cjtenny


Unread Re: paper: Control an FRC bot with a Wiimote

Well, I2C is a standard protocol. I actually have a nunchuk sitting in my room for use on another non-FIRST robot... haven't gotten around to it, though.

But, yeah, you bring a good point -- I forgot you load code to the RC. What you'd have to do for the OI would be build a custom circuit that turns the nunchuk output into some serial-joystick type output. That part's probably not too hard, just stick a uC on a breadboard -- the question is, would that be legal?



01-21-2008 12:39 AM

Greg Marra


Unread Re: paper: Control an FRC bot with a Wiimote

Quote:
Originally Posted by cjtenny View Post
Well, I2C is a standard protocol. I actually have a nunchuk sitting in my room for use on another non-FIRST robot... haven't gotten around to it, though.
Do you have a hyperlink for using a Nunchuk via I2C? I am doing a bit of Googling but only turning up people working on it, not anyone who seems to have an implementable solution. I found a site showing you how to make a Wiimote add-on, but nothing explaining how to use a wiimote add-on on its own.

I'm not very familiar with microprocessor communication protocols other than serial, so I am very excited to find out more about this. Using a nunchuk on its own would be really cool.

Quote:
Originally Posted by Tim Arnold
Every time that using the Wiimote has come up, I have laughed it off and said it was nearly impossible and incredibly impractical to do.
Thanks Tim. This implementation still isn't competition legal, and it's very impractical, but it is a step towards possible. This "nunchuks use I2C" business could result in competition legal use of the Nunchuks, which would be awesome. Alternatively, I suspect Nunchuks are possible to circuit-hijack. I'll take one apart at some point and look, but I lost my tri-head screwdriver



01-21-2008 12:29 PM

cjtenny


Unread Re: paper: Control an FRC bot with a Wiimote

Let me get back to you about this on Wednesday, after my history midyear. I'll try and write something up / figure something out...



01-21-2008 12:41 PM

cjtenny


Unread Re: paper: Control an FRC bot with a Wiimote

In the meantime,
http://www.windmeadow.com/node/42?page=1

It doesn't show you how to get down-and-dirty with I2C, but the hard part would be going from I2C to whatever the OI wants.



view entire thread

Reply

Tags

loading ...



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

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School