Tuesday, May 8, 2012

Xbee Enabled RC Joystick Overview

Originally, I did this project to highlight how simple it can be to add a joystick to your robotics project using only:

  • Two Xbees (Series 1)
  • One Arduino
  • And one old joystick with a gameport connector

That is it. In this I also cover two things, how to hack those old joysticks all you electronics hoarders have (like myself) and demonstrate how to set up an Xbee as a data harvester and use some of the underutilized powers of the Xbee

The Overview

Here is a simple overview of the project. It doesn't get simpler than this.

Additionally, for the reasonable cost of an Arduino, two Xbees, and an old joystick you can find at a local thrift shop, you can have a multi-axis controller for you robotic project.

The Start - That Old Joystick

First you want to learn about that old joystick of yours. Check out Part I. I explain the process of modding your old Gameport joystick to work with a regular ADC you would find on a microcontroller.

Xbee Enabled Joystick, part I

Setting Up the Xbees

The next step in the project is setting up the Xbees. This explains how to set up the Xbee to automatically read values from the ADCs and digital inputs and send that information to a predetermined Xbee. The receiving Xbee is configured to receive that data and spit it out over the serial line using API mode

Xbee Enabled Joystick, part II

Finishing Up, Code for the Arduino and Schematics for the Xbee

In the conclusion I dust off my RC airboat, slap an Arduino to it, and demonstrate the final project. I include code samples for parsing the Xbee API packets and pulling out the ADC values from the joystick connected Xbee

Xbee Enabled Joystick, part III

12 comments :

  1. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. best rc cars for beginners

    ReplyDelete
  2. I am definitely enjoying your website. You definitely have some great insight and great stories. Dairy Farm Residences Bukit Timah Expressway

    ReplyDelete
  3. Speedy Battery powered RC car Fast Battery powered RC vehicle. debra November 16, 2018 RC CAR No Comments. The universe of RC vehicles is getting to be more noteworthy with consistently as a regularly expanding number of people are experiencing the surges of RC vehicle hustling. The e RC Car Camera

    ReplyDelete
  4. I have learned huge knowledge from here. I am waiting for your updates
    Regards: Instagram Scraping Tool

    ReplyDelete
  5. I have learned huge knowledge from here. I am waiting for your updates
    Regards: Underwater sports and out door gear reviews

    ReplyDelete
  6. Thanks for posting the best information and the blog is very good. Regards:
    Apartment for rent

    ReplyDelete
  7. Thanks for sharing such an informational blog. Hope to see more wonderful articles like this. Regards, aluminum composite signs

    ReplyDelete
  8. Thanks for sharing such a fantastic news. I would love to hear more about this. Regards slim black sterling wedding suit michael kors

    ReplyDelete
  9. Excellent post!
    Keep writing more posts like this
    Regards morocco travel agency

    ReplyDelete
  10. https://quick-mart.pk/product/pressure-cooker-rubber-ring-sealing/

    Pressure cooker rubber gaskets ensure a secure seal, preventing steam from escaping during cooking. Durable and heat-resistant, they are essential for maintaining efficiency and safety in your pressure cooker. Replace regularly for optimal performance.






    ReplyDelete