Things used in this project

Hardware components:
Adafruit SSD1306 OLED
Wifi Antenna 9dBi
Wifi Antenna 7dBi
Wifi Antenna 5dBi
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)


UDOO Neo with OLED display shield
This shows the jumper wires required to allow access to the i2c bus
Img 20160225 001221


Python wifi scanner with OLED display for UDOO NEOPython
Install dependency libraries and launch from rc.local on reboot to keep scanning
#!/usr/bin/env python

# Ported from:
# Also includes wifi scanning

from oled.device import ssd1306, sh1106
from oled.render import canvas
from PIL import ImageFont
import commands
import re

font = ImageFont.load_default()
device = ssd1306(port=1, address=0x3C)

if __name__=="__main__":
    scan_result = commands.getoutput("sudo /sbin/iw dev wlan0 scan")
    ssids = [[6:] for x in re.finditer("SSID:.*\n",scan_result)]
    signals = ["signal: ").rstrip(" dBm\n") for x in re.finditer("signal:.*\n",scan_result)]
    print ssids,signals
    with canvas(device) as draw:
        # Load default font.
        font = ImageFont.load_default()

        # Alternatively load a TTF font.
        # Some other nice fonts to try:
        # font = ImageFont.truetype('Minecraftia.ttf', 8)

        # Write all SSID's in brief
        y = 0
        for ssid,signal in zip(ssids,signals):
            draw.text((0, y), ssid[:10],  font=font, fill=255)
            draw.text((84, y), signal, font=font, fill=255)
            y += 10


Tisham Dhar
10 projects • 31 followers
I am an Electronics Engineer who mostly works with aerial and space based remote sensing projects. I fiddle with home automation and renewable energy projects.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Add projectSign up / Login