Ethernet-Driven Smart Vision: AI-Powered Person Detection with W55RP20 and Arducam
This project integrates the W55RP20-EVB-Pico board with an Arducam camera to create an AI-powered person detection system
1. Project Introduction
In February I implemented this project using W5100S-EVB-Pico and Arducam.
With release of new W55RP20 chip, I thought it would be cool to reproduce the project but using single chip.
2. Hardware setup
As W55RP20 is a SiP chip integrating RP2040 and W5500 in one product, I had to do a little update in the code. The dies are connected internally via general GPIO pins and PIO program is required to turn those pins to serve as SPI. The relevant information can be found in WIZnet website.
Note that below pins are used by PIO program to turn them into SPI. To distinguish with Arducam SPI pins, WIZ prefix was added for better readability.
The connection between W55RP20-EVB-Pico and Arducam was done as below:
3. Software setup
I have updated the code to operate properly on the new board. The main changes were as below:
- Add PIO program
- Revise the makefiles
- Revise the port folder
Mainly I used this repository: https://github.com/WIZnet-ioNIC/WIZnet-PICO-C for reference.
Full code can be found here: https://github.com/wiznetmaker/W55RP20-EVB-Pico-TFLM-PersonDetectionExample
4. Results
Below video demonstrates the results.
Truly amazing to run such application on a single chip!
5. Next steps
PIO coding adds a lot of work to be done in other environments like Arduino or Python.
For next project, I will try to implement a webserver where I can stream video from the Arducam.
Stay tuned!