Remote-controlled RGB mood light
Warm, cool, rainbow or breathing: cycle lighting moods from your sofa.
Shop by category
Shop all componentsThe Pico W's radio can scan for nearby 2.4 GHz networks in a few seconds. This project lists the four strongest on a small OLED with their signal strength in dBm and channel. Walk around the house with it on a power bank to see where your router's signal is strong or weak, or to pick a less crowded channel. It only listens to names that networks broadcast; it does not connect to or attack any network.
Use it only to look at nearby networks and to improve your own.
Tick anything you already have and the total updates.
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB power bank so you can walk around.
main.pyimport network, time
from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
i2c = I2C(0, sda=Pin(4), scl=Pin(5), freq=400000)
oled = SSD1306_I2C(128, 64, i2c)
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
while True:
oled.fill(0); oled.text("Scanning...", 0, 0); oled.show()
found = wlan.scan() # (ssid, bssid, channel, rssi, security, hidden)
found.sort(key=lambda n: n[3], reverse=True)
oled.fill(0)
oled.text("%d networks" % len(found), 0, 0)
for i, n in enumerate(found[:4]):
name = n[0].decode()[:9]
oled.text("%s %d c%d" % (name, n[3], n[2]), 0, 14 + i * 12)
oled.show()
time.sleep(4)
Check that it is a Pico W, not a plain Pico, and that the antenna end of the board is clear.
The OLED is small, so names are shortened to nine characters.
Signal strength changes, so the order does too.
No. The Pico W has a 2.4 GHz radio.
Listing broadcast network names and strengths is normal; do not try to access networks you do not own.
Yes. Append the list to a file with a timestamp.
4 parts: Raspberry Pi Pico W Microcontroller Board, 0.96" OLED Display 128x64, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 45 minutes. The build on this page has 6 steps.
No. This page has the complete, tested code (main.py).
About ₹885 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Scanning Wi-Fi with network.WLAN.scan(); Reading dBm signal strength; Choosing a clear channel.
Use it only to look at nearby networks and to improve your own.
Ideas that reuse this build: ESP32 Wi-Fi scanner. They are listed under Take it further on this page.
Warm, cool, rainbow or breathing: cycle lighting moods from your sofa.
Press to roll: the pips tumble and slow down before landing on a number.
Wait for the light, hit the button: how many milliseconds can you beat?
A bright 4-digit clock that keeps time through power cuts.
Learning project. Check every circuit and the datasheet of each part before you power it up.