element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Ralph Yamamoto's Blog M5Stack UnitV2 - Out of Box Applications
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 4 Jun 2021 11:14 PM Date Created
  • Views 1938 views
  • Likes 5 likes
  • Comments 2 comments
  • m5stack
  • m5stack unitv2
  • sigmastar ssd202
  • arm cortex-a7 dual core
  • gc2145 camera
Related
Recommended

M5Stack UnitV2 - Out of Box Applications

ralphjy
ralphjy
4 Jun 2021

I just received my UnitV2 that I described in a previous post M5Stack UnitV2 - Standalone AI Camera for Edge Computing and thought that I'd do a quick run though of the OOB applications on the device.

 

Initial connection and operation is reasonably straightforward.  There is an Ethernet over USB interface on the board as shown in the block diagram:

 

image

 

Note: there are a couple of mistakes in the diagram - DDR3 memory size is 128MB and NAND Flash is 512MB.

 

Connecting to the device USB-C port therefore provides Ethernet IP connectivity.  It is necessary to install a device driver on the host computer (I'm using Windows 10).  First you need to download and extract the SR9900.infs_amd64 driver.

 

When you initially connect the device with USB, a USB 10/100 LAN device will appear in Device Manager under "Other Devices".  You need to update this device with the downloaded driver.  Then you'll see an SR9900 USB2.0 to Fast Ethernet Adapter under "Network adapters".

image

 

Now you should be able to connect to the UnitV2 with the IP address 10.254.239.1 or the domain name unitv2.py.

 

To examine the File System setup on the UnitV2, I used PuTTY to connect using SSH.  The default username is "m5stack" and password is "12345678".

image

 

71% of the rootfs on the Flash Memory is being used.  There is a blank 16GB SD card installed for additional storage.

 

image

 

An older version of Linux is being used.  4.9 was the version that was used for Debian "Stretch".

 

The OOB applications are located in the /home/m5stack/payload/bin directory:

image

 

The associated Neural network models are located in the /home/m5stack/payload/models directory.:

image

 

 

To run the OOB Application Framework you need to open unitv2.py in a browser window:

image

 

The Framework defaults to starting with a real-time VGA camera stream.  The above is a picture of my previous Beagles that is just above my monitors.  You can configure which app is the default as shown below.  You can also switch to using Jupyter Notebooks for interactive development.  I'll cover that in a separate post.

 

image

 

There are 13 examples applications in the OOB Framework, so I thought that I'd demo the Object Recognition example.  This example has 2 different models, yolo_20 and nanodet_80.  I tried them both and they have similar results. I found a database of pet photos at https://www.pexels.com/search/pets/  and I'll open that on my second monitor to test the object recognition.

 

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

 

Sorry for the shaky video - some of the mis-classification is due to the positioning of the camera on the image on the monitor.

 

The classifier did pretty well with dogs and cats and a bird:

{gallery} Pet Classifier

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image

IMAGE TITLE: THEN IMAGE DESCRIPTION

image
image
image
image
image
image
image

 

The classifier had some problems with the Beagle because it sometimes wanted to classify the chair because of the distinct material ribbing.  The Lizard is mis-classified because it isn't represented by a class.  The dog with the glasses will classify correctly if I pull back from the image.  And the classifier doesn't seem to be able to separate people from animals when they are overlapping.

 

M5Stack has a demo video of the full set of OOB applications: https://m5stack.oss-cn-shenzhen.aliyuncs.com/video/Product_example_video/Unit/UnitV2_video_en.mp4

  • Sign in to reply
  • astearon
    astearon over 3 years ago

    is there a way to get APT on this? I'd like to install some console apps just to see what I can do.

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

    Nice update.

     

    DAB

    • 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