Code Monkey home page Code Monkey logo

tinyml-esp32's Introduction

TinyML ESP32

last-commit

Followers watchers stars forks

Open Source Love GPL Licence Repo-Size

This is the TinyML programs for ESP32 according to BlackWalnut Labs Tutorials. https://blackwalnut.zucc.edu.cn/codelabs/TinyML

Thank BlackWalnut Labs for providing the ESP32-WROOM-32 Development Board. It contains a mirophone (Inter-IC Sound), WS2812 LED light, GY-25Z Gyroscope and a button from top to bottom.

On the basis of the instructions in the BlackWalnut Lab tutorial, I changed part of the program code to adapt to the latest situation.

The program runs on arduino with the following library installed:

The Programs uses 115200 baud to send Serial data.

TinyML ESP32

此仓库是黑胡桃实验室的TinyML教程中的程序集合 https://blackwalnut.zucc.edu.cn/codelabs/TinyML

感谢黑胡桃实验室提供的ESP32-WROOM-32开发板。它从上到下包括一个麦克风(Inter-IC Sound),WS2812 LED灯,GY-25Z陀螺仪和一个按钮。

程序在黑胡桃实验室教程中所述说明的基础上,改动了部分代码以适应最新情况。

程序可以在安装了以下库的arduino上运行:

程序使用115200波特发送串行数据。

Details about the board 开发板细节

image

image

Content 目录

Project I : Gesture Recognition 姿态识别

  • Get Gyroscope Data 获取陀螺仪数据
    • 将陀螺仪的数据通过串口发送
    • The data of gyroscope is sent through serial port
  • Vibration Induction 振动感应
    • 当检测到运动时,LED灯将会亮起
    • The LED lights up when movement is detected
  • Directional Sensing 方向感应
    • LED灯用不同颜色指示方向
    • LED lights indicate direction with different colors
  • Get Training Data 获取训练数据
    • 收集同一手势的100次重复操作,达到100次时亮红灯,超过亮绿灯,并将csv格式的数据内容通过串口发送
    • Collect 100 repeated operations of the same gesture, and when it reaches 100 times, the red light will be on. The green light will be on when the operations exceed 100 times, and the data in the format of CSV will be sent through the serial port
  • Train Gesture Model 训练手势模型
    • 使用Jupyter Notebook训练模型
    • Using jupyter notebook to train model
  • Predict Gesture 预测手势
    • 预测手势,将2种手势可能性通过串口发送
    • Predict the gesture and send the two gesture possibilities through the serial port
  • Visualize Predict Gesture 可视化预测手势
    • 预测手势,将2种手势可能性通过网页客户端进行显示
    • Predict the gesture and show the two gesture possibilities through web pages.

Project II : Open LED using Voice 热词唤醒

tinyml-esp32's People

Contributors

hollowman6 avatar

Watchers

 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.