Sqlite Python Pi | Sqlite With Python Pi | Python Pi Sqlite? | Sqlite In Pi Code | Pi Sqlite Setup Python | Python Pi Uses Sqlite | Pi Sqlite Integration | Sqlite4pi W/python | Log Readings To Sqlite | Log To Sqlite Db | Sqlite Logging Needed | Record In Sqlite | Store Logs Sqlite | Save Logs Sqlite? | Input Data Sqlite | Write Logs Sqlite | Python Sqlite Sensor | Python Sqlite Sensors | Sqlite Sensor Code | Sensor With Sqlite In Py | Py Sqlite Sensor Example | How To Use Sqlite Sensor | Sensors & Sqlite Py | Sqlite Integration W/ Py Sensors | Pi Sqlite Logging | Pi Sqlite Log | Logging With Sqlite Pi | Sqlite Logging On Pi | Pi Sqlite Logging Setup | Sqlite Logging For Pi | Log Pi Using Sqlite | Logging Pi W/sqlite

Raspberry Pi / Python Open Kit Simulator ↗ All recipes
Tip: Ctrl+↵ to run
Python runs in your browser. Hit Run to execute — first run downloads the Python runtime (~10 MB), then it's instant. Note: GPIO calls won't actually toggle your Pi's pins from a browser. Use this to test logic, then run the .py on your Pi.

About this recipe

Libraries / imports

sqlite3 time random

Hardware / pins

DHT22

Key API calls

connect() range() print() sleep()

How to run

Press Run — executes in a Web Worker. Edits auto-save.
Editor python edits auto-save
Output ready
Output will appear here after you click Run.