This repository contains the codebase for IoT based LED strip Flutter app. There are three major folders in the root directory-
-
Flutter app:
- This folder contains the source code of the flutter app.
- It contains the src folder and the pubspec.yaml file.
-
Embedded C code:
- This folder contains the embedded C code that has to be run on Arduino IDE.
-
Django API:
- This folder contains a Python(Django) REST API.
- It is used for converting Image pixels into an array of its HEX colors.
Installation Guide
Flutter app-
- Create a new flutter app on Android Studio/VS Code of your local machine.
- Copy and replace the src folder and the pubspec.yaml file to install the required dependencies.
Embedded C code-
- Open the code in Arduino IDE.
- Install FastLED and ESP8266 on your Arduino IDE.
- Change the Wifi username and password.
Django app-
- Run the command- "pip install -r requirements.txt" to install the required dependencies.
- Run the command- "python manage.py runserver" from the root directory to start the localhost.