An IoT project using Heltec Wifi Lora 32 (ESP32), include useful online services.
- Support both Wireless modes:
Station
andAccess Point
. - Support web interface to control chipset (through http://192.168.4.1 in
Access Point
mode, or IP Address of chipset inStation
mode). - Modularization the online services (aka plugins) like Weather service, Real Date and Time service,...
- Config Wireless network over web interface (in both
Access Point
mode andStation
mode. - Schedule to do some actions when time triggered (Cron-Job).
- Bluetooth ideas.
- Control via web-socket.
- ...
- Clone latest firmware (*.bin) file from this repository then use
esptool.py
command to flash firmware into chipset:
git clone https://github.com/dphans/Wi-Kit.git
cd Wi-Kit
esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART --baud 921600 --before default_reset --after hard_reset write_flash -z 0x1000 bootloader.bin 0x8000 partitions.bin 0xe000 boot_app0.bin 0x10000 wikit_firmware_*
cd ..
rm -rf Wi-Kit
Please note that need to change correct port of your USB connection. In bash script above, I'm using /dev/tty.SLAB_USBtoUART
, it may be difference with your computer.
- Connect chipset to power supply.
- After boot screen. Press
PRG
button for 2 seconds (until screen shownAP Mode
). In this time, Wi-Kit will switch intoAccess Point
mode. You will found a new Wireless network nearby with nameWi-Kit
. - Connect to
Wi-Kit
with default password:12345678
. - After connect successfully, open http://192.168.4.1 to enter setup page.
- On top menu, click on Network Settings.
- Enter your SSID and wifi password, then click Update to save.
- Click on Restart Device to restart Wi-Kit or press
RST
button on board to hard restart device. - Now Wi-Kit will connect to your wireless network, you're ready to go!