Skip to content

This is the TinyML programs for ESP32 according to BlackWalnut Labs Tutorials. (黑胡桃实验室的TinyML教程中的程序集合)

License

Notifications You must be signed in to change notification settings

mind2hand/TinyML-ESP32

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 热词唤醒

About

This is the TinyML programs for ESP32 according to BlackWalnut Labs Tutorials. (黑胡桃实验室的TinyML教程中的程序集合)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.5%
  • Jupyter Notebook 7.4%
  • C++ 3.1%