Update Simulation of ESP32 authored by Johannes Hug's avatar Johannes Hug
// Show How to Setup ESP32 Simulation
// Read Values
// Feedback via LED
# Simulate an ESP
> Wokwi is an online simulation tool for IOT hardware. This enables us to test out some code snippets, without the need of the real hardware.
## 1st Steps in Wokwi
Visit [https://wokwi.com/](https://wokwi.com/). There is no need to create an account, unless you want to save your projects.
Visit https://wokwi.com/. There is no need to create an account, unless you want to save your projects.
![WokWi landing page](../images/Wokwi_Intro.png)
......@@ -20,13 +16,13 @@ Visit [https://wokwi.com/](https://wokwi.com/). There is no need to create an ac
![wokwi hardware gif](../gifs/Wokwi_hardware_intro.gif)
***
---
### Create your own Project.
![intro wokwi project](../images/WokWi_Intro_Porject.png)
> :books: Create an empty project and add some simple hardware components. (an LDR (photoresistor), an LED, a resistor od 470Ohm, and a button)
> :books: Create an empty project and add some simple hardware components. (an LDR (photoresistor), an ESP32, an LED, a resistor od 470Ohm, and a button)
> :books: Try to read the values of the Light Depending Resisitor (LDR) and paste it in the Serial Monitor! :bulb: look up the function analogRead(), be careful which Pin you choose as input pin!
......@@ -38,8 +34,6 @@ Visit [https://wokwi.com/](https://wokwi.com/). There is no need to create an ac
> :books: Add a pushbutton. The functionality of the LED should remain the same, but it should only light up, when the Button is being pressed! How is the button to be connected? ( :bulb: digitalRead(), INPUT_PULLUP, ...)
![project demo gif](../gifs/Wokwi_smol_project.gif)
Do you need [help](https://wokwi.com/projects/405280861526418433)?
\ No newline at end of file