Connected giraffe using 3D printing, electronic and software.
This part describe printing / 3D. All parts has been printed with my personnal Creality CR-10 with this filament.
Giraffe model came from thingiverse.
Basement has been developped with fusion 360.
Hardware is based on ESP32 module.
- WS2812B led strip
This part descibe arduino software for ESP32.
1 - You need to change partition management in file $ARDUINO_DIRECTORY/hardware/espressif/esp32/tools/partitions/default.csv to :
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x1F0000,
app1, app, ota_1, 0x200000,0x200000,
Due to bluetooth stack size. See this issue
2 - Update maximum application flash size in file $ARDUINO_DIRECTORY/hardware/espressif/esp32/board.txt at line 12 according previous step:
esp32.upload.maximum_size=2031616
For this project I used two major libraries:
Android app has been developped with QT using c++ and qml. The app interact with the esp32 using BLE. When you flip a card, it starts playing a song which match with the picture.
I'm using insert with screws to fix the electronic board in the casing. .