Skip to content

2WD wifi car with front sonars, using an ESP8266 for communication to an external brain. Reinforcement learning to train obstacle avoidance in a simulation, then applied on the real car.

License

Notifications You must be signed in to change notification settings

a1rb4Ck/esp8266-wifi-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

2WD wifi car with front sonars, using an ESP8266 for communication to an external brain. Reinforcement learning to train obstacle avoidance in a simulation, then applied on the real car.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published