Why not use esp32 as microcontroller? It has more ram, 4MB flash memory and built in wifi Bluetooth... That will be great.