Esp8266 mqtt arduino. Because of that, I decided to use Arduino mega + esp8266.