{"id":35944,"date":"2022-07-01T08:00:06","date_gmt":"2022-07-01T06:00:06","guid":{"rendered":"https:\/\/botland.com.pl\/blog\/?p=35944"},"modified":"2023-05-24T10:10:28","modified_gmt":"2023-05-24T08:10:28","slug":"projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811","status":"publish","type":"post","link":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/","title":{"rendered":"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Czas czytania:<\/span> <span class=\"rt-time\"> 4<\/span> <span class=\"rt-label rt-postfix\">min.<\/span><\/span>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"35944\" class=\"elementor elementor-35944\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-55b5aa4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"55b5aa4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-56d6701\" data-id=\"56d6701\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2407f84 elementor-widget elementor-widget-text-editor\" data-id=\"2407f84\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Problem z\u0142ej jako\u015bci powietrza pojawia si\u0119 sezonowo jak katar i kaszel, szczeg\u00f3lnie w okresie grzewczym. Sprawa jest zatem istotna, i by\u0107 mo\u017ce warto rozwa\u017cy\u0107 zainteresowanie sk\u0142adem mieszanki gaz\u00f3w, kt\u00f3re bezustannie wype\u0142nia nasze p\u0142uca.\u00a0<\/p><p>W dzisiejszym poradniku przedstawimy jak uzyska\u0107 pomiar czujnikiem jako\u015bci powietrza CCS811 w po\u0142\u0105czeniu z platformami <a href=\"https:\/\/botland.com.pl\/399-raspberry-pi\" data-wpel-link=\"internal\">Raspberry Pi<\/a>. Artyku\u0142 dotyczy p\u0142ytek Raspberry Pi 4, 3B+, 3B, 3A+, II, B, Zero oraz Zero W. Om\u00f3wimy zar\u00f3wno aspekty sprz\u0119towe jak i oprogramowanie. Zainteresowani? Zapraszamy do lektury!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-681471e elementor-align-center elementor-widget elementor-widget-button\" data-id=\"681471e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/botland.com.pl\/399-raspberry-pi\" data-wpel-link=\"internal\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Raspberry Pi - Zobacz ceny<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d0e9472 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d0e9472\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0952d86\" data-id=\"0952d86\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30efeba elementor-widget elementor-widget-spacer\" data-id=\"30efeba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e6007c7 elementor-widget elementor-widget-heading\" data-id=\"e6007c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Czujnik CCS811<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-095d67f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"095d67f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d178b99\" data-id=\"d178b99\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4916c52 elementor-widget elementor-widget-text-editor\" data-id=\"4916c52\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Je\u015bli kwestia jako\u015bci powietrza nie jest Wam oboj\u0119tna, <a href=\"https:\/\/botland.com.pl\/czujniki-czystosci-powietrza\/16798-ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-5904422307165.html\" data-wpel-link=\"internal\">modu\u0142 z czujnikiem CCS811<\/a> b\u0119dzie czym\u015b co z pewno\u015bci\u0105 wzbudzi Wasze zainteresowanie. Umo\u017cliwia on bowiem <b>pomiar dwutlenku w\u0119gla i jako\u015bci powietrza<\/b>.\u00a0<span style=\"color: #4f5b62; font-family: Roboto; font-size: 17px; letter-spacing: -0.27px;\">Czujnik do komunikacji <b>wykorzystuje interfejs\u00a0<\/b><\/span><span style=\"color: #4f5b62; font-family: Roboto; font-size: 17px; letter-spacing: -0.27px;\"><b>I2C<\/b>, kt\u00f3ry zapewnia wygodny przesy\u0142 danych.<\/span><span style=\"color: #4f5b62; font-family: Roboto; font-size: 17px; letter-spacing: -0.27px;\">\u00a0Na p\u0142ytce znajduj\u0105 si\u0119 specjalnie przygotowane z\u0142\u0105cza do lutowania gdzie nale\u017cy zamocowa\u0107 wyprowadzenia sygna\u0142owe. Jest <b>zasilany niskimi warto\u015bciami napi\u0119cia<\/b>, to\u017csamymi w najpopularniejszymi platformami sprz\u0119towymi i minikomputerami.\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-035a973 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"035a973\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-9978ba8\" data-id=\"9978ba8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fbd3c4b elementor-widget elementor-widget-image\" data-id=\"fbd3c4b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-300x300.jpg\" class=\"attachment-medium size-medium wp-image-35948\" alt=\"czujnik CSS811\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-300x300.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-1024x1024.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-150x150.jpg 150w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-768x768.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza.jpg 1080w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d5f2b3e elementor-align-center elementor-widget elementor-widget-button\" data-id=\"d5f2b3e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/botland.com.pl\/czujniki-czystosci-powietrza\/16798-ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-5904422307165.html\" data-wpel-link=\"internal\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">SPRAWD\u0179<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-9105e61\" data-id=\"9105e61\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a485872 elementor-widget elementor-widget-text-editor\" data-id=\"a485872\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Najwa\u017cniejsze cechy czujnika SS-CCS811:<\/p><ul><li>Napi\u0119cie zasilania: od 3,3 V do 5 V<\/li><li>Temperatura pracy: od -40\u00b0C do 85\u00b0C<\/li><li>Zakres pomiaru CO<sub>2<\/sub>e<sub>:<\/sub>\u00a0od 400 ppm do 29206 ppm<\/li><li>Zakres pomiaru TVOC: od 0 ppb do 32768 ppb<\/li><li>Du\u017ce z\u0142\u0105cza lutownicze: 2,54 mm<\/li><li>Kompatybilno\u015b\u0107 z p\u0142ytkami\u00a0<a href=\"https:\/\/botland.com.pl\/234-arduino\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\">Arduino<\/a>,\u00a0<a href=\"https:\/\/botland.com.pl\/399-raspberry-pi\" target=\"_blank\" rel=\"noopener noreferrer\" data-wpel-link=\"internal\">Raspberry Pi<\/a>\u00a0<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fa24a0e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fa24a0e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6ff3885\" data-id=\"6ff3885\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-92b0094 elementor-widget elementor-widget-spacer\" data-id=\"92b0094\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b8ea465 elementor-widget elementor-widget-heading\" data-id=\"b8ea465\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Raspberry Pi: konfiguracja i wst\u0119pne przygotowanie oprogramowania<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8f2ecf7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8f2ecf7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-868b4d5\" data-id=\"868b4d5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bcb0936 elementor-widget elementor-widget-text-editor\" data-id=\"bcb0936\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>No to przechodzimy do konkret\u00f3w. Poni\u017cej znajduje si\u0119 lista dzia\u0142a\u0144, kt\u00f3re nale\u017cy wykona\u0107 w projekcie:<\/p><p>A. W\u0142\u0105cz kana\u0142 I2C 1 w Raspberry PI<br \/>\u2003 a. <span style=\"color: #993300;\"><i>sudo raspi-config<\/i><\/span><br \/>\u2003\u2003\u2003\u2003\u2003\u2003 menu F5 =&gt; wybierz opcj\u0119 w\u0142\u0105cz I2C<br \/>\u2003\u2003\u2003\u2003\u2003\u2003 zapisz, wyjd\u017a.<br \/>\u2003\u2003 <span style=\"color: #993300;\"><i>sudo reboot now<\/i><\/span><\/p><p>\u2003 b. edytuj plik <i>\/boot\/config.txt<\/i> i dodaj\/w\u0142\u0105cz nast\u0119puj\u0105ce dyrektywy:<br \/>\u2003\u2003\u2003\u2003\u2003\u2003<span style=\"color: #993300;\"><i>dtparam=i2c_arm=on<\/i><\/span><br \/>\u2003\u2003\u2003\u2003\u2003\u2003<span style=\"color: #993300;\"><i>dtparam=i2c_arm_baudrate=10000<\/i><\/span><br \/>\u2003\u2003 zapisz, a nast\u0119pnie uruchom ponownie RPI<\/p><p>B. Sprawd\u017a, czy I2C jest za\u0142adowany: <span style=\"color: #993300;\"><em>ls \/dev\/*i2c*<\/em><\/span>. To polecenie powinno wy\u015bwietli\u0107 co\u015b takiego: <span style=\"color: #000000;\"><em>\/dev\/i2c-1<\/em><\/span><\/p><p>C. Sprawd\u017a komunikacj\u0119 I2C czujnika [CCS811 powinien by\u0107 pod\u0142\u0105czony, patrz okablowanie w nast\u0119pnym rozdziale]. Uruchom polecenie <span style=\"color: #800000;\"><i>i2cdetect -y 1<\/i><\/span>. Na wyj\u015bciu polecenia powiniene\u015b zobaczy\u0107 wylistowany domy\u015blny adres s-Sense CCS811 I2C 0x5A.<\/p><p>D. Zainstaluj wymagane pakiety Pythona<br \/>\u2003 a. wpisz polecenie\u00a0<span style=\"color: #800000;\"><em>sudo apt-get install python-setuptools<\/em><\/span><br \/>\u2003 b. nast\u0119pnie wpisz\u00a0<span style=\"color: #800000;\"><em>wget https:\/\/files.pythonhosted.org\/packages\/6a\/06\/80a6928e5cbfd40c77c08e06ae9975c2a50109586ce66435bd8166ce6bb3\/smbus2-0.3.0.tar.gz <\/em><\/span>*<br \/>\u2003 c. Rozpakuj pobrane archiwum <span style=\"color: #800000;\"><em>tar.gz. tar -xf smbus2-0.3.0.tar.gz<\/em><\/span> wykona zadanie.<br \/>\u2003 d. <span style=\"color: #800000;\"><em>chdir smbus2-0.3.0<\/em><\/span><br \/>\u2003 e. <em><span style=\"color: #800000;\">sudo python setup.py install<\/span><\/em><\/p><p><span style=\"color: #000000;\">* pakiet python-smbus2 jest r\u00f3wnie\u017c dost\u0119pny tutaj: <a href=\"http:\/\/* pakiet python-smbus2 jest r\u00f3wnie\u017c dost\u0119pny tutaj: https:\/\/itbrainpower.net\/downloadables\/smbus2-0.3.0.tar.gz\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">https:\/\/itbrainpower.net\/downloadables\/smbus2-0.3.0.tar.gz<\/a><\/span><em><br \/><\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-982d2b4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"982d2b4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0cc1cbe\" data-id=\"0cc1cbe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-23a75ca elementor-widget elementor-widget-spacer\" data-id=\"23a75ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0377af2 elementor-widget elementor-widget-heading\" data-id=\"0377af2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Pod\u0142\u0105czenie Raspberry Pi do czujnika CCS811<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b6e5ebf elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b6e5ebf\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-075f98d\" data-id=\"075f98d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-546fc1c elementor-widget elementor-widget-text-editor\" data-id=\"546fc1c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Wszystkie wskaz\u00f3wki dotycz\u0105ce okablowania s\u0105 przyk\u0142adami dla Raspberry Pi 4, 3B+, 3B, 3A+, II, B, Zero i Zero W. Konwencja nazewnictwa GPIO u\u017cywana w opisie okablowania i w oprogramowaniu to &#8220;numer pinu GPIO&#8221; &#8211; GPIO.setmode(GPIO.BOARD). W skr\u00f3cie, okablowanie nale\u017cy wykona\u0107 jak poni\u017cej:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-74858ad elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"74858ad\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8872cf6\" data-id=\"8872cf6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a35684b elementor-widget elementor-widget-text-editor\" data-id=\"a35684b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<table class=\"wiring\"><tbody><tr><th width=\"40%\">Pady (pola lutownicze) CCS811<\/th><th width=\"40%\">numer pinu GPIO Raspberry Pi\u00a0<\/th><th>funkcja pinu Raspberry Pi\u00a0<\/th><\/tr><tr><td>Vin<\/td><td><i>GPIO pin nr. 01 *<\/i><\/td><td><i>RPi 3.3V *<\/i><\/td><\/tr><tr><td>Vdd (3V3)<\/td><td>nie pod\u0142\u0105cza\u0107<\/td><td>nie pod\u0142\u0105cza\u0107<\/td><\/tr><tr><td>SDA<\/td><td>GPIO pin nr. 03<\/td><td>SDA<\/td><\/tr><tr><td>SCL<\/td><td>GPIO pin nr. 05<\/td><td>SCL<\/td><\/tr><tr><td>GND<\/td><td>GPIO pin nr. 09<\/td><td>GND<\/td><\/tr><tr><td>Pad 6, na spodzie p\u0142ytki [CCS811 !WAKE]**<\/td><td>GPIO pin nr. 25 \/ GPIO pin nr. 22<\/td><td>GND \/ GPIO<\/td><\/tr><tr><td>Pad 7, na spodzie p\u0142ytki [CCS811 !RESET]***<\/td><td>nie pod\u0142\u0105czony \/ GPIO pin no. 07<\/td><td>&#8211; \/ GPIO<\/td><\/tr><\/tbody><\/table>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-440e6e4 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"440e6e4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-89d8dc3\" data-id=\"89d8dc3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-84e90e9 elementor-widget elementor-widget-text-editor\" data-id=\"84e90e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>* zasilanie czujnika &#8211;&gt; aby oszcz\u0119dzi\u0107 Rpi 3V3, przeczytaj jak zasili\u0107 czujnik I2C z pinu 5V Rasberry Pi, ale maj\u0105c referencj\u0119 I2C na 3.3V!\u00a0<\/p><p><b>Nie zasilaj czujnika napi\u0119ciem 5V, dop\u00f3ki nie dowiesz si\u0119, co dok\u0142adnie robisz! Uszkodzisz swoj\u0105 p\u0142ytk\u0119 RaspberryPI!<\/b><\/p><p><span style=\"font-size: 1rem;\">**\u00a0 \u00a0 sensor !WAKE &#8212; Wej\u015bcie steruj\u0105ce dla trybu SLEEP\/RUN, czujnik jest w trybie SLEEP je\u015bli !WAKE jest na poziomie HIGH<\/span><\/p><ol><li>Pod\u0142\u0105czony do pinu RPI nr 25 [GND], CCS811 b\u0119dzie stale w trybie RUN.<\/li><li>Pod\u0142\u0105czony do pinu RPI nr 22, tryb pracy CCS811 b\u0119dzie kontrolowany programowo.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fa3ad09 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fa3ad09\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-053c7ba\" data-id=\"053c7ba\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0677994 elementor-widget elementor-widget-text-editor\" data-id=\"0677994\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>***\u00a0 \u00a0 czujnik !RESET &#8212; wej\u015bcie &#8211; reset sprz\u0119towy CCS811 &#8211; czujnik jest inicjalizowany, je\u015bli !RESET jest ustawiony w pozycji LOW<\/p><ol><li>Je\u015bli jest pod\u0142\u0105czony do pinu RPI nr 07, aplikacja Pythona u\u017cyje sprz\u0119towego resetu &#8211; patrz &#8220;ccs811_param.py&#8221; w nast\u0119pnym rozdziale.\u00a0\u00a0<\/li><li>Je\u015bli NIE jest pod\u0142\u0105czony, program u\u017cyje zamiast tego &#8220;polecenia resetowania programowego&#8221; &#8211; patrz &#8220;ccs811_param.py&#8221; w nast\u0119pnym rozdziale.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-411de43 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"411de43\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bbda287\" data-id=\"bbda287\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1a3c73c elementor-widget elementor-widget-text-editor\" data-id=\"1a3c73c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Poni\u017cej przedstawiono podstawowe okablowanie czujnika CCS811 do Raspberry Pi z bezpiecznym zasilaniem czujnika z pinu 3.3V Raspberry Pi:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4911771 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4911771\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0225132\" data-id=\"0225132\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5607003 elementor-widget elementor-widget-image\" data-id=\"5607003\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t<figure class=\"wp-caption\">\n\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"534\" src=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/CCS811_RaspberryPI_PL-1024x683.jpg\" class=\"attachment-large size-large wp-image-35955\" alt=\"\" srcset=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/CCS811_RaspberryPI_PL-1024x683.jpg 1024w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/CCS811_RaspberryPI_PL-300x200.jpg 300w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/CCS811_RaspberryPI_PL-768x512.jpg 768w, https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2022\/07\/CCS811_RaspberryPI_PL.jpg 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t<figcaption class=\"widget-image-caption wp-caption-text\">Schemat pod\u0142\u0105czenia Raspberry Pi do czujnika CCS811<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9a11a34 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9a11a34\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9417517\" data-id=\"9417517\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0ee5933 elementor-widget elementor-widget-spacer\" data-id=\"0ee5933\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a7f5715 elementor-widget elementor-widget-heading\" data-id=\"a7f5715\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Oprogramowanie Python do czujnika CCS811<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cdcfa93 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cdcfa93\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b60c264\" data-id=\"b60c264\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-955f0dd elementor-widget elementor-widget-text-editor\" data-id=\"955f0dd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>a. Pobierz bibliotek\u0119 CCS811 Raspberry Pi Python. Mo\u017cesz to zrob\u0107\u00a0<a href=\"https:\/\/itbrainpower.net\/downloadables\/sSense-CCS811-python.tar.gz\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">tutaj<\/a>.<\/p><p>b. Rozpakuj archiwum tar.gz. Nast\u0119pnie przejd\u017a do nowo utworzonego folderu.<\/p><p>c. Skopiuj poni\u017cszy kod, wklej go do nowego pliku i zapisz plik jako &#8220;ccs811_simple.py&#8221; w folderze z bibliotekami pythona. Pobierz go st\u0105d (kliknij prawym przyciskiem myszy i wybierz opcj\u0119 zapisz jako): CCS811 &#8211; <a href=\"https:\/\/itbrainpower.net\/downloadables\/ccs811_simple.py\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">Raspberry Pi. Odczyt danych z czujnika &#8211; Python<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-82950a1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"82950a1\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0e72372\" data-id=\"0e72372\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0d531d0 elementor-widget elementor-widget-code-highlight\" data-id=\"0d531d0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-default copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-python line-numbers\">\n\t\t\t\t<code readonly=\"true\" class=\"language-python\">\n\t\t\t\t\t<xmp>\"\"\"\r\ns-Sense CCS811 by itbrainpower.net I2C sensor breakout example - v1.0\/20200218. \r\n\r\nCompatible with:\r\n\t\ts-Sense CCS811 I2C sensor breakout [PN: SS-CCS811#I2C, SKU: ITBP-6004], info https:\/\/itbrainpower.net\/sensors\/CCS811-CO2-TVOC-I2C-sensor-breakout \r\n\t\ts-Sense CCS811 + HDC2010 I2C sensor breakout [PN: SS-HDC2010+CCS811#I2C, SKU: ITBP-6006], info https:\/\/itbrainpower.net\/sensors\/CCS811-HDC2010-CO2-TVOC-TEMPERATURE-HUMIDITY-I2C-sensor-breakout\r\n\t\tall Raspberry PI, using Python 2.7\r\n\r\nReading CO2 and tVOC values example (pulling at 2sec) - based on test software (Beerware license) written by Nathan Seidle from SparkFun Electronics. \r\nThank you Nathan! Great job! \r\n \r\nWe've ported Nathan's functions into python, add some variables, functions and functionalities.                \r\n\r\n\r\nMandatory wiring [bellow for RPi B\/B+\/II\/3B\/3B+\/4\/Zero\/Zero W]:\r\n        - sensor Vin            <------> RPI pin 1 [3V3 power] *\r\n        - sensor I2C SDA        <------> RPI pin 3 [i2c-1 SDA]\r\n        - sensor I2C SCL        <------> RPI pin 5 [i2c-1 SCL]\r\n        - sensor GND            <------> RPI pin 9 [GND]\r\n        - sensor PAD6 [!WAKE]   <------> RPI pin 6 [GND] ** or RPI pin 22 [GPIO25] ***\r\n\r\nOptional wiring:\r\n        - sensor PAD7 [!RESET]  <------> RPI pin 7 [GPIO4] ****\r\n\r\nWiring notes:\r\n        *    to spare 3V3 power - read about RPI I2C sensors 5V powering\r\n        **   if connected to GND, CCS811 will be always WAKE\r\n        ***  if connected to RPI pin 22, CCS811 can be switched in WAKE\/SLEEP mode - handled inside library \r\n        **** if RESET is not conneted, only CCS811 software reset will be available in application. \r\n        common ==> check ccs811_param.py file for WAKE and RESET options! \r\n\r\nWIRING WARNING:\r\n        Wrong wiring may damage your RaspberryPI or your sensor! Double check what you've done.\r\n\r\n\r\nIMPORTANT INFO:       \r\n        New CCS811 sensors requires 48 hours burn in. After that readings should be considered good after 20 minutes of running.\r\n\r\n\r\nCCS811 definitions are placed in ccs811_param.py\r\n\r\n\r\nBellow, how to set-up i2c on RPi and install requiered python packages and other utilities.\r\n\r\nEnable I2C channel 1\r\n        a. sudo raspi-config\r\n                menu F5\t\t=> \tenable I2C\r\n                save, exit and reboot.\r\n        \r\n        \r\n        b. edit \/boot\/config.txt and add\/enable following directives:\r\n               dtparam=i2c_arm=on\r\n               dtparam=i2c_arm_baudrate=10000\r\n\r\n           save and reboot.\r\n\r\nCheck i2c is loaded:\r\n        run: ls \/dev\/*i2c*\r\n        should return: \/dev\/i2c-1\r\n\r\nAdd i2c-tools packages:\r\n        sudo apt-get install -y i2c-tools\r\n\r\nCheck sensor I2C connection:\r\n        run: i2cdetect -y 1\r\n        you should see listed the s-Sense CCS811 I2C address [0x5A]\r\n\r\nInstall additional python packages:\r\n        a. sudo apt-get install python-setuptools\r\n        b. wget https:\/\/files.pythonhosted.org\/packages\/6a\/06\/80a6928e5cbfd40c77c08e06ae9975c2a50109586ce66435bd8166ce6bb3\/smbus2-0.3.0.tar.gz\r\n        c. expand archive\r\n        d. chdir smbus2-0.3.0\r\n        e. sudo python setup.py install\r\n\r\n\r\nYou are legaly entitled to use this SOFTWARE ONLY IN CONJUNCTION WITH s-Sense CCS811 I2C sensors DEVICES USAGE. Modifications, derivates and redistribution \r\nof this software must include unmodified this COPYRIGHT NOTICE. You can redistribute this SOFTWARE and\/or modify it under the terms \r\nof this COPYRIGHT NOTICE. Any other usage may be permited only after written notice of Dragos Iosub \/ R&D Software Solutions srl.\r\n\r\nThis SOFTWARE is distributed is provide \"AS IS\" in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY \r\nor FITNESS FOR A PARTICULAR PURPOSE.\r\n\r\n\r\nitbrainpower.net invests significant time in design phase of our IoT products and in associated software and support resources.\r\nSupport us by purchasing our environmental and air quality sensors from here https:\/\/itbrainpower.net\/order#s-Sense\r\n\r\n\r\nDragos Iosub, Bucharest 2020.\r\nhttps:\/\/itbrainpower.net\r\n\"\"\"\r\n\r\nfrom time import sleep\r\nfrom ccs811 import *\r\n\r\n\r\nccs811Begin(CCS811_driveMode_1sec)                                      #start CCS811, data update rate at 1sec\r\n\r\nwhile(1):\r\n        ccs811SetEnvironmentalData(21.102, 57.73)                       #replace with temperature and humidity values from HDC2010 sensor\r\n\r\n        if ccs811CheckDataAndUpdate():\r\n                CO2 = ccs811GetCO2()\r\n                tVOC = ccs811GetTVOC()\r\n                print \"CO2 : %d ppm\" %CO2\r\n                print \"tVOC : %d ppb\" %tVOC\r\n        elif ccs811CheckForError():\r\n                ccs811PrintError()\r\n\r\n        sleep(2)\r\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d8e1fa6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d8e1fa6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ad05fe6\" data-id=\"ad05fe6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-de39275 elementor-widget elementor-widget-text-editor\" data-id=\"de39275\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>c&#8217;. Poprzedni kod jest do\u0142\u0105czony do pakietu bibliotek CCS811 Raspberry Pi Python.<\/p><p>d. Sprawd\u017a parametry CCS811 w pliku &#8220;ccs811_param.py&#8221;. Uruchom kod CCS811 za pomoc\u0105 polecenia &#8220;<span style=\"color: #800000;\"><em>python ccs811_simple.py<\/em><\/span>&#8220;.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a36402c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a36402c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1e3a4b9\" data-id=\"1e3a4b9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-71ad696 elementor-widget elementor-widget-heading\" data-id=\"71ad696\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Wskaz\u00f3wki<\/h5>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fb3ce5a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fb3ce5a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b5e6f56\" data-id=\"b5e6f56\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7215ca7 elementor-widget elementor-widget-text-editor\" data-id=\"7215ca7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>je\u015bli zaktualizujesz kod wewn\u0105trz pliku &#8220;ccs811_param.py&#8221;, przed jego uruchomieniem uruchom narz\u0119dzie &#8220;.\/clean&#8221;, aby usun\u0105\u0107 prekompilowane pliki Pythona.<\/li><li>Aby przeliczy\u0107 jednostki pomiarowe i inne, u\u017cyj funkcji zawartych w bibliotece Pythona <a href=\"https:\/\/itbrainpower.net\/downloadables\/sSense-air-quality-utils-python.zip\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">s-Sense air quality utils<\/a>.<\/li><li>je\u015bli zdecydujesz si\u0119 nie pod\u0142\u0105cza\u0107 sygna\u0142u CCS811 !RESET, sprawd\u017a czy wewn\u0105trz pliku ccs811_param.py linia zaczynaj\u0105ca si\u0119 od CCS811_RESET_PIN jest zakomentowana.<\/li><li>je\u015bli zdecydujesz si\u0119 na okablowanie sygna\u0142u CCS811 !RESET, zweryfikuj wewn\u0105trz ccs811_param.py, czy linia zaczynaj\u0105ca si\u0119 od CCS811_RESET_PIN NIE jest zakomentowana (i sprawd\u017a, czy nie ma odpowiedniego numeru pinu RPI CCS811_RESET_PIN).<\/li><li>je\u015bli zdecydujesz si\u0119 nie sterowa\u0107 CCS811 w trybie SLEEP\/RUN &#8211; pod\u0142\u0105cz sygna\u0142 CCS811 !WAKE do masy RPI, sprawd\u017a w ccs811_param.py, czy linia zaczynaj\u0105ca si\u0119 od CCS811_WAKE_PIN nie jest zakomentowana.<\/li><li>je\u015bli zdecydujesz si\u0119 na pod\u0142\u0105czenie sygna\u0142u CCS811 !WAKE do RPI GPIO &#8211; CCS811 SLEEP\/RUN sterowany programowo, sprawd\u017a wewn\u0105trz ccs811_param.py, czy linia zaczynaj\u0105ca si\u0119 od CCS811_WAKE_PIN NIE jest zakomentowana (i sprawd\u017a, czy nie ma odpowiedniego numeru pinu CCS811_RESET_PIN RPI).<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c2990c9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c2990c9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4206a4f\" data-id=\"4206a4f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-13b1862 elementor-widget elementor-widget-spacer\" data-id=\"13b1862\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4ab8c59 elementor-widget elementor-widget-heading\" data-id=\"4ab8c59\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Zaawansowana funkcjonalno\u015b\u0107 czujnika CCS811 przy Raspberry Pi<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-39f83cd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39f83cd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cc58a9e\" data-id=\"cc58a9e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dab3625 elementor-widget elementor-widget-text-editor\" data-id=\"dab3625\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Ostatnim punktem jest odczyt danych dotycz\u0105cych st\u0119\u017cenia dwutlenku w\u0119gla przy u\u017cyciu zewn\u0119trznego \u017ar\u00f3d\u0142a danych temperatury i wilgotno\u015bci.\u00a0<span style=\"font-size: 1rem;\"><a href=\"https:\/\/botland.com.pl\/czujniki-czystosci-powietrza\/16798-ss-ccs811-i2c-czujnik-dwutlenku-wegla-i-jakosci-powietrza-5904422307165.html\" data-wpel-link=\"internal\">Uk\u0142ad CCS811<\/a> ma kilka ciekawych funkcji (zach\u0119camy do samodzielnego przeczytania noty katalogowej) &#8211; jedn\u0105 z nich jest kompensacja dryftu temperaturowego.<\/span><\/p><p>W skr\u00f3cie, firmware CCS811 u\u017cywa danych o zewn\u0119trznej temperaturze i wilgotno\u015bci jako \u017ar\u00f3d\u0142a danych dla algorytmu kompensacji odczytu.\u00a0<span style=\"font-size: 1rem;\">Aby zaimplementowa\u0107 t\u0119 funkcj\u0119, <b>wystarczy u\u017cy\u0107 w linii 99 danych dostarczanych przez zewn\u0119trzny czujnik THS<\/b>. Naszym zdaniem warto spr\u00f3bowa\u0107.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c59cca3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c59cca3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0a1d74f\" data-id=\"0a1d74f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-eda1a04 elementor-widget elementor-widget-text-editor\" data-id=\"eda1a04\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><em>Artyku\u0142 opublikowany&nbsp;<\/em><em>za zgod\u0105<\/em><em>: <a href=\"http:\/\/itbrainpower.net\/\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow external noopener noreferrer\">itbrainpower.net<\/a>&nbsp;<\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi jest \u015bwietn\u0105 baz\u0105 pod r\u00f3\u017cne projekty &#8211; stacje pogodowe, roboty, systemy automatyzacji i nie tylko. Dzi\u015b dowiecie si\u0119 jak u\u017cywaj\u0105c Raspberry Pi mierzy\u0107 jako\u015b\u0107 powietrza z czujnikiem CSS811.<\/p>\n","protected":false},"author":20,"featured_media":63447,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[134],"tags":[49,192,147,206],"class_list":["post-35944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi","tag-czujniki","tag-diy","tag-elektronika","tag-moduly"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland<\/title>\n<meta name=\"description\" content=\"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland\" \/>\n<meta property=\"og:description\" content=\"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/\" \/>\n<meta property=\"og:site_name\" content=\"Botland\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/Botland\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-01T06:00:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-24T08:10:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1510\" \/>\n\t<meta property=\"og:image:height\" content=\"755\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Maciej Figiel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Maciej Figiel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/\"},\"author\":{\"name\":\"Maciej Figiel\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/person\\\/a8e66118d1f27ebf9f540831e5a3283b\"},\"headline\":\"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811\",\"datePublished\":\"2022-07-01T06:00:06+00:00\",\"dateModified\":\"2023-05-24T08:10:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/\"},\"wordCount\":1196,\"publisher\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg\",\"keywords\":[\"czujniki\",\"DIY\",\"elektronika\",\"modu\u0142y\"],\"articleSection\":[\"Raspberry Pi\"],\"inLanguage\":\"pl-PL\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/\",\"name\":\"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg\",\"datePublished\":\"2022-07-01T06:00:06+00:00\",\"dateModified\":\"2023-05-24T08:10:28+00:00\",\"description\":\"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#primaryimage\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg\",\"width\":1510,\"height\":755},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Projekty z&nbsp;Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/botland.de\\\/blog\\\/\",\"name\":\"Botland\",\"description\":\"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland\",\"publisher\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/botland.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#organization\",\"name\":\"Botland\",\"url\":\"https:\\\/\\\/botland.de\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"contentUrl\":\"https:\\\/\\\/botland.store\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/04\\\/logo_kolor_WP_2-1.png\",\"width\":250,\"height\":57,\"caption\":\"Botland\"},\"image\":{\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/Botland\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/botland.de\\\/blog\\\/#\\\/schema\\\/person\\\/a8e66118d1f27ebf9f540831e5a3283b\",\"name\":\"Maciej Figiel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Image-from-iOS-150x150.jpg\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Image-from-iOS-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/Image-from-iOS-150x150.jpg\",\"caption\":\"Maciej Figiel\"},\"description\":\"Wszechstronny, ch\u0119tnie podejmuje si\u0119 wyzwa\u0144, bo uwa\u017ca, \u017ce jest to najszybsza droga ku rozwojowi. Ceni sobie kontakt z natur\u0105 i aktywny wypoczynek. Pasjonat motoryzacji i nowych technologii.\",\"url\":\"https:\\\/\\\/botland.com.pl\\\/blog\\\/author\\\/maciej-figiel\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland","description":"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/","og_locale":"pl_PL","og_type":"article","og_title":"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland","og_description":"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.","og_url":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/","og_site_name":"Botland","article_publisher":"https:\/\/facebook.com\/Botland\/","article_published_time":"2022-07-01T06:00:06+00:00","article_modified_time":"2023-05-24T08:10:28+00:00","og_image":[{"width":1510,"height":755,"url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg","type":"image\/jpeg"}],"author":"Maciej Figiel","twitter_card":"summary_large_image","twitter_misc":{"Napisane przez":"Maciej Figiel","Szacowany czas czytania":"7 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#article","isPartOf":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/"},"author":{"name":"Maciej Figiel","@id":"https:\/\/botland.de\/blog\/#\/schema\/person\/a8e66118d1f27ebf9f540831e5a3283b"},"headline":"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811","datePublished":"2022-07-01T06:00:06+00:00","dateModified":"2023-05-24T08:10:28+00:00","mainEntityOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/"},"wordCount":1196,"publisher":{"@id":"https:\/\/botland.de\/blog\/#organization"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg","keywords":["czujniki","DIY","elektronika","modu\u0142y"],"articleSection":["Raspberry Pi"],"inLanguage":"pl-PL"},{"@type":"WebPage","@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/","url":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/","name":"Projekty z Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811 - Botland","isPartOf":{"@id":"https:\/\/botland.de\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#primaryimage"},"image":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#primaryimage"},"thumbnailUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg","datePublished":"2022-07-01T06:00:06+00:00","dateModified":"2023-05-24T08:10:28+00:00","description":"Jak pod\u0142\u0105czy\u0107 czujnik CCS811 do Raspberry Pi? Dowiedz si\u0119 jak wykona\u0107 projekt z czujnikiem dwutlenku w\u0119gla i jako\u015bci powietrza.","breadcrumb":{"@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#primaryimage","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2023\/05\/new2023-artykul-tlumaczenia-ITBRAIN-ccs811-okladka-1510x1510-1.jpg","width":1510,"height":755},{"@type":"BreadcrumbList","@id":"https:\/\/botland.com.pl\/blog\/projekty-z-raspberry-pi-podlaczanie-czujnika-ccs811\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/botland.com.pl\/blog\/"},{"@type":"ListItem","position":2,"name":"Projekty z&nbsp;Raspberry Pi: Pod\u0142\u0105czanie czujnika CCS811"}]},{"@type":"WebSite","@id":"https:\/\/botland.de\/blog\/#website","url":"https:\/\/botland.de\/blog\/","name":"Botland","description":"Blog Raspberry Pi, Arduino, elektronika i robotyka - Botland","publisher":{"@id":"https:\/\/botland.de\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/botland.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/botland.de\/blog\/#organization","name":"Botland","url":"https:\/\/botland.de\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.de\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","contentUrl":"https:\/\/botland.store\/blog\/wp-content\/uploads\/2018\/04\/logo_kolor_WP_2-1.png","width":250,"height":57,"caption":"Botland"},"image":{"@id":"https:\/\/botland.de\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/Botland\/"]},{"@type":"Person","@id":"https:\/\/botland.de\/blog\/#\/schema\/person\/a8e66118d1f27ebf9f540831e5a3283b","name":"Maciej Figiel","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/12\/Image-from-iOS-150x150.jpg","url":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/12\/Image-from-iOS-150x150.jpg","contentUrl":"https:\/\/botland.com.pl\/blog\/wp-content\/uploads\/2021\/12\/Image-from-iOS-150x150.jpg","caption":"Maciej Figiel"},"description":"Wszechstronny, ch\u0119tnie podejmuje si\u0119 wyzwa\u0144, bo uwa\u017ca, \u017ce jest to najszybsza droga ku rozwojowi. Ceni sobie kontakt z natur\u0105 i aktywny wypoczynek. Pasjonat motoryzacji i nowych technologii.","url":"https:\/\/botland.com.pl\/blog\/author\/maciej-figiel\/"}]}},"_links":{"self":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/35944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/comments?post=35944"}],"version-history":[{"count":0,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/posts\/35944\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media\/63447"}],"wp:attachment":[{"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/media?parent=35944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/categories?post=35944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/botland.com.pl\/blog\/wp-json\/wp\/v2\/tags?post=35944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}