Wi-Fi router (virtual network)
Router / access point of the simulation's virtual network: Pico W boards connect with WiFi.begin(SSID, password). The router assigns addresses via DHCP (192.168.178.x), resolves names (server.lab = test server with /api/time, /api/weather, /api/echo; broker.lab or test.mosquitto.org = MQTT broker; pool.ntp.org = time) and answers pings. No real internet. Several routers = several networks; without a router there is the default network "CircuitLab" / "secret123". Traffic, MQTT messages and the boards' web pages are in the "Network" panel. Put the router on a board of its own to place it in the World: the signal then follows distance, antennas and the radio environment, and frames get lost far away.
Key data
- Category
- Radio
- Simulation model
- Behavioural mixed-signal model
- Reference prefix
- WLAN
- Pins
- 0
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- wifi_router
- Supply pins
- /
Pins 0
| Pin | Name | Use |
|---|
Parameters 5
ssidpasswordrssiUsed while the router sits on the same board as the Pico W (no position). On a board of its own the signal comes from the World.
txPowerRouter in the World: 20 dBm = 100 mW, the EU limit at 2.4 GHz
channelPCB
No land pattern: the part is not placed on the board.