Difference between revisions of "How to use ESP32 as a webserver"
Jump to navigation
Jump to search
Nicholas w (talk | contribs) |
Nicholas w (talk | contribs) |
||
Line 1: | Line 1: | ||
− | £10 ESP32 is a 240mhz dual-CPU computer (with 4mb ram) and can run a webserver - so can be controlled from your phone/computer. Amazing. | + | £10 ESP32 is a 240mhz dual-CPU computer (with 4mb ram or 512kb not sure) and can run a webserver - so can be controlled from your phone/computer. Amazing. |
[https://hackaday.com/2016/10/10/porting-nes-to-the-esp32/ also amazingly, you can run nintendo NES games on it] | [https://hackaday.com/2016/10/10/porting-nes-to-the-esp32/ also amazingly, you can run nintendo NES games on it] | ||
Revision as of 12:12, 27 September 2020
£10 ESP32 is a 240mhz dual-CPU computer (with 4mb ram or 512kb not sure) and can run a webserver - so can be controlled from your phone/computer. Amazing. also amazingly, you can run nintendo NES games on it
These are the steps I took to get it working:
- download current arduino IDE from arduino.cc
- the one I bought from the Hackspace shop was this one:
- CANADUINO ESP32 Devkit Wi-Fi Bluetooth BLE - Ultra Low
- the IC chip (which controls the USB interface with the computer?) is: CP2104
- my mac, is running an older system, so I needed this driver for the CP2104:
- after that, in the arduino IDE, you need to add a URL to the preferences in order to download the ESP32 board:
- as per this youtube video
- this is the URL to type: "https://dl.espressif.com/dl/package_esp32_index.json"
- Then this video and link give you code to make the webserver.