Git Product home page Git Product logo

corgidude's Introduction

Document and resources for CorgiDude

Board

board preview

board pinout

Firmware

Download : https://github.com/AiDude-io/CorgiDude/releases

Driver

Please search Google for "CH340 driver"

Python IDE

MaixPy IDE download : https://dl.sipeed.com/MAIX/MaixPy/ide/_/

Flash tool

KFlash GUI : download : https://github.com/sipeed/kflash_gui/releases

GPIOs and Sensors

All GPIO ports in CorgiDude can be controlled by Dude class

from Dude import dude, PORT
dude.BeginADC(PORT.INPUT1)
dude.BeginAHT(PORT.INPUT1)
#input
adc = dude.AnalogRead(port=PORT.INPUT1,channel=1)
temp,humid = dude.ReadAHT(port=PORT.INPUT1)
digitalData = dude.DigitalRead(port=PORT.INPUT2,pin=1)
#output
dude.PWMWrite(port=PORT.OUTPUT1,pin=2,value=50) #value 0-100
dude.DigitalWrite(port=PORT.OUTPUT1,pin=2,value=1) #value 0-1
dude.Servo(port=PORT.OUTPUT1,pin=3,value=80) #value -90 to 90 angle
dude.Motor(port=PORT.OUTPUT2,pin=1,speed=50)#speed -100 to 100
dude.LED(r=10,100,50) #onboard led 0-100 %

Note : This class occupied GPIOHS , I2C, and TIMER by this reference GPIO for ADC

  • GPIOHS14 - GPIOHS16

GPIO Input

  • GPIOHS21 - GPIOHS25

I2C for INPUT1

  • I2C1, freq=100000, pin SCL = 15, pin SDA = 14

I2C for INPUT2

  • I2C2, freq=100000, pin SCL = 10, pin SDA = 3

GPIOOutput

  • GPIOHS17-GPIOHS20

Timer for PWM

  • TIMER1, CHANNEL0-3 for OUTPUT1
  • TIMER2, CHANNEL0-3 for OUTPUT2

Timer for RGB

  • TIMER0, CHANNEL1-3

Image Processing References

Transfer Learning Garbage Classification with Google Colab

Train MobileNet to classify road object.

Where To Buy

Board : https://www.aiiotshop.com/p/58

corgidude's People

Contributors

comdet avatar apinuntong avatar aidude-io avatar nazt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.