Raspberry Swimmer
A Real-Time Computer-Vision Airship
1
Background & Motivation
“Find a platform looking for a problem to solve”
2
Description & Goals
3
Air Swimmer Toy (it’s about 4’ long)
Raspberry Swimmer
Aka AutoShark
4
Electronic Hardware Overview
5
High-Level Design
6
Ballast Motor
Fin Motor
RPi Camera 2
L293D Mini Shield
RPi 4B
Battery HAT + Li-Ion
System Block Diagram
7
High Level Functional Block Diagram of state machine
Initial Hardware Characterization
*ESD precautions important throughout the entirety of project*
8
Software Characterization
Camera Functionality
Object Recognition
9
Software Characterization (Cont.)
Gesture Recognition
Facial Recognition
10
Interesting Things
11
Wiring Diagram
12
Assembly
13
RPi Holder (2x)
L293D Holder (2x)
Zip Tie passthrough
Software Implementation
14
Demonstration
15
Demo (Ballast)
16
Demo (POV & Turn)
17
Lessons Learned
18
References
Cvzone. (n.d.). Cvzone/cvzone: This is a computer vision package that makes its easy to run image processing and AI functions. at the core it uses opencv and Mediapipe libraries. GitHub. https://github.com/cvzone/cvzone
GitHub. (n.d.). https://github.com/freedomwebtech/raspbianlegacy/blob/main/hands.py
MediaPipe. layout: forward target: https://developers.google.com/mediapipe/solutions/vision/hand_landmarker title: Hands parent: MediaPipe Legacy Solutions nav_order: 4 - MediaPipe v0.7.5 documentation. (n.d.). https://mediapipe.readthedocs.io/en/latest/solutions/hands.html
Opencv. (n.d.). Add support for libcamera · ISSUE #21653 · opencv/opencv. GitHub. https://github.com/opencv/opencv/issues/21653
Staff, L. E. (2022, July 21). In-depth: Control DC motors with L293D Motor Driver IC & Arduino. Last Minute Engineers. https://lastminuteengineers.com/l293d-dc-motor-arduino-tutorial/
Tim. (2023, February 16). Face recognition with Raspberry Pi and opencv - tutorial australia. Core Electronics. https://core-electronics.com.au/guides/face-identify-raspberry-pi/#Where
YouTube. (2022, March 15). How to install tensorflow 2 and opencv on a raspberry pi. YouTube. https://www.youtube.com/watch?v=vekblEk6UPc
*Special thanks to UW Makespace in McCarty, The Mill
19
Thank you!
Questions?
20