Smart Phone Notification Display & Clock

About the project

We'd be building a Smart Phone Notification & Desk Clock using the PSoC 6 WiFi BT Kit. It's easier to see the incoming phone notifications on the desk-clock, instead of picking up the phone on every ping and getting distracted. This separate Display will allow to see notifications at a glance and then take actions.

Project info

Difficulty: Moderate

Platforms: Cypress

Estimated time: 2 hours

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Cy8ckit-062-wifi-bt Psoc 6 Pioneer Kit Cy8ckit-062-wifi-bt Psoc 6 Pioneer Kit x 1

Software apps and online services

ModusToolbox™ Software Environment ModusToolbox™ Software Environment

Story

The idea is to build a Smart USB Powered Phone Notification Display & NTP Clock using the PSoC 6 WiFi BT Pioneer Kit.

We earlier attempted to build this using an ESP8266, but lack of enough GPIO made us not pursue it beyond proof of concept stage.

This is an image of the POC we did using ESP and a 1.8" TFT LCD Display: 

The project should also allow to fetch data from the Internet & display on the device. In our earlier POC, we fetched Holy verses and displayed them sequentially.

It'd be much easier to see the notifications on the phone, instead of picking up the phone on every ping and get distracted in it. This separate Display will allow to see notifications at a glance and then using on the onboard Capacitive touch buttons, allow users to do some actions.

Getting Started with the PSoC WiFi BT Kit

Before we can upload code from the Modus ToolBox, it's required to update the onboard KitProg2 Firmware to KiTProg3 firmware. This will then allow us to easily flash to the Kit & debug from the ModusToolBox IDE.

Architecture:

While we initially planned to use the BLE Services to directly receive notifications from the Phone and Display/Snooze them, I couldn't get it working due to my now limited experience with programming Android Phones.

It then struck that we could use PubSub style design to show notifications, with the drawback of then both Phone and Pioneer Kit having to be connected to the Internet to sync notifications. This wouldn't be required when using BLE.

I couldn't get the project to completion as I got stuck in publishing notifications from Phone to a Cloud Gateway. Initially, I planned to use PushBullet but couldn't. Exploring alternatives to stream push notifications to Cloud.

Note: The attached code is not complete and will be updated whenever the complete PoC is working (and this note will be edited / removed).

Code

ElectroMaker PSoC Contest

Download

Credits

Photo of Anwaarullah

Anwaarullah

Maker, Speaker, Educator and Dreamer. ♥ Tinkering with Embedded, IoT, Open Soft/Hard/Firmware, Robotics...

   

Leave your feedback...