-
Piggy Bank and an AI-generated visualization/reminder to your goal (in this case Europe trip)
-
Shopping page gives makes logging savings feel gratifying: AI generates item graphics and description based on goal set (like Europe trip)
-
Spending Breakdown: Spending (read from bank notification messages) is classified
-
Recent Spending (read from bank notification messages) and Savings Logged
-
Home page: insights into savings and spending habit, along with analytics and benchmarks against peers
-
Creating a goal: updates db and triggers AI to construct the savings plan (including RBC investment portfolio based on amount and duration)
-
LOOK AT THE PIG!!
-
GIF
Happy Pig: triggered by logging savings, accompanied by upbeat buzzer and led flash
-
GIF
Sad Pig: triggered by spending (as read from bank notifications), accompanied by downbeat buzzer
Inspiration: The Sneaker Tax on Dreams
Meet Aruhant. He dreams of a post-graduation Europe trip, but he has no roadmap to get there. Like most students, he’s tempted by small purchases that offer instant gratification, but these minute spends quietly rob him of bigger opportunities. Saving often feels abstract and disconnected from immediate life goals.
We realized this is a universal challenge: Young adults lack a tangible, motivating system to develop foundational financial habits. Our mission was to create a solution that counters the urge to spend by offering immediate, positive reinforcement for saving, effectively rewiring the brain's reward system toward long-term wealth creation.
What it does: Blue Pi(g) - A Phy-gital Ecosystem that Rewards Savings
Our solution, Blue Pi(g), is a phygital ecosystem that leverages behavioural economics to bridge the gap between abstract financial goals and real-world spending habits. It transforms saving into a rewarding, habit-forming, and social experience.
Phygital Feedback Loop: App Meets Smart Device
Every spend or save is tracked in the app, while a connected Smart Piggy Bank reacts physically and emotionally. For example, the pig visibly droops when you overspend and celebrates when you save. This instant, physical feedback acts as a gentle, ambient nudge to guide your behaviour.
Tangible Goal Setting
The app breaks down long-term goals into small, visual pieces, making progress concrete. The shoe you skip today instantly becomes a car tire or a plane ticket. This use of Mental Accounting transforms an abstract number into a concrete, emotionally resonant goal, effectively bridging the empathy gap to your future self.
Real-Time Insights & Smart Benchmarking
The app utilizes bank notification data to automatically classify expenses and show exactly where your money goes. Crucially, it provides Smart Social Benchmarking, comparing your spending with anonymized peers. This establishes a financial baseline ("Is my spending normal?") and offers positive validation ("You're in the top 20% of savers in your city!").
Smart Advice
The system delivers personalized, actionable suggestions. For example: "Skipping those sneakers today could help you pay your car's first installment in two years!" Users log savings directly toward their goals, reinforcing the positive habit loop.
How We Built It: A Real-Time, Integrated System
- Mobile App (Flutter): Built on Flutter for a cross-platform (iOS/Android) experience. We used local notification access to enable real-time transaction tracking. The app's analytics categorize spending and connect to a DynamoDB stream for instant updates.
- AI Capabilities: Martian's Deimos Router: We utilized Martian's Deimos condition-based router to classify spending transactions, generate personalized financial insights, and dynamically trigger the appropriate physical response from the piggy bank. The condition-based router considers the weight of the goal, the length of the description, and the kind of portfolio to make its decisions.
- Database & Real-Time Events (AWS DynamoDB): DynamoDB stores user data and goals. A DynamoDB stream captures real-time spending and saving events, acting as the trigger that simultaneously updates the mobile app and the physical piggy bank.
- Interactive Piggy Bank (Pi, QNX, and, so much hardware!): The device features a Raspberry PI 4B microcontroller running QNX, servo motors for expressive head movements, a buzzer for audio feedback, and an OLED display. The microcontroller runs Python-based firmware that governs its movements/reactions, the "happiness" state of the pig, and it connects directly to the DynamoDB stream, allowing it to react to financial decisions in less than a second.
- Financial Integration (RBC InvestEase API): We deployed the API client to retrieve real-time profile data, such as bank details, investment portfolio, savings/spending—a part of this data is updated to the database. The Deimos router recommends suitable InvestEase portfolio options based on the user's savings and time horizon, demonstrating intelligent, holistic financial guidance.
- Gemini: We leveraged the Gemini API for image generation, creating visual representations of financial goals and virtual shopping items to boost engagement.
Together, this creates a closed-loop, reinforced feedback system where financial choices are both digitally visualized and physically reinforced.
Challenges We Ran Into
- Real-Time Phygital Sync: Achieving sub-second synchronization between the mobile app's spending event, the cloud database stream, and the physical piggy bank's motor response was technically complex, but essential for the core reinforcement mechanism to work.
- Firmware Limitations: We had to pivot our ambitious visualization ideas. Abandoning the complex fluid pig animations we had created, we optimized for text-based graphics to ensure a reliable and performant experience on the device's microcontroller.
- UX Complexity: Translating abstract financial data (like peer benchmarking) into an intuitive, non-overwhelming, and visually engaging mobile experience required relentless UX iteration.
Accomplishments We're Proud Of
- Working Phygital Ecosystem: We built a functional, end-to-end system where spending money or logging a saving immediately causes the pig to react.
- Goal Transformation: We successfully developed an app experience that makes saving relatable by visually transforming saved money into tangible goal items.
- Psychological Tailoring: We succeeded in tailoring our product to the psyche of a young consumer by integrating Smart Social Benchmarking to provide essential financial clarity and turn peer comparison into a source of positive validation. All in all, we are grateful to have created an app that will help students achieve their long-term financial goals more efficiently and with provably higher success.
What We Learned
- Young adults don't lack the motivation to save; they lack clarity and a clear roadmap.
- Physical feedback (like the pig drooping) is critical—it makes the abstract goal of "wealth creation" instantly real and emotionally resonant.
- Building a hybrid hardware-software product requires tight, interdisciplinary integration to ensure a seamless, reliable user experience.
What's Next for Blue Pi(g)
- Integration Scalability: Our immediate next step is working towards integrating this proof-of-concept directly into the RBC InvestEase platform to reach a massive user base.
- Advanced Hardware: Refining the piggy bank design into a sleek, affordable product with an integrated colour display and interactive features like touch response.
- Gamified Growth: Expanding financial literacy modules and adding more dynamic gamified challenges like "No Takeout Week" to drive consistent behaviour.
- Strategic Partnerships: Seeking partnerships with banks, schools, and youth organizations to scale the platform and its impact.
Built With
- amazon-dynamodb
- dart
- flutter
- gemini
- martian
- oauth
- python
- qnx
- raspberry-pi
- rbc



Log in or sign up for Devpost to join the conversation.