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. These are the steps I took to get it working:  | + | £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.    | 
| + | [https://hackaday.com/2016/10/10/porting-nes-to-the-esp32/ 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  | * download current arduino IDE from arduino.cc  | ||
Revision as of 11:27, 27 September 2020
£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
 - https://www.amazon.co.uk/CANADUINO-ESP32-Devkit-Wi-Fi-Bluetooth/dp/B07F1GWJ1N
 - 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:
 - https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
 - after that, in the arduino IDE, you need to add a URL to the preferences in order to download the ESP32 board:
 - https://www.youtube.com/watch?v=mBaS3YnqDaU
 - this is the URL to type: "https://dl.espressif.com/dl/package_esp32_index.json"
 - Then this video + link give you code to make the webserver:
 - https://www.youtube.com/watch?v=ApGwxX6VVzk
 - https://randomnerdtutorials.com/esp32-web-server-arduino-ide/