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 Arduino and Cybot Part 3 - UNO replaced by NANO; fairly neat and tidy!
  • 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: neilk
  • Date Created: 14 May 2015 3:15 PM Date Created
  • Views 437 views
  • Likes 3 likes
  • Comments 0 comments
  • android
  • bluetooth
  • hc06
  • LEGO
  • mit
  • cybot
  • technic
  • robot
  • appinventor
  • arduino
Related
Recommended

Arduino and Cybot Part 3 - UNO replaced by NANO; fairly neat and tidy!

neilk
neilk
14 May 2015

My previous post included a photograph of a very untidy Cybot - it was a bit of a lashup, but it worked!


I have resurrected some practical skills that have lain dormant for over 20 years and made a fairly neat and tidy strip board carrier for an Arduino Nano, the HC-06 Bluetooth module and the L9110 break-out board. The battery box for the motors has its own switch and is connected to the strip board with a pair of screw terminals. The 9 V battery for the Nano mounts under the Cybot chassis and connects to the strip board with a standard barrel connector


image


image

 








I'm pretty sure that my strip board layout is far from optimal - years of neglect have withered my previous skills in that area. Some of my soldering leaves a little to be desired as well - again, severely out of practice. Nevertheless, it all worked!

 

A couple of details:

 

  1. I put in a double row of header sockets for the Nano, so that if I develop this further - object avoidance, line following, whatever, I can connect patch leads.
  2. The L9110 breakout board is not really designed for neat and tidy mounting - the pins are vertical, so if you plug the pins into a normal header socket strip, the board would be upside down. I contemplated replacing the vertical pins with bent pins, like on the HC-06, so that it would stand vertically. I decided against that approach because I didn't want to risk damaging the board with my still, relatively unskilled soldering iron work. I also thought it would be a bit unstable with the motor leads connected into it at the top. In the end I carefully bent the pins of a header socket - see photograph - so that I could use it as an adapter to enable me to mount the breakout board flat, the correct way up and bolt it to the strip board.

 

imageimage

 

 

One issue, which I didn't mention in my previous post, was the failure of the Cybot nose wheel mounting spindle to turn correctly. This means that the nose wheel doesn't correctly align itself to the direction of travel, and is sometimes even at right angles! When this happens (most of the time image), the Cybot does NOT travel in a straight line, when it should and does not turn left or right correctly.


I picked up an idea from a comment made by gadget.iom to a posting made by dtsartsanis to turn the chassis around and use a tail wheel instead of a nosewheel. However, this didn't fix the problem.


I then caught on to the idea of using a ball castor, in place of the nose wheel. I managed to locate one on eBay and was able to use some good old lego technic to attach it to the Cybot.  Unfortuntely, Lego don't make beams that are 8 holes long, so the ball castor fixing is asymmetrical. Nevertheless, it works a treat!


image


I tweaked the Arduino sketch so that the speeds and turns were a little better than in the version I posted last time. The values needed are very much dependent on the motors and affected by the introduction of the ball castor instead of the wheel.


I also modified the Android App to receive and display the comments that were being sent out, originally to the serial monitor, but now to the HC-06. This means that the Android device now displays the last command sent to the Arduino, received by the Arduino and, hopefully, obeyed by the Cybot.




  • Sign in to reply
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