Smart Clamp
CruzHacks 2023
Adrien, Corey, Xander, Nate
Smart Clamp
High Level Design
AWS
Express
(AWS EC2)
MySQL
(AWS RDS)
ReactJS
(AWS S3 & GitHub Actions)
RPI Pico W
(Microcontroller)
MPU6050
(IMU)
1 Cell LiPo
(Battery)
Olympic Barbell
Buttons
OLED Screen
Implementation
Buttons
MPU6050
OLED Screen
Full Setup
Web
Frontend hosted on AWS S3
Backend hosted on AWS EC2
CICD using GitHub Actions
Frontend
Backend
/workouts
Demo
Hardware Pinouts
OLED
Power: pin 36
GND: pin 38
I2C0 GPIO SDA: 8
I2C0 GPIO SCL: 9
IMU
Power: pin 36
GND: pin 38
I2C0 GPIO SDA: 4
I2C0 GPIO SCL: 5
Battery
Power (VSYS): pin 39
GND: pin 38
Buttons
Power: pin 36
GND: pin 38
Digital: 4
Endpoints
GET POST /workouts
GET /workouts?username=x&exercise=x&created_at=x
Hardware List