Smart LED Fixture

Project Goals

  • Design and Build LED driving PCB
  • Develop Firmware
  • Develop Android application
  • Fabricate LED fixture (TBD)

Circuit Design

To power the LED strings a power driving circuit must be designed. Within this circuit there are three main components of the circuit. These components include the a driving integrated circuit, power mosfet, and the LEDs.

UI & Android Application

When developing an Android app there are four crucial files that are required for functionality of the application, these files include: main activity, GATT connectivity, XML, and manifest. The main activity handles the interface and calls the GATT protocol. The GATT connectivity file controls the data transfer between the GATT client (mobile device) and peripheral (PSoC). The XML file determines the esthetics of the user interface including text, buttons, layout, etc. The last final is the manifest file that contains permission statements to enable the local Bluetooth antenna.

Embedded System

To directly control the LED driving circuit the PSoC 4 BLE was chosen for the ease of use along with an built in database. Through the PSoC Creator software input and output pins can declared in the Design Wide Resources file as shown below. With this software custom services and characteristics can be easily declared with all of the necessary supporting code generated in the main.c file. These services and characteristics are the attributes that can be read or written to interface with the application.


Mechanical Design

The design of the LED fixture is to be decided once revisions are finalized.

Final Presentation

https://docs.google.com/presentation/d/1pQuB5pNVwuZ-Kvb5NhIuIIWPVn8T7ZyhzOltc87BdS8/edit?usp=sharing