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
    • 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
Arduino
  • Products
  • More
Arduino
Blog Portenta H7 Vision Shield
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Arduino requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Workshopshed
  • Date Created: 30 Jul 2021 7:28 AM Date Created
  • Views 1054 views
  • Likes 6 likes
  • Comments 0 comments
Related
Recommended

Portenta H7 Vision Shield

Workshopshed
Workshopshed
30 Jul 2021

From my previous experiments with the Portenta H7, I had installed a multi-core version of blink with one core flashing green and the other blue. I was keen to know if the M4 core would still boot if I loaded MicroPython code on the M7 core.

 

I clipped on the Vision shield and plugged it in. Arduino recommend using the OpenMV IDE for developing for this shield, so I fired that up and pressed the connect button. It failed to find the board so I gave the reset button a double-tap and pressed connect again.

image

OpenMV prompted me to install the latest Firmware which I did.

image

I ran the "Hello World" example and confirmed that it was connecting to the camera and generating an image. The camera is black and white so the default RGB histogram shows the same thing on each graph. But you can swap this out with a grayscale one.

imageimage

Noticeably the LED was not blinking which suggested the M4 core was not running. I had a look around the IDE for settings, I found the options to turn on Wifi at boot but strangely pressing cancel on that broke some of the menus. So I rebooted and was prompted with a new message. So I now don't know if the M4 is not running or if it is that the Pin is taken by the M7 core. I suspect it is the first but perhaps need to find a different way to check the M4 core. And need to find a way of booting that core from Python and/or modifying the bootload to start both.

imageimage

The IDE did prompt me with a tip to look at some examples so I opened one of the Arduino examples and hovered over the library that was imported to be prompted with a bunch of tips. However running the example told me that UART 3 did not exist and broke the File and Tools menu again, they just don't pop down anymore, but edit, help menus did work.  There is some IntelliSense on the IDE but it is not context-sensitive so I am not sure how much use that will be. The examples did show me that it is the pyb library that will hold all the board-specific features so I'll perhaps look into there to get more detail.  https://docs.openmv.io/library/pyb.html

imageimage

So I rebooted the IDE again and loaded up a Face detection example. That worked well and was fast to draw the boxes. It only detects when you are looking at the camera.

image

The python code looks easy to adapt to my needs and there are many examples for manipulating images I can learn from and adapt.

 

So a promising start but there is obviously work to be done by the Arduino/OpenMV team. For me the main challenge will be getting the M4 core to boot which I want to do so I can run some NeoPixels along with my vision detection.

  • 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube