How to use ESP32 as a webserver

From Norwich Hackspace
Revision as of 11:29, 27 September 2020 by Nicholas w (talk | contribs)
Jump to navigation Jump to search

£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. 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.