当前位置:网站首页>Maixll dock quick start

Maixll dock quick start

2022-07-01 04:24:00 Salted fish shell


I wrote something about Maixll-Dock (V831) The article , But I was still green at that time ( Cough ). A lot of things you can't understand . All we can do is test the official case .
It's not the same now , I got up !~~

The following points should be noted before reading

  1. This series is renamed Maixll-Dock, Distinguish the previous V831 name . Combine theory with practice , While analyzing official cases , Write your own ‘’ Little chestnut ‘’.
  2. Fixed version of this series , That is, the subsequent updated version is temporarily ignored ( Unless the new version has a qualitative breakthrough , We'll see .)
  3. I am stupid , The update is slow . Don't hurry, boss
  4. I am an unofficial person , Don't ask me if you have any questions , But you can leave a message in the comment area .
  5. Try to be concise , The goal is to enable more people to use the device quickly .
  6. There are many ways to realize extensible functions , I only choose the simplest way to do .
  7. During the internship, the video group was established , Do things for ( Maybe we can talk about hardware in another way QAQ).

Salted fish products , Just use it. ~

Choose version :v831-m2dock-maixpy3-0.5.0-20220601


Start ~ Content of this article : For convenience, it is written in the back V831 了 . The title of the topic is Maixll-Dock
 Insert picture description here

After reading this article , Minimum , You can test whether the board is easy to use ~

Maixll-Dock

Based on domestic Quanzhi V831 Of linux AI Open source development board , It is suitable for beginners without the foundation of artificial intelligence , lovers , College students, etc , With the help of Python Programming can be simple and fast application of artificial intelligence technology .

Support the following functions . Refer to the official instructions for more details , We just know what it can do .
 Insert picture description here

preparation

  1. One computer , I am using Win10 System .( For demonstration , I redo the system , There is no environment in the computer )
     Insert picture description here

  2. A card reader ,SD One card ,Tpye-C A data line ( Capable of transmitting data !)

  3. V831 A suit ( Development board , The screen , camera )

. Insert picture description here

  1. open wiki file :https://wiki.sipeed.com/soft/maixpy3/zh/~ Our main references .

Install the image

( Official package to buy cards , You don't have to look here .)

Preparatory work completed , What matters now is to open V831. Try it V831 Is it easy to use ~.
If our computer wants to run, it must have its own system ,V831 Also need to , So we have to install the system image first .

Download the image file

Get the latest... From the download site V831 System image SDK_MaixII/release , Get a compressed package
 Insert picture description here
After unzipping, you will get a .img file , This is the system image file ..
 Insert picture description here

Format memory card

Our system image should be put in the memory card ,( System disk ). For security, format the memory card first , It will save a lot of energy later
SD Card Formatter( It can also be like U Format like a disk .)

Download and install OK 了
 Insert picture description here
Connect the memory card to the computer through the card reader USB mouth , open SD Card Formatter Software , Format the memory card .
 Insert picture description here
Refresh( Refresh ) Then click Format( format ), Pay attention to the correct selection of targets SD card .
 Insert picture description here
Click the pop-up window to confirm
 Insert picture description here
Just a minute OK 了
 Insert picture description here

System burning

First download PhoenixCard

open PhoenixCard, Select the corresponding image package in the firmware , Then refresh the drive letter to find the target card , If it is not found, try plugging it again SD card . Select the option of starting card and click burn card .
 Insert picture description here
Probably 30s after , Burn complete  Insert picture description here

Development board testing

Turn it on

Insert the memory card burning the image into V831TF In the card slot .
USB Access USB OTG in , Connect the other side to the computer .
 Insert picture description here
here , Will pop up U disc (405: I'm familiar with it ). And V831 The screen lights up , And there are some small functions ~
 Insert picture description here
This is connected , Leave it alone for the time being .
 Insert picture description here

The document states

open “U disc ”, You can see a app Folders and one wpa.xx Of CONF file ( Networked ).

app Inside the folder is the function file .
 Insert picture description here
APP The folder contains the following files
 Insert picture description here
Program priority app/main.py
 Insert picture description here

Don't believe it ? Let's order LED try .

Copy the following program into app Under the document main.py(TXT Just text , We'll use IDE) preservation .

import time                    #  Time module 
from maix import gpio
gpio.load(gpio.m2dock)    
PH6 = gpio.gpio(6)
while True:
    PH6.set_value(0)            #  Set to low level 
    print(PH6.get_value())      # Print acquisition level 
    time.sleep(1)               
    PH6.set_value(1)            #  Set to high level 
    print(PH6.get_value())
    time.sleep(1)

Restart the development board ( Reset )
 Insert picture description here
See the effect , Access LED Wait for a flash . congratulations , Successfully opened V831. You can make things .

 Insert picture description here

Reference material :
https://wiki.sipeed.com/hardware/zh/maixII/M2/flash.html (Linux(Ubuntu) Use Livesuit burn )

原网站

版权声明
本文为[Salted fish shell]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207010419254834.html