Smart Fit is a IoT product designed and built by Chi Zhang, Jiajie He, Jang Won Suh and Supanath Juthacharoenwong. It is also a team project for Mechaphonics: Smart Phone-Enabled Mechatronic Systems(ME202) at Stanford University, Spring 2017.
- Arduino 1.69 with ES Framework by J. Edward Carryer
- Google Firebase
- Butter Knife
- Picasso
- Android GIF drawable
- Android Circular Progress Button
- Adafruit BluefruitLE nRF51
- Adafruit PN532 RFID
dependencies {
compile 'com.android.support:appcompat-v7:25.3.1'
// Access to Android Design library
compile 'com.android.support:design:25.3.1'
// Constraint layout
compile 'com.android.support.constraint:constraint-layout:1.0.2'
// Recycler view
compile 'com.android.support:recyclerview-v7:25.3.1'
// Image processing (Picasso)
compile 'com.squareup.picasso:picasso:2.5.2'
// View injector (Butter Knife)
compile 'com.jakewharton:butterknife:8.5.1'
// Gif views
compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.7'
// Progress button
compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
// Firebase
compile 'com.google.firebase:firebase-core:10.2.6'
compile 'com.google.firebase:firebase-auth:10.2.6'
compile 'com.google.firebase:firebase-database:10.2.6'
compile 'com.google.firebase:firebase-storage:10.2.6'
}
For use of Google Services, you also need
apply plugin: 'com.google.gms.google-services'
on the bottom of build.gradle
in app
folder.
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.2'
// Google Services
classpath 'com.google.gms:google-services:3.1.0'
}
❗ We realized that Bluetooth Service could only be binded with one activity at a time near the end of the project timeline, so the way we handled BLE (simply binding and unbinding when switching activities) was not elegant. We strongly suggest you use fragments inside one activity to achieve the same functionality.
Fitting Room App | Merchant App |
---|---|
![]() |
![]() |
All trademarks and clothes photos in the app are owned by Uniqlo Co., Ltd. The use of the copyrighted work involved in this project is for educational purposes, and should be considered fair use.