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
Twist, Turn and Move Design Challenge with TE Robotics
  • Challenges & Projects
  • Design Challenges
  • Twist, Turn and Move Design Challenge with TE Robotics
  • More
  • Cancel
Twist, Turn and Move Design Challenge with TE Robotics
Blog The Robocat Blog 3: Machine Vision
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Leaderboard
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jwr50
  • Date Created: 10 Sep 2022 7:58 PM Date Created
  • Views 8339 views
  • Likes 9 likes
  • Comments 1 comment
  • robots
  • te connectivity
  • Twist Turn and Move Robotics Design Challenge
Related
Recommended

The Robocat Blog 3: Machine Vision

jwr50
jwr50
10 Sep 2022

The Robotcat has a machine vision component, which hopefully allows it to “chase” a laser pointer.  Machine vision requires considerably more compute power than the Arduino Uno can deliver.   To supplement the Arduino Uno, I decided to create a “sensor fusion module” that will offload the machine vision and sensor data computation.  I chose a small, efficient, and (relatively) inexpensive module called OpenMV M7.  This module is built around an STM32 Cortex M7, which is an ARM microcontroller with several nice features.  It has enough compute power to implement machine vision applications, plus it has a real time clock, supports I2C and SPI interfaces, and has a small number of GPIO that can be used for future expansion.  

image

The OpenMV module is programmed using MicroPython from within the OpenMV IDE.  In order to quickly detect a laser pointer, I used a pre-canned blob detection algorithm with some slight tweaks of the color levels to filter the red laser pointer spot and discriminate reflections and other light sources.  Here is a quick video clip of the blob detection of a laser pointer.  

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

One unique feature of this robot is that we decided to also add a “classic” alarm clock interface seven segment display.  At first, adding a clock to our robot may seem like an odd choice, but during this implementation, I discovered that it has a couple useful roles.  Besides being cool, it’s actually a useful way to display any error codes or other information that I may add in the future.  The OpenMV M7 has a builtin real time clock, so other than the seven segment display module, there was no additional hardware required.  Plus, it’s actually a great way to give this robot a second life as a clock and a conversation piece. 

image

The seven segment display module I chose was a four digit clock-type LED display available from Adafruit.  I soldered this display into a “backpack” based on the HT17K33 LED driver with an I2C interface.  This display is connected to the OpenM7 using the following items from the TE Connectivity Kit:  M4473 SL005 Shielded 2 Pair cable and Dynamic D-1000 Series contacts:

  • 4x 2367817-2 Female contact pins 
  • 4x 2367819-2 Male contact pins
  • 1x 2-2366515-4 receptacle
  • 1x 1-2366600-4 receptacle

image

  • Sign in to reply
  • DAB
    DAB over 2 years ago

    Nice update.

    • Cancel
    • Vote Up 0 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 © 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