Ath the moment we are in a early adaptor phase of the project.
To setup the lab you will need a MCU that can connect to the internet we have had success with the ESP32 from seeed studio.
The .ino cad can be found here [CODE](https://gitlab.fabcloud.org/academany/fabacademy/2023/instructors-bootcamp/-/blob/main/docs/Projects/MQTT_adrian_esp32c3.ino)
Thing that need to be added or modified in the code ar as follows:
The .ino cad can be found here [CODE](https://github.com/Fab-Lab-Akureyri/fla-fmcu)
# fmcu-fla
Clone the repo and update code to your needs og copy fla-fmcu.ino and create file called `config.h`.
Perfect with [FABxiao](https://github.com/Fab-Lab-Akureyri/fla-xiao)
## Set your labs ID, SSID & Password
Create `config.h` file with the following lines and edit them accordingly.
```
// Your fablabs.io lab id
const char id[] = "";
#define WLAN_SSID "" // Your wifi name
#define WLAN_PASS "" // Your wifi password
```
- you local WiFi info (we have not tried ethernet cable at this point)
- your lab idea witch you will find here press the total lab nr. [Lab_ID](https://fmcu.beachlab.org/labs.html)
- On ESP32 pin is set to GPIO 10 if wanted this can be modified
...
...
@@ -16,6 +32,7 @@ In theory FMCU should work on any board. Below is a list of boards that have bee
- raspberry Pi Pico works code need's to be adapted
- Arduino UNO with wifi shield not tested
- esp32 didn't work
- we have not tried ethernet cable at this point
below you will find a workflow chart to set up the FMCU