I have a leftover 2 wheeled robo-car that I developed for school purposes as a line tracker - bump sensor search and rescue style vehicle. I also messed around with programming an IR tv remote to control it but it’s slow and laggy.
Now that I’ve done it and Learnt it the car has been sitting around since I don’t have a tape track with obstacles set up ever.
My idea is to rehash it into a controllable car from my iphone using touchOSC and the esp8266 wifi pcbs. I’ve programmed AT commands and done web server hosting using zigbee but have no experience with getting the esp8266 up and running with arduino. I’ve hunted around and found a video of a guy on YouTube doing exactly what I wanted with touch osc and 2 motors however there was no links to documentation. Most of the other esp8266 beginner tutorials are in the neighbourhood of creating a web hosting or server arduino.
I’m thinking my best option is to set the esp8266 as an access point, then just connect my iPhone to that wifi point to keep things simple. This way I can just set an ip in touch osc and forget it regardless of if I’m home or somewhere else. The ap command sheet for the 8266 seems pretty straight forward. My main lack of understanding is in making the apps buttons and slider outputs something that the wifi module transfers to the arduino
Since it’s been close to a year since my last zigbee project and first with esp8266 I have a few questions.
is it necessary to reflash my esp8266 chips? I don’t know what firmware they have on them but I also don’t have an ftdi programmer. I know with zigbee issues only ever came up if you were using two of them together and they had different firmware. Would this be similar?
what is the ch-pd pin on the esp8266.
with only 2 gpio I’d be limited to controlling only my 2 motors and unable to send forward/backward commands to the arduino. Is that a correct or incorrect assumption?? I suppose I could use 50% adc values and just code forward back into arduino.
with touch osc how would I setup to know what buttons on the app correspond to something the arduino can interpret. Are the midi channels the allocation? Would this require additional programming of the esp8266?
with zigbee it was a little easier due to the micro USB to reprogram but using an ftdi programmer (say I buy one) is there any software available that makes reprogramming the esp8266’s easier without having to do it in programming environment/IDE?
how to you determine the ip and mac addresses of esp8266? Just code arduino to retrieve them in a test program? The zigbees came with stickers and the mac addresses taped to them.
Thanks all in advance.