The ESP8266 is a low-cost WiFi module built by Espressif Systems. Its popularity has been growing among the hardware community thanks to it’s nice features and stability, to the point that it can be easily programmed using your Arduino IDE.
In this post, we’ll learn how to program your ESP8266 using an UARTbee or Arduino UNO, and the Arduino IDE.
Continue reading “Programming the ESP8266 with the Arduino IDE in 3 simple steps”
In our last blog post we learned how to use the SONOFF Smart Switch to control a relay from Ubidots. In this case, we’ll learn how to control an Air Conditioner with the SONOFF TH, a variation of the original one that includes temperature and humidity sensors. Using these readings, we’ll use Ubidots’ Event engine to turn on or off your air conditioner automatically, depending on the room temperature.
Continue reading “SONOFF Tutorial: A Wi-Fi Room Temperature Controller for $10”
In our last Electric Imp tutorial we learned how to measure temperature, humidity and overall thermal comfort with Ubidots. This time we are going to make a simple on-off fan control. We will log the temperature to Ubidots and trigger an event when it is over 30ºC, so that the Electric Imp turns on a fan, and then a trigger to turn it off when temperature is below 27ºC.
It really works like a charm, so here we go:
Continue reading “Turn a fan on when the temperature is too high! – Electric Imp Tutorial”
Is your Internet provider delivering a good quality service? If the answer is “no”, then how can it be measured? A nice way to get a sense of your Internet’s quality is to ping a remote host and watch the response times. This is what we call “Latency”.
This guide explains how to use an OpenWrt router to log the response times returned by the PING program, and send these times to the Ubidots cloud. Continue reading “How to monitor your Internet connection using OpenWrt and Ubidots”
In this project we’ll build a simple parking sensor using a Raspberry Pi. It turns out that every morning I have to face this question: is the ONLY parking spot in front of my office already taken? Because when it actually is, I have to go around the block and use at least 10 more minutes to park and walk to the office.
So I thought it would be cool to know whether the spot is free or not, before even trying to get there. At the end, the result was a nice widget that I could check from my Ipod or mobile phone:
Continue reading “How to build a parking sensor to solve the pain of finding a free spot”
If you’re thinking about designing an ideal data structure for your Internet of Things application, then here’s what you should do: don’t do it.
As it turns out, the Internet of Things requires a huge deal of flexibility. Why? Because there are millions -if not billions- of heterogeneus objects that will begin interacting with each other in ways we can’t predict. The structured and rigid tables offered by traditional databases won’t help us because they require a pre-defined set of properties and tables, which again, we can’t predict.
To understand why this is important, let’s take an example of a water management application. Continue reading “Designing for the Internet of Things”