Evalbot nunchuck control

[Martin] got his evalbot recently and wanted to try controlling it with his Wii nunchuck. After some trial and error, he finally got it working. He’s shown that controlling the bot with the nunchuck was actually pretty simple, but there are some other tips that could be pretty helpful in the process. One was the fact that the point where he’s taking power for the nunchuck could easily be shorted on the motor. He wrapped his in tape, but we could see this little bug pestering us for a while before we figured out what it was.  You can download his code and see his build process on his site. Be sure to catch the video of it working in both accelerometer and joystick mode after the break.

Comments

  1. epokh says:

    Just to let you know 3.3V and I2C are available on the two 20-pin headers (which are also compatible with the TI RF dev-modules).
    Cheers.

  2. Ashish says:

    Its pretty cool!

    -Ashish Ahuja

  3. biozz says:

    i just got my evilbot like 2 days ago and i cant wait until im not sick so i can hack the hell out of it

    did anyone elses come with a bunch of extra parts? O_o?

  4. GotNoTime says:

    @biozz

    They give you a few extra of the tiny parts as you may lose them. Its mentioned in the assembly guide that they may give you extras.

    I ended up with 5 extra screws of various sizes, 1 Nylock nut, a grub screw and an end cap.

    Excluding the extra bits above, you should only be left with the tool, extra AA battery and the USB cable. There shouldn’t be anything else.

  5. Shadyman says:

    They cancelled my Evalbot order :(

    Sadness.

  6. GotNoTime says:

    @Shadyman

    Huh? How come? TI said that they’d fulfil all the EvalBot orders that had been processed even though they were technically invalid due to misuse of the coupon code.

    I ordered one and it arrived last week with no problems at all.

  7. Erik Johnson says:

    Mine arrived 2 weeks ago, too. It took more than a month to ship and then it was overnighted LOL. The box was huge, too.

  8. DarkAnt says:

    Did anyone else have trouble putting on the wheels. My wheels don’t seem to fit on the motor axle(just a little too small).

  9. dyanoshak says:

    @DarkAnt

    See the Documentation Addendum

    http://focus.ti.com/lit/ug/spmu164a/spmu164a.pdf

    “Due to plating tolerances, it might be difficult to fit the wheels to the motor shaft if the wheel is assembled first. Instead, fit all three wheel pieces to the motor shaft before inserting the set-screws.”

  10. Jake H says:

    @DarkAnt: Yup, same problem here. I reamed them out slightly with a step drill (just the bit, by hand) and they eventually went on OK.

  11. GotNoTime says:

    The 3 pieces of each wheel went onto the axles fine here. I need to get some clamps though to redo them as there is a gap between the pieces. Its hard to get them completely flush when putting in the grub screws.

  12. DarkAnt says:

    Thanks dyanoshak and Jake H!

  13. GWDeveloper says:

    Samtec.com will send out samples of the connector needed for the EM ports. It’s part number SFM-110-02-S-D
    I’m using these to breakout the SPI and I2C buses to a breadboard. Used hardboard, nylon spacers and 4-40 screws to build a platform 3/4″ above the robot.

  14. BLuRry says:

    Massive thanks to Martin for posting the source and his Eclipse project files — I was able to compile this code locally and get my evalbot OLED screen to say hello. The display code seems buggy (screen shows random junk) when writing more than one line out to the display, but I’m not one to complain!

    I had to piece details from various places to get the toolchain (use CodeSourcery G++ lite) and openocd up and running — If time permits and/or I can refine the firmware flash process with openocd (e.g. automate it) then I’ll write up a tutorial for your pleasure and/or disdain. I recommend you start by creating a virtual machine (OpenBox, not the OSE version though!) and install Ubuntu to isolate the tools from your daily environment.

  15. mike says:

    Just got my evalbot the other day, and im in australia. very nice piece of kit, and i also ended up with spare bits.

  16. alin says:

    hi.i need some help with the evalbot. i want to find the ports where i can send some signals and see the response on osciloscope.i see there is some ports PJ2,3,4… but i’m not sure.can someone help me with this?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,253 other followers