Blynk and Micropython on WiPy 2.0/3.0 and ESP32 for home automation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
BlynkLibESP32.py
BlynkLibWiPy.py
LICENSE
README.md
main.py
pymakr.conf

README.md

uPyBlynk

This project is about controlling a WiPy 2.0/3.0 or an ESP32 running MicroPython with Blynk.

Instructions

Android

  1. Install the Android or iOS application
  2. Create a New Project and choose as device the WiPy
  3. Copy the auth token

WiPy 3.0 / 2.0

  1. Rename and upload the boot.py file to the WiPy to connect your WI-FI. Do not forget to change the <wlan-ssid> and <wlan-password> with your SSID and the WPA2 password of your router
  2. Change the auth token inside the main.py file
  3. Upload the BlynkLibWiPy.py and the main.py files to the WiPy
  4. Reboot the WiPy.

Check the WiPy 3.0 / 2.0 pinout here.

If you need some help to upload the files to the WiPy, follow this tutorial.

ESP32

  1. Install MicroPython following this tutorial.
  2. Rename and upload the boot.py file to the ESP32 to connect your WI-FI. Do not forget to change the <wlan-ssid> and <wlan-password> with your SSID and the WPA2 password of your router
  3. Change the auth token inside the main.py file, and switch the corresponding imports
  4. Upload the BlynkLibESP32.py and the main.py files to the ESP32
  5. Reboot the ESP32.

Check the ESP32 pinout here.

Additional Configuration

Changelog

  • Revision 0.1a
    • it is still buggy
    • PWM, ADC, DO, DI working - some pins are not available

Credits