Setting Up Wokwi Simulator

 


1 

Access Wokwi

Go to wokwi.com

Click on "Start from Scratch" or "New Project"

Select "ESP32" from the board options

2 

Create New ESP32 Project

When you create a new project, you'll see:

  • A virtual ESP32 board on the left
  • Code editor in the center
  • Library manager and settings on the right
3 

Understanding the Interface

Main Components:

  • 🎮 Play Button: Starts the simulation
  • ⏹️ Stop Button: Stops the simulation
  • 📋 Serial Monitor: Shows output (bottom panel)
  • ⚙️ Settings: Configure board and WiFi
  • 💾 Save: Save your project
  • 🔗 Share: Get a shareable link
4 

Configure WiFi Simulation

Click on the ⚙️ Settings icon (or edit wokwi.toml file)

Wokwi simulates WiFi networks automatically. You can configure simulated networks in the wokwi.toml file:

wokwi.toml
[wokwi] version = 1 [[wokwi.wifi]] ssid = "Wokwi-GUEST" password = "" [[wokwi.wifi]] ssid = "MyHomeNetwork" password = "password123"

This creates simulated WiFi networks that your ESP32 can scan!

💡 Pro Tip: Wokwi automatically simulates several WiFi networks even without configuration. The scanner will detect these simulated networks just like it would detect real ones!
✅ Ready to Code! Now you're ready to write the WiFi scanner code in the next tab.

Understanding RSSI Values

RSSI RangeSignal QualityDescriptionVisual
-30 to -50 dBmExcellentVery close to access point, maximum speed▂▄▆█
-50 to -60 dBmGoodStrong signal, reliable connection▂▄▆_
-60 to -70 dBmFairUsable but may experience slowdowns▂▄__
-70 to -80 dBmWeakMinimal connectivity, unstable▂___
Below -80 dBmVery WeakUnreliable, frequent disconnections____
💡 Fun Fact: RSSI is measured in dBm (decibels relative to one milliwatt). Since it's a logarithmic scale, a difference of 3 dBm represents a doubling or halving of signal strength!

Comments