Difference between revisions of "SP Monitor Pocket 32"
From Prakai Nadee
(Created page with "{{DISPLAYTITLE:Prakai's Wiki, eduroam-TH SP Monitoring}} {{#seo: |keywords=Prakai Nadee, Wiki, Personal Wiki, eduroam, eduroam-TH, SP Monitoring, IoT, WEMOS WiFi & Bluetooth B...") |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
== eduroam-TH SP Monitoring firmware installation for WEMOS WiFi & Bluetooth Battery ESP32 == | == eduroam-TH SP Monitoring firmware installation for WEMOS WiFi & Bluetooth Battery ESP32 == | ||
=== WEMOS WiFi & Bluetooth Battery ESP32 === | === WEMOS WiFi & Bluetooth Battery ESP32 === | ||
+ | |||
+ | [https://eduroam-mon.uni.net.th/doc/images/6/60/Pocket_32-300px.png https://eduroam-mon.uni.net.th/doc/images/6/60/Pocket_32-300px.png] | ||
* ESP32-based (ESP-WROOM-32 240MHz) | * ESP32-based (ESP-WROOM-32 240MHz) | ||
Line 47: | Line 49: | ||
* 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: '''WemosBattery.ps1''' and follow the instruction | * Run the flashing script: '''WemosBattery.ps1''' and follow the instruction | ||
Line 64: | Line 69: | ||
=======================================================================<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:35, 15 February 2020
eduroam-TH SP Monitoring firmware installation for WEMOS WiFi & Bluetooth Battery ESP32
WEMOS WiFi & Bluetooth Battery ESP32
- ESP32-based (ESP-WROOM-32 240MHz)
- USB Micro, CP2102 USB to UART bridge
- 4MB SPI flash memory + 520K RAM
- 1 Button, 1 Reset
- 2.4G Antenna
- 5V DC power supply
- 18650 charging system integrated
- Development platform: MicroPython, Arduino
Where to buy
- ฿530, บอร์ดพัฒนา IoT พร้อมลังถ่านใส่แบต Li-ion 18650 WeMos ESP32 WiFi+Bluetooth
- ฿540, WeMos ESP32 ESP-WROOM-32 + 18650 Battery Socket บอร์ด ESP32 รุ่น ESP-WROOM-32 พร้อมที่ใส่แบตเตอร์รี่ 18650 และวงจรชาร์จในตัว
How to flash eduroam-TH SP monitor firmware for WEMOS WiFi & Bluetooth Battery ESP32
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 - WemosBattery.ps1 - ESP32-eduroam-mon.ino.pocket_32.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: WemosBattery.ps1 and follow the instruction
PS D:\eduroam-TH-firmware> .\WemosBattery.ps1 ===================================================================== =============== eduroam-TH monitoring device flash tool =============== =======================================================================
1) Connect Wemos WiFi with Battery to computer
Press Enter to continue...:
- Connect WEMOS WiFi & Bluetooth Battery ESP32 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: cc:50:e3:99:1b:48 Uploading stub... Running stub... ... Leaving... Hard resetting via RTS pin...
- Device reboot and running
======================================================================= 4) Disconnect Wemos WiFi with Battery from computer to stop serial monitor =======================================================================
eduroam-TH SP monitoring device version 0.30-2019103100 ESP32 Development Board: Pocket_32 ... 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 WiFi & Bluetooth Battery ESP32 from computer
How to use
--- Please wait ---