I think the thread will work. Please have a look. But I recommend you try the espduino firmware. It’s great for arduino.