element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Personal Blogs
  • Members
  • More
Personal Blogs
Legacy Personal Blogs Two Wheeled Arduino Robot  Part 1
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: timswift
  • Date Created: 16 Nov 2014 6:32 PM Date Created
  • Views 337 views
  • Likes 1 like
  • Comments 3 comments
  • hc-sr04
  • head
  • robot
  • arduino
Related
Recommended

Two Wheeled Arduino Robot  Part 1

timswift
timswift
16 Nov 2014

The out line of this project is a two wheeled Arduino robot using the Arduino Mega.

 

image

So far i have built the head which consist of two HC-sr04 distance sensors mounted on a cardboard frame rotated by a servo.

I am planing to use the http://www.pololu.com/category/60/micro-metal-gearmotors for drive motors.

 

The code i used to test the head compares the two HC-sr04 distance sensors and turns the servo motor in the direction of the distance sensor with the least distance.so it can track objects.

 

Here is a video of the head:

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Any suggestions are welcomeimage.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +1
    Hi Tim, It looks like you are off to a good start. What is the detection range for your sensors? It looked like you had to get really close to have it respond. Is that going to be ok for your robot operation…
  • jw0752
    jw0752 over 8 years ago +1
    Hi Tim I like that way you make good use of materials at hand to build your prototypes. It is very impressive. You will have to use some fuzzy logic for situations where the robot is walking between equally…
  • jw0752
    jw0752 over 8 years ago

    Hi Tim I like that way you make good use of materials at hand to build your prototypes. It is very impressive. You will have to use some fuzzy logic for situations where the robot is walking between equally distant objects.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • timswift
    timswift over 8 years ago in reply to DAB

    It can track objects farther away. but it needs a biger object to track.

    I have tested the sensers and they are acurit out to 11 feet .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Hi Tim,

     

    It looks like you are off to a good start.

    What is the detection range for your sensors?  It looked like you had to get really close to have it respond.  Is that going to be ok for your robot operation?

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
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 © 2023 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