Arduino R4 WiFi Network Scanner - No External Components Required!

Ғылым және технология

In this video we create a simple WiFi network scanner. It uses the Arduino Uno R4 Wifi (amzn.to/3OBFjtd) and that is all. It doesn't even log onto any netwroks. It simply listens to what is being broadcast and then displays the strongest SSID on the LED matrix display.
*************************************************************************
Please help support this channel at NO COST TO YOU. If you shop on *Amazon, please use this link: amzn.to/3706t6c *
*I will get a small commission and it costs you nothing. *
*************************************************************************
HEY YOU ABOUT TO POST SOMETHING STUPID:
Yes, I know my hands are large/fat. It's because of a heart condition I suffer from called Congestive Heart Failure. Here's a link to some information about CHF: cle.clinic/2TdS2Ux
One of the symptoms is that it causes fluid retention, mostly in the hands, feet/ankles, and face..
-------------------------------------------------------------------------------------------------------------------
Support learnelectronics:
Amazon Store:
If you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ amazon.com/shop/learnelectronics
Paypal:
Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics
---------------------------------------------------------------------------------------------------------------------
Gear I use:
Multimeter: OWON B33+ amzn.to/3UkTJOo
Oscilloscope: KIPRIM DS1202 amzn.to/3gfJGMN
Signal generator: Junctek JDS8080 shorturl.at/ehTZ1
Component Tester: T7 Multifunction amzn.to/3AYY03v
Soldering Station: Sealody ???????

Пікірлер: 16

  • @learnelectronics
    @learnelectronics5 ай бұрын

    /* Arduino Uno R4 Wifi Network Scanner by learnelectronics 12 FEB 2024 based on code writtern & modified by: created 13 July 2010 by dlf (Metodo2 srl) modified 21 Junn 2012 by Tom Igoe and Jaymes Dec */ #include "ArduinoGraphics.h" #include "Arduino_LED_Matrix.h" #include ArduinoLEDMatrix matrix; void setup() { //Initialize serial and wait for port to open: Serial.begin(9600); matrix.begin(); matrix.beginDraw(); matrix.stroke(0xFFFFFFFF); // add some static text // will only show "UNO" (not enough space on the display) const char text[] = "*|*"; matrix.textFont(Font_4x6); matrix.beginText(0, 1, 0xFFFFFF); matrix.println(text); matrix.endText(); matrix.endDraw(); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } // check for the WiFi module: if (WiFi.status() == WL_NO_MODULE) { Serial.println("Communication with WiFi module failed!"); // don't continue while (true); } String fv = WiFi.firmwareVersion(); if (fv Serial.println("Please upgrade the firmware"); } } void loop() { byte mac[6]; // scan for existing networks: Serial.println("Scanning available networks..."); listNetworks(); WiFi.macAddress(mac); Serial.println(); Serial.print("Your MAC Address is: "); printMacAddress(mac); delay(10000); } void listNetworks() { // scan for nearby networks: Serial.println("** Scan Networks **"); int numSsid = WiFi.scanNetworks(); if (numSsid == -1) { Serial.println("Couldn't get a WiFi connection"); while (true); } // print the list of networks seen: Serial.print("number of available networks:"); Serial.println(numSsid); // print the network number and name for each network found: for (int thisNet = 0; thisNet Serial.print(thisNet); Serial.print(") "); Serial.print(WiFi.SSID(thisNet)); Serial.print(" Signal: "); Serial.print(WiFi.RSSI(thisNet)); Serial.print(" dBm"); Serial.print(" Encryption: "); printEncryptionType(WiFi.encryptionType(thisNet)); } // Make it scroll! char text[] = "xxxxxxxxxxxx"; String gazinda = String(WiFi.SSID(0)); gazinda.toCharArray(text, 13); matrix.beginDraw(); matrix.stroke(0xFFFFFFFF); matrix.textScrollSpeed(50); // add the text matrix.textFont(Font_5x7); matrix.beginText(0, 1, 0xFFFFFF); matrix.println(text); matrix.endText(SCROLL_LEFT); matrix.endDraw(); } void printEncryptionType(int thisType) { // read the encryption type and print out the name: switch (thisType) { case ENC_TYPE_WEP: Serial.println("WEP"); break; case ENC_TYPE_WPA: Serial.println("WPA"); break; case ENC_TYPE_WPA2: Serial.println("WPA2"); break; case ENC_TYPE_WPA3: Serial.print("WPA3"); break; case ENC_TYPE_NONE: Serial.println("None"); break; case ENC_TYPE_AUTO: Serial.println("Auto"); break; case ENC_TYPE_UNKNOWN: default: Serial.println("Unknown"); break; } } void printMacAddress(byte mac[]) { for (int i = 5; i >= 0; i--) { if (mac[i] Serial.print("0"); } Serial.print(mac[i], HEX); if (i > 0) { Serial.print(":"); } } Serial.println(); }

  • @EdSym1
    @EdSym15 ай бұрын

    AAs mentioned earlier add some white space. "String gazinda = String(WiFi.SSID(0)) + " ";"

  • @kalidabdul6862
    @kalidabdul68625 ай бұрын

    Hello For the hanging c , just put some spaces before and after the string.

  • @warrenking1815
    @warrenking18155 ай бұрын

    Neat, a scanner for wifi

  • @shagreobe
    @shagreobe5 ай бұрын

    Can't wait to get an r4

  • @mschwage
    @mschwage5 ай бұрын

    Step 1: hit the like button. Step 2: enjoy the video. Thanks!!!! Another awesome video.

  • @learnelectronics

    @learnelectronics

    5 ай бұрын

    Thank you, you just made my day!

  • @Keeping_IT_Simple
    @Keeping_IT_Simple5 ай бұрын

    Being lazy as I am , is there a link to your code , so I don't have to type in the code please?

  • @learnelectronics

    @learnelectronics

    5 ай бұрын

    Yes, I'm sorry. I'll pin it to a post here

  • @Keeping_IT_Simple

    @Keeping_IT_Simple

    5 ай бұрын

    @@learnelectronics absolutely no need for apologies. Thankyou for this code & excellent video

  • @blazingtrailsrc396
    @blazingtrailsrc3965 ай бұрын

    i want one that displays the login info of the networks lmao

  • @PatricksDIY
    @PatricksDIY2 ай бұрын

    I mean I wouldn't call that "hacking" every phone scans wi-fi and provides the name and the signal.

  • @diptimanbora2512
    @diptimanbora25125 ай бұрын

    I should’ve waited for R4 to come out..

  • @bblod4896
    @bblod48965 ай бұрын

    Honey trap? ☮️ brother.

  • @learnelectronics

    @learnelectronics

    5 ай бұрын

    A honey trap is a router that is connected to nothing.

  • @TheTrueVoiceOfReason
    @TheTrueVoiceOfReason5 ай бұрын

    What, you didnt call The Matrix "Neo"? 😂🤣🤣😂

Келесі