Difference between revisions of "SP Monitor doitESP32devkitV1"

From Prakai Nadee
m
m
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
== eduroam-TH SP Monitoring firmware installation for DOIT ESP32 DEVKIT V1 ==
 
== eduroam-TH SP Monitoring firmware installation for DOIT ESP32 DEVKIT V1 ==
 
=== DOIT ESP32 DEVKIT V1 ===
 
=== DOIT ESP32 DEVKIT V1 ===
 +
 +
[https://eduroam-mon.uni.net.th/doc/images/b/b4/DoitESP32devkitV1-300px.png https://eduroam-mon.uni.net.th/doc/images/b/b4/DoitESP32devkitV1-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:\> CD eduroam-TH-firmware
+
  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: '''DoITDevKitV1.ps1''' and follow the instruction
 
* Run the flashing script: '''DoITDevKitV1.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)
Line 109: Line 114:
  
 
=== How to use ===
 
=== How to use ===
--- Please wait ---
+
==== Power on, Connect successful, Idle mode ====
 +
<youtube>EGVzE2e_S2I</youtube>
 +
 
 +
==== Power on, Connect fail ====
 +
<youtube>hLN1EWBDxj8</youtube>
 +
 
 +
==== Power on, Reset configuration ====
 +
<youtube>YlLDC_T-q3o</youtube>

Latest revision as of 10:35, 15 February 2020

eduroam-TH SP Monitoring firmware installation for DOIT ESP32 DEVKIT V1

DOIT ESP32 DEVKIT V1

DoitESP32devkitV1-300px.png

  • 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
  • Development platform: MicroPython, Arduino

Where to buy

Where to buy

How to flash eduroam-TH SP monitor firmware for DOIT ESP32 DEVKIT V1

System requirement

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

Instruction

  • List of files:
D:\eduroam-TH-firmware\
 - esptool.exe
 - DoITDevKitV1.ps1
 - ESP32-eduroam-mon.ino.doitESP32devkitV1.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: DoITDevKitV1.ps1 and follow the instruction
PS D:\eduroam-TH-firmware> .\DoITDevKitV1.ps1
=====================================================================
=============== eduroam-TH monitoring device flash tool ===============
=======================================================================
1) Connect DoIT ESP32 DevKitV1 to computer
Press Enter to continue...:
  • Connect DOIT ESP32 DEVKIT V1 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: 3c:71:bf:ab:0c:b8 Uploading stub... Running stub... ... Leaving... Hard resetting via RTS pin...
  • Device reboot and running
=======================================================================
4) Disconnect DoIT ESP32 DevKitV1 from computer to stop serial monitor
=======================================================================
eduroam-TH SP monitoring device version 0.30-2019103100 ESP32 Development Board: ESP32_DEV ... 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 DOIT ESP32 DEVKIT V1 from computer

How to use

Power on, Connect successful, Idle mode

Power on, Connect fail

Power on, Reset configuration


MediaWiki spam blocked by CleanTalk.