Difference between revisions of "SP Monitor LOLIN32"
From Prakai Nadee
m |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Prakai's Wiki, eduroam-TH SP Monitoring}} | {{DISPLAYTITLE:Prakai's Wiki, eduroam-TH SP Monitoring}} | ||
{{#seo: | {{#seo: | ||
− | |keywords=Prakai Nadee, Wiki, Personal Wiki, eduroam, eduroam-TH, SP Monitoring, IoT | + | |keywords=Prakai Nadee, Wiki, Personal Wiki, eduroam, eduroam-TH, SP Monitoring, IoT, WEMOS LOLIN32 |
|description=Prakai Nadee's Wiki, eduroam-TH SP Monitoring | |description=Prakai Nadee's Wiki, eduroam-TH SP Monitoring | ||
}}__NOTOC__ | }}__NOTOC__ | ||
Line 7: | Line 7: | ||
== eduroam-TH SP Monitoring firmware installation for WEMOS LOLIN32 == | == eduroam-TH SP Monitoring firmware installation for WEMOS LOLIN32 == | ||
=== [https://github.com/FablabTorino/AUG-Torino/wiki/Wemos-Lolin-board-(ESP32-with-128x64-SSD1306-I2C-OLED-display) Wemos Lolin board (ESP32 with 128x64 SSD1306 I2C OLED display)] === | === [https://github.com/FablabTorino/AUG-Torino/wiki/Wemos-Lolin-board-(ESP32-with-128x64-SSD1306-I2C-OLED-display) Wemos Lolin board (ESP32 with 128x64 SSD1306 I2C OLED display)] === | ||
+ | |||
+ | [https://eduroam-mon.uni.net.th/doc/images/7/7c/Lolin32-300px.png https://eduroam-mon.uni.net.th/doc/images/7/7c/Lolin32-300px.png] | ||
* ESP32-based (ESP-WROOM-32 240MHz) | * ESP32-based (ESP-WROOM-32 240MHz) | ||
Line 32: | Line 34: | ||
* List of files: | * List of files: | ||
− | D:\ | + | D:\eduroam-TH-firmware\ |
- esptool.exe | - esptool.exe | ||
- Lolin32.ps1 | - Lolin32.ps1 | ||
Line 46: | Line 48: | ||
* Change location to D:\duroam-TH-firmware | * Change location to D:\duroam-TH-firmware | ||
− | PS C:\Users\Hello World> D: | + | PS C:\Users\Hello World> '''D:''' |
− | PS D:\> | + | PS D:\> '''cd eduroam-TH-firmware''' |
PS D:\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 | * Run the flashing script: '''Lolin32.ps1''' and follow the instruction | ||
Line 63: | Line 68: | ||
=======================================================================<br/> | =======================================================================<br/> | ||
2) Select a COM port<br/> | 2) Select a COM port<br/> | ||
− | 1: Silicon Labs CP210x USB to UART Bridge (COM111) | + | '''1: Silicon Labs CP210x USB to UART Bridge (COM111)''' |
2: Standard Serial over Bluetooth link (COM5) | 2: Standard Serial over Bluetooth link (COM5) | ||
3: Standard Serial over Bluetooth link (COM6) | 3: Standard Serial over Bluetooth link (COM6) |
Latest revision as of 10:34, 15 February 2020
eduroam-TH SP Monitoring firmware installation for WEMOS LOLIN32
Wemos Lolin board (ESP32 with 128x64 SSD1306 I2C OLED display)
- 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
- ฿380, ESP32 + OLED 128x64 on one board บอร์ดพัฒนา ESP32 พร้อมจอ OLED380, ESP32 + OLED 128x64 on one board บอร์ดพัฒนา ESP32 พร้อมจอ OLED
- ฿470, บอร์ดพัฒนา IoT พร้อมจอ OLED Wemos® Lolin32 ESP32 + OLED WiFi+Bluetooth
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
- Download eduroam-TH firmware and flashing tool
- Extract the downloaded file to a local disk (ex: D:\):
- 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 ---