~/talk

Building your First IoT Application with Flask and Micro-Python

Talkat PyCon Colombia 2021 · 2021-06-19..06-20· [iot, python]
links:none on file
slides:none on file

Builds a working pipeline: an ESP32 dev kit flashed with MicroPython, edited via Visual Studio Code + Pymakr/mp; uses Pin and ADC to read a potentiometer every second, connects as WLAN station, and sends GET requests with microrequests — must call response.close or the device runs out of sockets (observed limit ~13). Runs a Flask app (static IP) that records readings into SQLite via Flask-SQLAlchemy; readings appear in the web table and .db file. Suggests switching to POST, MQTT/broker, cloud, dashboards, or edge ML next.

AI-written summary · about

  1. 0:00Introduction to IoT workshop
  2. 1:06Workshop flow overview
  3. 2:09What is IoT and its power
  4. 2:52Setting up MicroPython environment
  5. 4:16Blinking LED with MicroPython
  6. 5:59Connecting to Wi-Fi with MicroPython
  7. 7:23Understanding boot.py and main.py
  8. 8:31Using ADC with MicroPython
  9. 9:34IoT protocols overview
  10. 10:59Making HTTP requests with MicroPython
  11. 11:46Setting up Flask application
  12. 13:08Flask app structure and templates
  13. 14:54Testing Flask app manually
  14. 15:58MicroPython class for sensor data
  15. 18:03MicroPython main function
  16. 19:50Viewing sensor data in Flask
  17. 20:14Adding SQLite database
  18. 21:40Saving data to database
  19. 22:45Exploring SQLite database
  20. 23:51Next steps for your application
  21. 26:02Future possibilities and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.