sayjas.blogg.se

Particle photon ios app builder
Particle photon ios app builder





particle photon ios app builder

Here we define some variables that will be used to keep track of device state and to trigger alerts. We specify digital pin 4 as the pin we are going to be receiving data on and then we initialize the DHT library with our device type and pin. Since the PietteTech DHT library works with several different DHT devices we need to specify the type of DHT device we are using. Connecting the DHT22 Sensor to the Photon.Here is a quick overview of the steps we’ll be covering: We’ll connect the photon to the Particle cloud and then set up an integration between the Particle Cloud and IFTT to automatically alert us when the temperature or humidity reach a certain threshold. In today’s post, I’ll show you how to wire up a DHT22 temperature and humidity sensor to a Particle Photon. Even better, your first 100 devices are free.

particle photon ios app builder

What makes particle different is that along with their boards, they give you access to the Particle Cloud allowing you to easily access data collected by your device. Luckily, a coworker pointed me towards a company called Particle and their lineup of development boards. In the past, I had built custom solutions and APIs to get to my data but for something as simple as monitoring temperature this seemed like overkill. It’s a problem that I have ran into during previous projects and one I ran into again when attempting to build a temperature and humidity monitoring system for our server room. More often than not though, people struggle with making this data available and usable. With the wide variety of sensors, development boards, and code samples available, you can monitor or automate just about anything. The Internet of Things (IoT) is a wonderful thing.







Particle photon ios app builder