{"id":16143721,"url":"https://github.com/alvarosabu/particle-blynk-dht11-sensor-example","last_synced_at":"2026-02-12T03:38:10.418Z","repository":{"id":112979603,"uuid":"255663286","full_name":"alvarosabu/particle-blynk-dht11-sensor-example","owner":"alvarosabu","description":"A Sensor Mote example using  a DTH11 Sensor, a Particle Photon that communicates via Wifi with Blynk App","archived":false,"fork":false,"pushed_at":"2020-04-14T16:30:32.000Z","size":1254,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-29T14:41:20.712Z","etag":null,"topics":["blynk","dht","iot","particle","particle-device","particle-photon","photon","sensor-mote","temperature","wifi"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarosabu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-14T16:29:26.000Z","updated_at":"2020-04-18T06:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c2db3a8-5f5b-420f-bd92-ac4af2e53572","html_url":"https://github.com/alvarosabu/particle-blynk-dht11-sensor-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvarosabu/particle-blynk-dht11-sensor-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosabu%2Fparticle-blynk-dht11-sensor-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosabu%2Fparticle-blynk-dht11-sensor-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosabu%2Fparticle-blynk-dht11-sensor-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosabu%2Fparticle-blynk-dht11-sensor-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarosabu","download_url":"https://codeload.github.com/alvarosabu/particle-blynk-dht11-sensor-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosabu%2Fparticle-blynk-dht11-sensor-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273860436,"owners_count":25181124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blynk","dht","iot","particle","particle-device","particle-photon","photon","sensor-mote","temperature","wifi"],"created_at":"2024-10-10T00:10:00.986Z","updated_at":"2026-02-12T03:38:05.370Z","avatar_url":"https://github.com/alvarosabu.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![repository-banner.png](https://res.cloudinary.com/alvarosaburido/image/upload/v1564929632/as-readme-banner_tqdgrx.png)\n\n# Blynk DTH11 Sensor\n\n\u003eA Sensor Mote using [Particle Photon](https://docs.particle.io/photon/) that communicates via Wifi with [Blynk App](https://blynk.io/)\n\n## Libraries\nThis projects uses several libraries:\n- [blynk](https://github.com/blynkkk/blynk-library) Allows comunication with [Blynk App](https://play.google.com/store/apps/details?id=cc.blynk)\n- [DHT](https://github.com/adafruit/DHT-sensor-library) to read the sensor data.\n- [Adafruit_Sensor](https://github.com/adafruit/Adafruit_Sensor)\n\n## The Circuit:\n![Particle DHT-11 Circuit](particle-dht11-sensor_bb.png)\n\nYou can also open the Frizting file [here](particle-dht11-sensor.fzz)\n\n\n  * Particle's D4 connected to Vout digital signal pin (single-wire serial interface) of the Keystudio [Ks0034 DHT11](https://wiki.keyestudio.com/Ks0034_keyestudio_DHT11_Temperature_and_Humidity_Sensor) Temperature and Humidity Sensor\n  * DTHT11 Vcc+ to the photon's 3.3V Vout.\n  * DTHT11 GND to the photon's GND pin.\n\n## Setting Up Blynk App\n\nDownload the app from your personal store favorite store [\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/googleplay.svg\" width=\"18\" height=\"18\" /\u003e Google Play](https://play.google.com/store/apps/details?id=cc.blynk) |\n[\u003cimg src=\"https://cdn.rawgit.com/simple-icons/simple-icons/develop/icons/apple.svg\" width=\"18\" height=\"18\" /\u003e App Store](https://itunes.apple.com/us/app/blynk-control-arduino-raspberry/id808760481?ls=1\u0026mt=8)\n\n1. Setup New Project, in this step make sure you select `Particle Photon` and `Wifi`. ![Dashboard setup](https://res.cloudinary.com/alvarosaburido/image/upload/v1586801356/blog/Blynk%20Particle%20App/Blynk_Create_Project_kqimyv.jpg)\n2. You will recieve an email with your **auth token key**. Make sure you add it to  your `src/dth11-sensor.ino` at line 21 ```char auth[] = \"\u003cYour awesome Blynk auth token should go here\u003e\";```\n3. In the toolbar, tap the + button open the **Widget Box**, ![Widget Box](https://res.cloudinary.com/alvarosaburido/image/upload/v1586879227/blog/Blynk%20Particle%20App/Dashboard_Add_Widgets_stjlwd.jpg)\n4. Select 2 `Gauge Widgets` (one for temperature and one for humidty). Also we will use a `SuperChart` for both ![Add  new widget](https://res.cloudinary.com/alvarosaburido/image/upload/v1586801360/blog/Blynk%20Particle%20App/add%20Blynk%20widget.jpg)\n5. Configure the `Temperature Gauge` as shown in the picture below (Really important that you chose Virtual Port 1 **V1** for temperature since is defined here `#define BLYNK_TEMP_DISPLAY V1`) ![Temperature Gauge](https://res.cloudinary.com/alvarosaburido/image/upload/v1586801359/blog/Blynk%20Particle%20App/temperature_gauge_widget.jpg)\n6. Do the same for the `Humidty Gauge`, make sure you select Virtual port 2 **V2** `#define BLYNK_HUMIDITY_DISPLAY V2` ![Humidty Gauge](https://res.cloudinary.com/alvarosaburido/image/upload/v1586801360/blog/Blynk%20Particle%20App/humidty_gauge_widget.jpg).\n7. For the graph is pretty easy, just  define which *Datastreams* you need ![Graph Widget](https://res.cloudinary.com/alvarosaburido/image/upload/v1586801360/blog/Blynk%20Particle%20App/graph%20widget.jpg)\n\nIf you still have doubts regarding how to setup Blynk to use this project, follow this [guide](http://docs.blynk.cc/#getting-started-getting-started-with-the-blynk-app) or contact me trough [twitter: @alvarosaburido1](https://twitter.com/alvarosaburido1)\n\n\n## Development\n\n### Install dependencies (libraries)\n\nFor installing the dependencies on [project.properties](project.properties). More info in the section of ```project.properties``` below.\n\n`particle library install --vendored`\n\nThis will create a `/lib` folder for you.\n\nEvery new Particle project is composed of 3 important elements that you'll see have been created in your project directory for dth11-sensor.\n\n#### ```/src``` folder:\nThis is the source folder that contains the firmware files for your project. It should *not* be renamed.\nAnything that is in this folder when you compile your project will be sent to our compile service and compiled into a firmware binary for the Particle device that you have targeted.\n\nIf your application contains multiple files, they should all be included in the `src` folder. If your firmware depends on Particle libraries, those dependencies are specified in the `project.properties` file referenced below.\n\n#### ```.ino``` file:\nThis file is the firmware that will run as the primary application on your Particle device. It contains a `setup()` and `loop()` function, and can be written in Wiring or C/C++. For more information about using the Particle firmware API to create firmware for your Particle device, refer to the [Firmware Reference](https://docs.particle.io/reference/firmware/) section of the Particle documentation.\n\n#### ```project.properties``` file:\nThis is the file that specifies the name and version number of the libraries that your project depends on. Dependencies are added automatically to your `project.properties` file when you add a library to a project using the `particle library add` command in the CLI or add a library in the Desktop IDE.\n\n## Adding additional files to your project\n\n#### Projects with multiple sources\nIf you would like add additional files to your application, they should be added to the `/src` folder. All files in the `/src` folder will be sent to the Particle Cloud to produce a compiled binary.\n\n#### Projects with external libraries\nIf your project includes a library that has not been registered in the Particle libraries system, you should create a new folder named `/lib/\u003clibraryname\u003e/src` under `/\u003cproject dir\u003e` and add the `.h`, `.cpp` \u0026 `library.properties` files for your library there. Read the [Firmware Libraries guide](https://docs.particle.io/guide/tools-and-features/libraries/) for more details on how to develop libraries. Note that all contents of the `/lib` folder and subfolders will also be sent to the Cloud for compilation.\n\n## Compiling your project\n\nWhen you're ready to compile your project, make sure you have the correct Particle device target selected and run `particle compile \u003cplatform\u003e` in the CLI or click the Compile button in the Desktop IDE. The following files in your project folder will be sent to the compile service:\n\n- Everything in the `/src` folder, including your `.ino` application file\n- The `project.properties` file for your project\n- Any libraries stored under `lib/\u003clibraryname\u003e/src`\n\n  # Support, Questions, or Feedback\n\u003e Contact me anytime for anything about this repo or IoT in general\n\n* [Email: Alvaro Saburido](alvaro.saburido@gmail.com)\n* [Twitter: @alvarosaburido1](https://twitter.com/alvarosaburido1)\n\n___\n\n# License\n [MIT](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarosabu%2Fparticle-blynk-dht11-sensor-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarosabu%2Fparticle-blynk-dht11-sensor-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarosabu%2Fparticle-blynk-dht11-sensor-example/lists"}