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.
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
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
ReplyDeleteI am definitely enjoying your website. You definitely have some great insight and great stories. Dairy Farm Residences Bukit Timah Expressway
ReplyDeleteThank you very much for the sharing! COOL.. Avenue South Residence UOL Group
ReplyDeleteSpeedy 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
ReplyDeleteI have learned huge knowledge from here. I am waiting for your updates
ReplyDeleteRegards: Instagram Scraping Tool
I have learned huge knowledge from here. I am waiting for your updates
ReplyDeleteRegards: Underwater sports and out door gear reviews
Thanks for posting the best information and the blog is very good. Regards:
ReplyDeleteApartment for rent
Thanks for sharing such an informational blog. Hope to see more wonderful articles like this. Regards, aluminum composite signs
ReplyDeleteThanks for sharing such a fantastic news. I would love to hear more about this. Regards slim black sterling wedding suit michael kors
ReplyDeleteThanks for sharing this wonderful blog.
ReplyDeleteRegards brick painting baton rouge
Excellent post!
ReplyDeleteKeep writing more posts like this
Regards morocco travel agency
https://quick-mart.pk/product/pressure-cooker-rubber-ring-sealing/
ReplyDeletePressure 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.