Difference between revisions of "Pico-Air-Monitoring"
From SB-Components Wiki
(Created page with "<div class="row"> <div class="large-8 column"> == Pico RTC HAT == === Features === === Specifications === </div> <div class="large-4 column"> File:Pico_RTC.png|thum...") |
|||
Line 25: | Line 25: | ||
[[File:Thonny-interpreter.PNG|600px]] | [[File:Thonny-interpreter.PNG|600px]] | ||
* Download Pico air monitoring expansion repository from the below link: | * Download Pico air monitoring expansion repository from the below link: | ||
− | Source code : https://github.com/sbcshop/Pico-Air-Monitoring-Expansion | + | Source code: https://github.com/sbcshop/Pico-Air-Monitoring-Expansion |
− | * open Thonny IDE and create 2 new | + | * open Thonny IDE and create 2 new files as ssd1306.py and pmsa003.py with the same content of the file you have downloaded from the above repository or you can also save these 2 files in raspberry pi pico from the file menu -> save as and select raspberry pi pico |
+ | * now open Board_Test.py file in thonny IDE and click on green play button to run the code. it will display the value of PM 1.0, PM 2.5 and PM 10 on 0.91 inch oled display. | ||
+ | |||
== Resources == | == Resources == |
Revision as of 10:15, 29 October 2021
Pinout
Installation
MicroPython
- Stack Raspberry Pi Pico on female header of Pico Air Monitoring Expansion.
- 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 2 new files as ssd1306.py and pmsa003.py with the same content of the file you have downloaded from the above repository or you can also save these 2 files in raspberry pi pico from the file menu -> save as and select raspberry pi pico
- now open Board_Test.py file in thonny IDE and click on green play button to run the code. it will display the value of PM 1.0, PM 2.5 and PM 10 on 0.91 inch oled display.