Skip to content

konifer44/SmartLED_App-SwiftUI

Repository files navigation

SwiftUI_SmartLED_App

App for control RGB LED ambient light. iPhone is connected via BLE with ESP32 SoC which controls RGB LED(or with few code changes any Bluetooth device)

This app is used for control ESP32_SmartLED_Device. More info about hardware:

ESP32_SmartLED_Device

drawing

Quick LED controls

drawing

Detailed LED color controls

drawing

Settings and connected device info

drawing

App funcionality

  • Discover nerby Bluetooth pheriperals,
  • Connect to any Bluetooth pheriperals, discover their services and characteristics,
  • Remember LED device in persistent storage for future autoconnection,
  • Converting SwiftUI color into binary data and sending it via BLE to my device,
  • Turn ON/OFF LED by quick tap on hanging bulb,
  • Control LED Brightness,
  • Control LED Color via quick color buttons or using new in iOS14 SwiftUI Color Picker,
  • Cool bulb animation thats lights up whole user interface,
  • Accelerometer support for moving hanging bulb depending on the tilt of the phone,
  • App supports Light and Dark Mode.

Tech

Hadrware

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages