Difference between revisions of "Pico-WiFi-Air-Monitoring"
From SB-Components Wiki
(Created page with "<div class="row"> <div class="large-8 column"> == Pico Air Monitoring Expansion == === Features === === Specifications === </div> <div class="large-4 column"> File:...") |
|||
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_SSID='WiFi_SSID' # Wifi_SSID | ||
+ | |||
WiFi_password = 'WiFi_Password' # WiFi Password | WiFi_password = 'WiFi_Password' # WiFi Password | ||
+ | |||
Port = '80' # Thingspeak port | Port = '80' # Thingspeak port | ||
+ | |||
API_KEY = "Thingspeak_Write_API"''' | API_KEY = "Thingspeak_Write_API"''' | ||
− | |||
== Resources == | == Resources == |
Revision as of 10:27, 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"