Prakai's Wiki, eduroam-TH SP Monitoring

From Prakai Nadee
Revision as of 10:34, 15 February 2020 by Prakai (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

eduroam-TH SP Monitoring firmware installation for WEMOS LOLIN32

Wemos Lolin board (ESP32 with 128x64 SSD1306 I2C OLED display)

Lolin32-300px.png

  • ESP32-based (ESP-WROOM-32 240MHz)
  • USB Micro, CP2102 USB to UART bridge
  • 4MB SPI flash memory + 520K RAM
  • 1 Button, Classic 0.96” (168×64 pixels) monochrome OLED display, 1 Reset
  • 2.4G Antenna max sensitivity reception: -97 dBm
  • 5V DC power supply
  • Development Platform MicroPython, Arduino

Where to buy

How to flash eduroam-TH SP Monitoring firmware for WEMOS LOLIN32

System requirement

  • Desktop/Labtop computer
  • Microsoft Windows 8, 10
  • Windows PowerShell
  • USB port

Instruction

  • List of files:
D:\eduroam-TH-firmware\
 - esptool.exe
 - Lolin32.ps1
 - ESP32-eduroam-mon.ino.lolin32.bin
 - ESP32-eduroam-mon.ino.partitions.bin
 - boot_app0.bin
 - bootloader_dio_80m.bin
  • Run Windows PowerShell: Win+r >> PowerShell.exe
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Hello World> _
  • Change location to D:\duroam-TH-firmware
PS C:\Users\Hello World> D:
PS D:\> cd eduroam-TH-firmware
PS D:\eduroam-TH-firmware> _
  • Enable execution of PowerShell scripts
PS D:\eduroam-TH-firmware> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force
  • Run the flashing script: Lolin32.ps1 and follow the instruction
PS D:\eduroam-TH-firmware> .\Lolin32.ps1
=====================================================================
=============== eduroam-TH monitoring device flash tool ===============
=======================================================================
1) Connect Wemos LOLIN32 to computer
Press Enter to continue...:
  • Connect Wemos LOLIN32 to USB of computer
=======================================================================
=============== eduroam-TH monitoring device flash tool ===============
=======================================================================
2) Select a COM port
1: Silicon Labs CP210x USB to UART Bridge (COM111) 2: Standard Serial over Bluetooth link (COM5) 3: Standard Serial over Bluetooth link (COM6) 4: Standard Serial over Bluetooth link (COM3) 5: Standard Serial over Bluetooth link (COM4) Q: Press 'Q' to quit.
Please select COM port: 1
  • Firmware flashing starts, Long press BOOT button if flashing does not start in 5 seconds
=======================================================================
=============== eduroam-TH monitoring device flash tool ===============
=======================================================================
3) Long press BOOT button if flashing does not start in 5 seconds
Flashing: Silicon Labs CP210x USB to UART Bridge (COM111) ======================================================================= esptool.py v2.6 Serial port COM111 Connecting.... Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: c4:4f:33:0c:11:bd Uploading stub... Running stub... ... Leaving... Hard resetting via RTS pin...
  • Device reboot and running
=======================================================================
4) Disconnect Wemos LOLIN32 from computer to stop serial monitor
=======================================================================
eduroam-TH SP monitoring device version 0.30-2019103100 ESP32 Development Board: LOLIN32 ... Connecting WiFi to: eduroam Security Type: WPA2 Enterprise ............................. WiFi connection successfully ... Wifi will disconnect and reconnect again in 30 minutes Going into DeepSleep mode and will wake up in 30 minutes
  • Disconnect Wemos LOLIN32 from computer

How to use

--- Please wait ---


MediaWiki spam blocked by CleanTalk.