Arduino Project

Arduino Finger Counter Using Computer Vision V1

Course Introduction

This project controls the LED matrix on an Arduino Uno R4 WiFi board based on finger count data received from a Python script. The script detects the number of fingers shown to a camera and sends this data to the Arduino via serial communication(USB). The Arduino then displays the corresponding number on the LED matrix.

Note

If this is your first time working with an Arduino project, we recommend downloading and reviewing the basic materials first.

1.1 Install Arduino IDE(Important)
1.2 Introduction of Arduino IDE

Required Components

In this project, we need the following components:

SN

COMPONENT INTRODUCTION

QUANTITY

PURCHASE LINK

1

Arduino UNO R4 WIFI

1

2

USB Type-C cable

1

×

Operating Steps

Copy the following code into Arduino IDE.
Use the Arduino Library Manager and search for ArduinoGraphic and Arduino_LED_Matrix install libraries.
Select the board(Arduino UNO R4 WIFI) and then clicking the Upload button.
Then use the Python code FingerCountSender. You can click here FingerCountSender.zip to download it.
Update the Python script to use the correct serial port(COMx).
Then run the python code to open the camera window.