Skip to content

UVCカメラとして動作するM5StackCoreS3用ファームウェア(ウェブカムチャン)

License

Notifications You must be signed in to change notification settings

Ar-Ray-code/WebcamChan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebcamChan

UVCカメラとして動作するM5StackCoreS3用ファームウェア(ウェブカムチャン)

M5StackCoreS3-embedded super-kawaii UVC device.

特徴

  • 320x240(pixel)解像度のUVCデバイスとして動作
  • カメラパラメータの一部は表情と連動 😑
  • 無線設定が不要

環境構築&ビルド

Linux環境を使用します。

環境

  • Ubuntu 22.04 (6.8.0-90-generic x86_64 GNU/Linux)
  • Docker 29.2.0

ビルド

docker run --rm -v "$(pwd)":/project -w /project --env-file .env espressif/idf:v5.4.1 idf.py build

ビルド&書き込み

docker run --rm -v "$(pwd)":/project -w /project --env-file .env --device=/dev/ttyACM0 espressif/idf:v5.4.1 idf.py -p /dev/ttyACM0 flash

またはReleaseページから以下のファイルをダウンロードして書き込みを行う。

  • bootloader.bin
  • partition-table.bin
  • webcam_chan.bin
# インストール : sudo apt install -y esptool

esptool.py --chip esp32s3 --port /dev/ttyACM0 --baud 921600 \
  write_flash \
  0x0 bootloader.bin \
  0x8000 partition-table.bin \
  0x10000 webcam_chan.bin

Important

ファームウェア書き込み後のファームウェア更新は、リセットを5秒以上長押ししてファームウェア書き込みモードに遷移させる必要があります。

カメラ起動

ffplay -f v4l2 -input_format mjpeg -video_size 320x240 -framerate 30

About

UVCカメラとして動作するM5StackCoreS3用ファームウェア(ウェブカムチャン)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published