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
Robots with Wheels
  • Challenges & Projects
  • Project14
  • Robots with Wheels
  • More
  • Cancel
Robots with Wheels
Blog RoboBobLet#8 : The Final Assembly
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Robots with Wheels to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 11 May 2018 3:18 PM Date Created
  • Views 1199 views
  • Likes 7 likes
  • Comments 2 comments
  • roboboblet
  • robotwheelsch
Related
Recommended

RoboBobLet#8 : The Final Assembly

dubbie
dubbie
11 May 2018

The journey for RoboBobLet for the Robot with Wheels challenge has come to an end for me as there is no more time left. I added V53L0X laser rangefinder to the 3D printed front piece added to the front of the Pixy camera and connected everything to the Nano. Apart from one head-scratching moment when one of the mounting pillars for the strip board was shorting two of the SPI signals (which prevented the Pixy camera collecting data) this final assembly went together quite easily. I would like to say this was the result of good design but I think it was more likely just a coincidence. Below is a photograph showing all the connections at the back of the Pixy camera. You cannot see what is connected to what but I thought I would put this image in to give some idea of the wiring complexity for this final assembly.

image

 

The next image shows the front of the Pixy camera. The white is the 3D printed front piece that fixes to the mounting holes in the Pixy camera. The lens of the Pixy camera is the squarish black plastic object at the top and below that is the V53L0X laser rangefinder sensor. I mounted them in this manner so that I could obtain range data for whatever the Pixy camera was pointing. at

image

 

The Pixy camera was trained to detect blue objects. I chose blue because I had a number of children's wood toy bricks painted blue, so I knew they would all be the same colour, shape and size and this simplified the programming requirements. It is always good to start as simple as possible and work towards realism. The existing programme was amended so that when scanning the laser rangefinder through 180 degrees it also checked the image from the Pixy camera and displayed the X coordinate of the first detected blue object. The X coordinate is in camera Pixels which has not yet been related to the scan angle or the RoboBobLet chassis orientation. I made sure that there would only ever be a single blue object to be detected and this avoided all the problems that could occur with multiple objects. Again, multiple blue objects is something that  could be considered later. If no blue object is detected then the X coordinate value of 0 is output to identify this situation. The screen dump below shows a plot of laser rangefinder distance and blue object X coordinate, both plotted against the scan angle.

 

image

 

The top blue plot is the laser rangefinder data and shows the typical data obtained from scanning a single object. There are some spurious single anomalous ranges showing as downward spikes, which is much as seen previously. I did not make any attempt to filter these out as time has run out. Below in orange is the plot of the X coordinate value which effectively appears as a ramp. This is because as the camera is scanning it will detect the blue object at some point so the X coordinate will increase above zero and the edge of the blue object will then progress in a mostly linear fashion across the camera area until the blue object disappears out of view on the other side of the camera image. The blue object was placed at a distance of approximately 300 mm directly in front of the RoboBobLet chassis and this is illustrated correctly in this data. The spike in the camera X coordinate is probably due to lighting effects or maybe just not detecting the blue at that specific moment. Getting the Pixy camera to provide stable results was a challenge as it seems to take at least four consecutive sets of readings taken in quick succession before the image data would stabilise.

 

Finally, below is a video showing the operation of RoboBobLet using the Pixy camera to avoid a blue object. I did not use the laser rangefinder data as I just didn't have enough time left to create the programme. The video shows that it detects the blue object and then turns away from it. When the object is out of view the mobile robot continues to move forwards. Unfortunately RoboBobLet suffered an injury a few days ago when the table he was on collapsed and he was crushed by a larger robot. Regretfully this damaged two of the continuous rotation servo motors so that they are erratic in operation. This means that RoboBobLet can randomly change direction at any time if the damaged motors stop operating correctly. If you listen carefully you can hear the gears crunching when RoboBobLet is moving forwards. I will need to get some more continuous rotation servo motors to fix this problem.

 

 

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

 

Well, that's the end of my contribution to the Robots with Wheels challenge. I have managed to achieve almost everything I set out to achieve, apart from the 9 degree of freedom sensor (but I did integrate that into a different robot (see NotRobobBobLet post)) and some 3D printed body shell parts (but I did 3D print the camera front piece, so that almost counts). There is still a great deal of work left to do with RoboBobLet but this is mainly in the software programming area, in order to make the best use of all the data potentially available from the sensors in order to obtain useful responses in real world environments. Still, there is always next week, and the week after, then the next week .....

 

Thanks to Element 14 for providing the opportunity to publish what I have done. Maybe I'll do another design challenge sometime, but not straight away!

  • Sign in to reply
Parents
  • mcb1
    mcb1 over 7 years ago

    Thanks for providing this.

    You've also reminded me that I only a couple of days left ... best I get mine completed. image

     

    It's always interesting developing something, as each step brings new challenges.

    What you have done is try to understand each stage, and while there are some unanswered questions, you've identified these for later.

     

    I'm curious if the camera or the Laser determine where you should aim?

    Getting the Pixy camera to provide stable results was a challenge as it seems to take at least four consecutive sets of readings taken in quick succession before the image data would stabilise.

    This suggests that the camera needs more time than the laser to identify the target, which tends to make the Laser information important.

     

     

    There is no mention about the power supply.

    One of the things we constantly run across is issues whenever a motor is part of a project.

    The solution is usually a rather large capacitor across the supply line.

     

    Nano's tend ot have very little onboard power supply filtering, and I suspect you'll find the supply line is quite 'noisy' (electrically).

    This may account for spikes and other unexpected results.

     

     

     

    Maybe I'll do another design challenge sometime, but not straight away!

    image  Design Challenges are even more time consumming ...

     

     

    Cheers

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • mcb1
    mcb1 over 7 years ago

    Thanks for providing this.

    You've also reminded me that I only a couple of days left ... best I get mine completed. image

     

    It's always interesting developing something, as each step brings new challenges.

    What you have done is try to understand each stage, and while there are some unanswered questions, you've identified these for later.

     

    I'm curious if the camera or the Laser determine where you should aim?

    Getting the Pixy camera to provide stable results was a challenge as it seems to take at least four consecutive sets of readings taken in quick succession before the image data would stabilise.

    This suggests that the camera needs more time than the laser to identify the target, which tends to make the Laser information important.

     

     

    There is no mention about the power supply.

    One of the things we constantly run across is issues whenever a motor is part of a project.

    The solution is usually a rather large capacitor across the supply line.

     

    Nano's tend ot have very little onboard power supply filtering, and I suspect you'll find the supply line is quite 'noisy' (electrically).

    This may account for spikes and other unexpected results.

     

     

     

    Maybe I'll do another design challenge sometime, but not straight away!

    image  Design Challenges are even more time consumming ...

     

     

    Cheers

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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