Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.46 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.46 KB

ESP8266 WiFi car

Firmware for the ESP8266/NodeMCU WiFi car.
Embedded web server to live stream sonars sensors values via WebSockets.
Optimised web contents on the SPIFFS flash.
Towards Reinforcement Learning to learn an obstacle avoidance algorithm in simulation, then apply it on the real car.
It will be used as teaching material for an Applied Machine Learning engineering course.

Quickstart

Install requirements

npm install gulp-cli -g
cd gulp_minify
npm install

Minifying the embedded web server files

mini+ugl gzipped
381 Ko -> 149ko

cd gulp_minify  
gulp  

Build and upload the firmware

platformio run --environment nodemcuv2_USB -t buildfs -t uploadfs  
platformio run --environment nodemcuv2_USB -t upload -t monitor  

Ressources

PlatformIO:

HC-SR04 sonar:

WebSockets: