Is your project too irresponsible to be unmonitored? Let the SparkFun Battery Babysitter keep an eye and a charge on it so won’t get out of hand.
Deadline extended to August 15 for AVC and APRS registration!
Getting your plants up to Phant and digging in to IFTTT
We have all caught a glimpse of how Internet of Things (IoT) is going to change our lives, with smart homes, cities, workplaces, etc. Earlier this month, the Netherlands became the first country to roll out a nationwide IoT network. Yay!
This is not just great news, but a big test for IoT. An implementation on such a large scale has never been done before, and we cannot wait to see how it works out.
KPN, the telecom company that has set up up the IoT network in the Netherlands, is a Low Rate (LoRa) mobile communications network that is also compatible with the existing phone network. You can read more about it here.
LoRaWAN™ is a Low Rate Wide Area Network specifically designed for wireless battery-operated Things in a network. It was designed for large-scale public networks with a single operator, and is not the best solution for a private network.
The LoRaWAN architecture is based on a star topology, where gateways are bridges relaying messages between end devices and the server. The server decides which gateway should respond to a transmission; the other gateways receive the transmission but can ignore it. This helps prevent the uplink-downlink collisions.
LoRaWAN offers very low data rates ranging from 0.3kbps to 50kbps. To maximize the battery life of devices, the central server manages the data rate and RF output for each end device individually using an adaptive data rate (ADR) scheme.
LoRaWAN is a great choice for a protocol if used for a public/open network. I had the misconception that it could work out of the box like WLAN (i.e., WiFi), but it is way more complex to set up. Now, with the use of this new technology across a public network serving the entire Dutch nation, LoRaWAN is up against its toughest challenge yet. I hope that it helps us identify the problems and challenges with a wide-area IoT network and helps us gear up for a future where everything is connected!
As a part of our IoT tutorial series, we have a new guide up on “Connectivity of the Internet of Things.” This tutorial discusses the traditional and upcoming protocols and how they are being leveraged for IoT specifically.
The world is becoming smarter and more connected, changing every aspect of our lives. We decided to pick on a small part of it by exploring how IoT will change our gardens!
There are already a bunch of sensor-laden products available that can monitor your soil, and pass the information to an app on your mobile. More complex systems may have irrigation systems hooked up to local weather forecasts to adapt and hone your watering schedule. Most of these devices are connected to the Internet, which means you can monitor your plants from practically anywhere.
This style of gardening is not exactly new. Farmers have been using similar technology for years to improve yields. However, this is the first time this technology is being leveraged for the average, everyday user. The center of this trend is data mining – to turn the raw data acquired by connected devices from the sensors into valuable insights for more efficient gardening.
Here at SparkFun, the Software and IT team (SWIT) is excited about IoT and is taking steps to evolve with it. Timm McShane, the director of SWIT, had an idea in the back of his head about putting the small indoor garden we have here at SWIT up on phant.io and analyzing the sensor data so we could take better and more efficient care of it. Also, he wanted to make it easy on Paul, who waters and looks after these plants regularly.
This project would help put our tiny but very pretty garden on the cloud with the help of data.sparkfun.com and would save Paul unnecessary trips all the way from his office to SWIT just to come and check on the plants.
So, we decided to do this blog post for all those who ‘dig’ gardening! If you have a garden, or plan to have one soon, you might want to give this a read.
In the righthand corner, we have one of the most rugged and easy-to-grow houseplants ever. It has been hailed as the ‘devil’s ivy’ because it is impossible to kill. Give a shout out to the very green – and very creepy – Pothos!
In the lefthand corner, we have the very leafy and dense contender, which is known to ramble its way around. It is sometimes called the “Bear Grylls” of houseplants and can survive well in the most austere of conditions. I present to you … the Wandering Jew.
Last but not least we have with us, all the way from Down Under, the tall and symmetrical beauty usually known to thrive perfectly indoors without much of anyone’s attention … and infamous for thriving outdoors as well. It will make you feel like it’s Christmas even during hard-hitting summer. Let’s hear it for … the Norfolk Island Pine (eh there, mate).
After doing a little research, I found out more specific temperature and water information about our plants. This is key, as I will use them as reference (base) values in the code.
The Pothos requires moderate moisture, even during warmer months. It is important to know that it is tolerant even if not watered for days, but the stems will rot at soil level if given too much water. The optimum soil temperature ranges from 70 to 75 degrees Fahrenheit.
The Wandering Jew requires regular watering during the warmer summer months, but during the colder months the frequency of watering is reduced drastically. If watered too much during this time, the growth will slow or completely stop. This plant also requires warmer temperatures and can grow well within the 55 to 75 degrees Fahrenheit range.
The Norfolk Island Pine also requires frequent watering during warmer months. This is the growing season for the plant, when soil should be kept moist. During the inactive winter months we can water very lightly. The pine is known to have optimum growth within the temperature range of 60 to 65 degrees Fahrenheit.
Note: Since our garden is indoors, we know the temperatures will be regulated and will not change drastically to harm the plants, but for those of you caring for the plants in an outdoor garden, knowing soil temperatures is extremely important.
So the most important thing about having a garden is knowing your plants well. We know that you LOVE your plants, but too much love (i.e., water) can kill them!
The best way to determine if a plant needs water is to check the soil’s moisture content at regular intervals. Obviously, plants are diverse and, therefore, so are their requirements. As the daylight and temperature change throughout the year, the way plants utilize and require water also changes.
Please note that some plants use more water temporarily as heating systems are turned on in the colder months.
So a basic plant monitor should measure the soil moisture and soil temperature.
Wanting to keep the cost of this project low, I decided to refrain from using other sensors we had in stock, like the pH sensor and the air humidity and temperature sensor. But you can definitely add them to your project and get more insight into your plants by having more data points.
The Particle Photon is one of the best for beginner to advanced IoT projects. It is tiny but powerful, has WiFi connectivity and is easy to set up with IFTTT.
We will use the variable stored in the particle cloud to trigger an IFTTT action and send Paul a tweet about when he needs to water the plants or if there is anything that needs his attention. Sweet, isn’t it!
This project aimed to consume low energy and run on battery power. The SparkFun Photon Battery Shield is the perfect solution for this. It removes the need for designing a separate battery management circuit and comes with the headers already soldered on, so you can plug and play! A 2000 mAh LiPo battery is large enough to last a few days without needing to recharge. The photon is essentially ON just for taking measurements and sending the data up to phant; for most of its duty cycle it would be in Deep Sleep state. See the logged test data on our channel’s data plots here.
With just a few simple components and a few hours to put everything together, we can harvest the power of IoT to gather relevant data and then use it to grow our plants more effectively. We no longer need to constantly keep checking on them ourselves; if the plants need our attention, they will let us know! We can just sit back and enjoy watching our plants grow healthier and happier than ever.
Do you have an IoT gardening innovation? Please share it with other enthusiasts in the comments field below.
Bikes that will light up your life!
With an FEP, an FIR and a DP, we have a winner!
A special treat, because we like you so much.
Is your project cumbersome? Let the new SparkFun OpenScale weigh in to handle the stress.