Difference between revisions of "Pico-WiFi-Air-Monitoring"
From SB-Components Wiki
Line 29: | Line 29: | ||
* open '''"Send_data_Thingspeak.py"''' and edit the below lines: | * open '''"Send_data_Thingspeak.py"''' and edit the below lines: | ||
− | |||
− | |||
− | + | '''WiFi_SSID='WiFi_SSID' # Wifi_SSID''' | |
− | + | '''WiFi_password = 'WiFi_Password' # WiFi Password''' | |
− | API_KEY = "Thingspeak_Write_API"''' | + | '''Port = '80' # Thingspeak port''' |
+ | |||
+ | '''API_KEY = "Thingspeak_Write_API"''' | ||
== Resources == | == Resources == |
Revision as of 10:28, 29 October 2021
Pinout
Installation
MicroPython
- Stack Raspberry Pi Pico on the female header of Pico Air Monitoring Expansion.
- Connect USB cable on Raspberry Pi Pico USB port.
- Choose interpreter as MicroPython (Raspberry Pi pico).
- Download Pico air monitoring expansion repository from the below link:
Source code: https://github.com/sbcshop/Pico-Air-Monitoring-Expansion
- open Thonny IDE and create 3 new files as "ssd1306.py" , "pmsa003.py" and "bme280.py" with the same content of the file you have downloaded from the above repository or you can also save these 3 files in raspberry pi pico from the file menu -> save as and select raspberry pi pico
- open "Send_data_Thingspeak.py" and edit the below lines:
WiFi_SSID='WiFi_SSID' # Wifi_SSID
WiFi_password = 'WiFi_Password' # WiFi Password
Port = '80' # Thingspeak port
API_KEY = "Thingspeak_Write_API"