My experiments with Metro Grand Central board

I had been doing lot of experiments with Arduino type boards, I wanted to explore more capable boards with Camera interface to build machine vision use cases. It features Microchip ATSAMD51 chipset 

pic@Adafruit

Feature

  • Cortex M4 core running at 120 MHz
  • Hardware DSP and floating point support
  • 1MB flash, 256 KB RAM
  • 32-bit, 3.3V logic and power
  • 70 GPIO pins in total
  • Dual 1 MSPS DAC (A0 and A1)
  • Dual 1 MSPS ADC (15 analog pins)
  • 8 x hardware SERCOM (can be I2C, SPI or UART)
  • 22 x PWM outputs
  • Stereo I2S input/output with MCK pin
  • 12-bit Parallel capture controller (for camera/video in)
  • Built in crypto engines with AES (256 bit), true RNG, Pubkey controller

This board supports many languages – Arduino or C, I chose to work with Circuit python

Booting is simpler. When usb cable is connected, it is detected in my computer. Save the python file, directly to that drive

Download Mu from https://codewith.mu.

Very simple Python editor, Write and save the code, which will get downloaded to board


import board
import digitalio
import timeled = digitalio.DigitalInOut(board.D13)l
ed.direction = digitalio.Direction.OUTPUT
whileTrue: 
led.value=True 
time.sleep(0.5) 
led.value=False 
time.sleep(0.5)

Simple blink works.

I need to explore attaching OV7620 camera and explore machine vision on edge

Add a Comment

Your email address will not be published. Required fields are marked *