Jaimi5/Protopixel

Protopixel Technical-Task-Firmware-Engineer

★ 0Forks 0CGitHub ↗Compare

README

Protopixel

Protopixel Technical Task Firmware Engineer

Task steps

  1. Add Led state
  2. Add button interrupt that toggles the led
  3. Add a solution for the button bouncing
  4. Add a WiFi connection
  5. Add a MQTT connection
  6. Add a MQTT/LED state synchronization

Pre-requisites

Configuration

  • Connect to a WiFi network
  • Execute the MQTT broker using docker
docker run -d --name emqx -p 1883:1883 -p 8083:8083 -p 8084:8084 -p 8883:8883 -p 18083:18083 emqx/emqx:5.2.0
  • Found the IP address of the MQTT broker

  • In the src/config.h file, change the following values:

Define the type of board, choose between LAMP or CONTROLLER

#define WIFI_SSID "YOUR_WIFI_SSID"
#define WIFI_PASS "YOUR_WIFI_PASSWORD"
#define MQTT_BROKER_IP "YOUR_MQTT_BROKER_IP"

Demonstration

In the file demo.mp4 you can find a video of the demonstration of the task.

Contributors

Jaimi5

Issues