Coder Social home page Coder Social logo

nibabadebababa / musicplayerbasedongesturerecognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eureka1024/musicplayerbasedongesturerecognition

0.0 0.0 0.0 9.82 MB

使用 RT-Thread 操作系统和中科蓝讯的 AB32VG1 开发板,配合其他的模块,打造一款手势识别控制的音乐播放器

License: Apache License 2.0

Shell 1.73% C++ 0.54% Python 2.86% Perl 0.03% C 91.02% Assembly 2.78% Logos 0.01% Makefile 0.70% HTML 0.03% CMake 0.06% Batchfile 0.01% Yacc 0.07% Lex 0.03% M4 0.07% RPC 0.06%

musicplayerbasedongesturerecognition's Introduction

MusicPlayerBasedOnGestureRecognition

使用 RT-Thread 操作系统和中科蓝讯的 AB32VG1 开发板,配合其他的模块,打造一款手势识别控制的音乐播放器

一、概述

本项目是基于实时操作系统 RT-ThreadAB32VG1V2.0的核心板实现的音乐播放器模块,下面是目前规划的系统框图:

image-20211117225822556

下面是实现的功能(其中打勾的为已经实现的功能):

  • 按键控制
  • 音乐播放
  • SD 卡音乐读取
  • OLED 屏幕菜单显示
  • 手势识别控制
  • 三色LED灯效果
  • [ ]

开发环境:

  • RT-Thread 版本 latest(2021-10-20)

  • RT-Thread Studio版本 V2.12

  • AB32VG1 开发板 BSP 版本 V1.08

二、模块使用与配置

2.1、按键模块(GPIO)

按键模块使用如下 GPIO 引脚:

  • S2 -- PF1 (单击为向下选择)
  • S3 -- PF0(单击为确定,双击为返回)
  • S4 -- PA2(单击为向上选择)

使用按键软件包:multibutton

2.2、OLED12864 模块(IIC 协议)

使用的引脚如下:

  • SDA -- PA6
  • SCL -- PA0

没有使用 u8g2 的驱动软件包,因为内存不够。使用了网上的软件 IIC 实现,做了一些修改。

2.3、SD 卡模块(SDIO协议)

使用的 SDIO 协议对应的引脚如下:

  • SD_CMD -- PB0
  • SD_CLK -- PB1
  • SD_DAT -- PB2
  • SD_DET -- PE5

使用到 RT-Thread 提供的 SDIO 驱动,使用到的组件和服务层有 DFS、Fatfs 和 POSIX。

2.4、AUDIO 模块

  • VOUTRP -- DACR
  • VOUTLP -- DACL
  • FMANT -- FM_ANT
  • MICIN -- MICL/PF2

使用到的驱动 audio device, 软件包为 wavplayer(需要optparse软件包),可以用来播放 wav 格式的音乐文件。

2.5、手势识别模块(PAJ7620模块)-- IIC协议

  • SDA -- PE2
  • SCL -- PE3
  • INT -- PA5

使用了软件 IIC 驱动、PAJ7620软件包。

musicplayerbasedongesturerecognition's People

Contributors

eureka1024 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.