element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Radio Control Help Please (Arduino)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 11 replies
  • Answers 4 answers
  • Subscribers 395 subscribers
  • Views 991 views
  • Users 0 members are here
Related

Radio Control Help Please (Arduino)

hank_the_electric_explorer
hank_the_electric_explorer over 8 years ago

     I am trying to upgrade a  my robot I built. I Have a IR remote control which has about a ten-twenty foot range. I am buying a new chassis and everything but I am having trouble understanding the basics of Radio control. I have googled "Arduino RC", but it is way to complicated for me. I understand the basics of Arduino coding and the bare bones of remote control but it gets a bit complicated.

 

My Questions are : Is their a easy trick I can learn with the Arduino to help get a radio controlled robot? ( Like in this tutorial with pressing a button and putting the numbers in the code)

     Is their a tutorial some where that explains a lot about Radio control that is easy and no complicated?

     (Any other suggestions for radio control)

 

 

                       

                         Any help is appreciated!

                                                                 Thanks!        

                                                                           Ben     

                              

       

  • Sign in to reply
  • Cancel

Top Replies

  • COMPACT
    COMPACT over 8 years ago +1 suggested
    IR control is Radio control using the Infrared wavelengths. Adapting to other forms is easy if you understand how the IR control works. Using other wavelengths may entail different encoding methods better…
  • vandia
    vandia over 8 years ago +1 verified
    Hi Ben! First, since it's not clear from your post, I wanted to make absolutely sure you know there's a difference between radio (RF) and infrared (IR). -IR typically has wider ranger and has a much lower…
Parents
  • vandia
    0 vandia over 8 years ago

    Hi Ben!

     

    First, since it's not clear from your post, I wanted to make absolutely sure  you know there's a difference between radio (RF) and infrared (IR).
    -IR typically has wider ranger and has a much lower energy cost, but requires a line of sight from source to sensor, with something transparent as a protective shield in some cases.
    -RF can work through many materials, if you need to cover the sensor, or need to control it from different directions, where a clear path to the sensor is not practical or doable.


    Which you are using typically doesn't change your programming, other than sometimes what files must be included, because you're typically just reading a value from the digital port it's plugged into. It typically returns a number or other data to the Arduino based on the sensor being used to receive the remote. I believe there are packages for reading data from those sensors, but I always prefer to use a remote that just returns a digital number.

     

    When you use one of them, you can just use a "Case" statement, based on reading/testing what each button's value is in the serial monitor, example here if you need to know how to use the serial monitor: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-arduino-lesson-5-the-serial-monitor.pdf

     

    Once you (figure out/write down) what each input from the sensor for your remote returns digitally (let's say you press "up", and it returns "3" in the monitor, you write a case statement for input 3, and do the instructions either by writing them directly under case, or calling the function/statement. A case example if you need it can be seen here: https://www.arduino.cc/en/Reference/SwitchCase

     

    Sorry if this seems a bit wordy, but I reading sensors directly when possible is usually better to customize than returning data from a package/parser, which I'm guessing is what you looked up and found to be confusing.

     

    Also, please remember to select a best answer, for whichever you believe is the best, rather than leaving the topic open.
    Good luck!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • hank_the_electric_explorer
    0 hank_the_electric_explorer over 8 years ago in reply to vandia

    Thanks for clarifying this should be pretty darn easy.

     

         -Ben

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • vandia
    0 vandia over 8 years ago in reply to hank_the_electric_explorer

    It is my pleasure, Ben!


    "Mathematics is the language in which God has written the universe." ~Galileo Galilei

    I feel when we keep this in mind with electronics, it's easiest to do anything (and everything) we want to do.

    I'm having to deal with A LOT of sensors for some of my recent projects.... you can check my posts (feel free to add or follow btw!), and see I'm planning to build a mech, and have already build some other robots, for house security to email my phone if something other than my rabbits moved. :3

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • vandia
    0 vandia over 8 years ago in reply to hank_the_electric_explorer

    It is my pleasure, Ben!


    "Mathematics is the language in which God has written the universe." ~Galileo Galilei

    I feel when we keep this in mind with electronics, it's easiest to do anything (and everything) we want to do.

    I'm having to deal with A LOT of sensors for some of my recent projects.... you can check my posts (feel free to add or follow btw!), and see I'm planning to build a mech, and have already build some other robots, for house security to email my phone if something other than my rabbits moved. :3

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube