This is a web-based tool to configure WiFi setting of R2P2 device via BLE.

How to Use

  1. Start the R2P2 in WiFi configuration mode. The method varies by device:
    • For Raspberry Pi Pico W and Pico2 W: Boot the device with GPIO22 connected to GND.
    • For other microcontrollers: Refer to the device manual.
    • You can also run the nmble command in the R2P2 shell.
  2. Ensure Bluetooth is enabled on your PC or Android device.
  3. Click the "Scan Devices" button to scan for available Bluetooth devices.
  4. Look for "R2P2 BLE xxxx" (xxxx is a random 4-digit) in the list. If it doesn't appear, your R2P2 may not be functioning correctly.
    • The device naming may differ based on the production/release. See the manual.
  5. Pair with "R2P2 BLE xxxx". Configuration form will show.
  6. Fill in the form and click the "Send Configuration" button.
  7. Once successful, reboot the device (make sure the GPIO22 is open). R2P2 will connect to the WiFi network๐Ÿ›œ Enjoy!!

Disclaimer

The WiFi password is stored in an encrypted format on the device. However, if the device is lost or stolen, the password could potentially be decrypted by a third party. Additionally, we cannot guarantee that communication between the browser and the device over BLE (Bluetooth Low Energy) is adequately encrypted in all environments. The authors and contributors of PicoRuby and R2P2 disclaim any and all responsibility for any issues arising from the use of our software.

FYI: You can also use nmcli command in the R2P2 shell for wired-configuration.

Supported OSes and Browsers

Windows โœ… Chrome and Edge
Linux โœ… Chrome
macOS โœ… Chrome
Android โœ… Chrome and Edge
iOS โŒ No BLE allowed in Web Browsers in iOS

Report an issue if any correction is needed. Repository: picoruby/picoruby.github.io

Tags: