I am relatively new to this, I wanted to build a simple bot, While I know that a simple microcontroller like arduino/ teensy would be better choice but I also want it to be controlled via my laptop/ mobile. So, want my bot to have some restful server. While there are few good libraries for esp8266, Its very difficult to build a server thats even slightly complicated. Therefore, Here I am confused with following choices for micro-controller/ "Brain" of my bot:
Raspberry pi zero w
Raspberry pi zero w for hosting server + Arduino as slave micro-controller that will connect to peripherals.
Problem with choice 2 is that, it will complicate my circuit a bit and will take a lot more space on my bot. But as a side effect will allow me to remotely update by Arduino program.
So, Is it possible to go with choice 1? My bot will have 4 independently controlled wheels (brushless DC motors, an servo for controlling direction of front tires, and an ultrasonic sensor for detecting barriers. and other regular components like UBEC, ECC, etc. I preferably want wheels to start, stop turn at sync. I think slight delay between wheels and servo (5-10ms) shouldn't be a problem.
Thankyou