Espruino code to control a remote control car, using ESP8266, double H-Bridge, Websocket server and client. Control itself is provided by iotUI.js which is based on riot.js and HTML device orientation API on iPhone.
There are four components:-
- The Car build (as per image above)
- The control object,
- The HTML page to serve which allows us to control the car from iPhone.
- The http/websocket server, which serves the HTML page and creates a websocket connection and listens for message events.
Full write up of project can be found here