The project aims to install RaspberryPi Pico in DataPi and directly code and learn by connecting embedded sensors, external sensors, and equipment.
Conda is assumed to be installed.
First. Clone this repository:
git clone https://github.com/RegistryHJ/pico-with-data-pi.gitSecond. Create Conda new environment (e.g pico)
conda create -n pico python=3.10Third. Activate environment and Install Dependencies
conda activate pico
pip install -r requirements.txtConfigure is Done.
| File | Description |
|---|---|
| ex01_button.py | Implement Button. |
| ex02_button_toggle.py | Implement Toggle button with state. |
| ex03_button_toggle_irq.py | Implement Toggle button with button handler bind. |
| ex04_neopixel.py | Implement NeoPixel on/off, colors |
| ex05_neopixel_button.py | Implement NeoPixel color change when button pressed |
| ex06_buzzer.py | Implement Buzzer sound with PWM |
| ex07_buzzer_melody.py | Implement Buzzer melody with notes |
| ex08_fan.py | Implement 12V Fan on |
| ex09_fan_button.py | Implement 12V Fan on/off when button pressed |
| ex10_fan_button_count.py | Implement 12V Fan on/delay-off when button pressed |
| ex11_bh1750_sensor.py | Implement Illuminance sensor |
| ex12_aht21_sensor.py | Implement AHT sensor |
| ex13_ens160_sensor.py | Implement Gas Sensor |
| ex14_bh1750_neopixel.py | Implement NeoPixel Illumination with Illuminance sensor |
| ex15_oled.py | Implement OLED display show |
| ex16_data_extract_aht21.py | Implement Data extract with AHT Sensor |
| ex17_oled_aht21_ens160_1.py | Implement OLED display show with 1 AHT Sensor and Gas Sensor |
| ex18_oled_aht21_ens160_2.py | Implement OLED display show with 2 AHT Sensor and Gas Sensor |
| ex19_rtc_sync.py | Implement Sync RTC time with NTP server |
| ex20_data_extract_rtc_aht21.py | Implement Data extract with AHT Sensor and RTC time |
| ex21_colab_with_python.ipynb | Implement Python syntax in colab |
| ex22_matplotlib.ipynb | Implement Matplotlib visualization in colab |
| ex23_matplotlib_aht21.ipynb | Implement Matplotlib visualization with extracted AHT sensor data in colab |
| ex24_data_analysis.ipynb | Implement Data analysis with data.csv extracted by running 1.0.0-release in colab |
| ex25_environment_analysis.ipynb | Implement Plots to compare data_ai.csv and data_multi.csv in colab |