ThingTweet – Internet of Things https://blogs.mathworks.com/iot Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. Tue, 10 Sep 2019 21:35:15 +0000 en-US hourly 1 https://wordpress.org/?v=6.1.1 Don’t Get Stuck in the Mud, Understand Tide Levels with MATLAB https://blogs.mathworks.com/iot/2017/09/14/dont-get-stuck-in-the-mud-understand-tide-levels-with-matlab/?s_tid=feedtopost https://blogs.mathworks.com/iot/2017/09/14/dont-get-stuck-in-the-mud-understand-tide-levels-with-matlab/#respond Thu, 14 Sep 2017 14:25:28 +0000 https://blogs.mathworks.com/iot/?p=2189

Tides go up and down. But, the question is when and how will the tide levels change in the future. If you are planning a boating trip or trying to understand how the wind affects tide levels during... read more >>

]]>
Tides go up and down. But, the question is when and how will the tide levels change in the future. If you are planning a boating trip or trying to understand how the wind affects tide levels during storms, you want to predict the tide levels using data that you have collected locally. In a tutorial published on Hackster.io, you will be able to learn how to use ThingSpeak to collect sensor data that represents the tide height at a given time, use MATLAB to preprocess the data, use MATLAB to predict future tide levels, and use ThingSpeak to send alerts. Here’s what the system looks like installed at a dock in Cape Cod.

The tide height is calculated using an ultrasonic level sensor. This measurement is taken periodically and then sent to ThingSpeak, an IoT analytics cloud platform by MathWorks, using a cellular modem. The system can easily be adapted to collect data about any environmental system such as greenhouses or oyster farms.

Once you have the data in a ThingSpeak channel, you use MATLAB to preprocess and clean up the data. The raw data some times has extraneous values caused by environmental factors such as lighting, cabling, and electrical interference. Sometimes, you have missing data caused by connectivity issues. It is important to clean up the data before you use the data in your analysis.

To predict future tide levels and send alerts when the tide is rising or falling, we use the MATLAB Analysis app on ThingSpeak. With MATLAB, we can use historical data to make a prediction about the future tide levels. This predicted tide level can be used to help schedule a boating trip or plan for a water surge after a storm.

 

Tide Alerts

Remembering to check the tide level when fishing or lazing on the beach is not particularly convenient. A much more useful approach is to have the system send a message when the time has come to pack up and start heading back to the dock. The timing of the alert depends on how much water depth is needed by a particular boat. Larger boats need higher water levels in order to move without getting stuck in the mud. One way to send alerts is to use ThingSpeak and MATLAB to detect changes in tidal height and send alerts.

Conclusion

Developing a tide monitoring system provided accurate tide level measurement and tide level prediction, with the added ability to send alerts. Robert has been able to avoid being stuck in the bay by providing enough time to get back to his dock using this system. This project also serves as a useful approach to solving many data-driven puzzles by having a reliable way to collect, analyze, and act on data. Using MATLAB, the accuracy of the tide levels improved by understanding the proper tide levels at a specific location and when the tide levels will change. If you used the general tide forecast, you would have to account for several inches of tide height difference.

Resources

]]>
https://blogs.mathworks.com/iot/2017/09/14/dont-get-stuck-in-the-mud-understand-tide-levels-with-matlab/feed/ 0
There is a Hamster on Twitter Now… Thanks to ThingSpeak, Arduino, and ESP8266 Wi-Fi https://blogs.mathworks.com/iot/2015/04/20/hamster-on-twitter/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/04/20/hamster-on-twitter/#comments Mon, 20 Apr 2015 15:21:48 +0000 https://blogs.mathworks.com/iot/?p=1432

What does an adorable hamster need? Internet of Things, but of course. Using ThingSpeak, ESP8266 Wi-Fi, and Arduino, Ángel from San Sebastián built a monitoring system for his hamster which is dubbed... read more >>

]]>
What does an adorable hamster need? Internet of Things, but of course. Using ThingSpeak, ESP8266 Wi-Fi, and Arduino, Ángel from San Sebastián built a monitoring system for his hamster which is dubbed “RunnerHam“.

Hamster Internet of Things

RunnerHam Tweets his distance and time when he takes a run on his wheel, “I’m done! 57.62m at 0.61m/s”. You can also check out his ThingSpeak Channel where he records lots of data about his day.

Hamster on wheel IoT ThingSpeak

Ángel also released an Instructables explaining his “pet project” so you can make your own and make your own enhancements. Just imagine what you can do with some sensors, connectivity, and ThingSpeak Web Services!

[via Instructables]

]]>
https://blogs.mathworks.com/iot/2015/04/20/hamster-on-twitter/feed/ 3
Let Your Plants Tweet Using Spark and ThingSpeak https://blogs.mathworks.com/iot/2015/02/27/let-your-plants-tweet-using-spark-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2015/02/27/let-your-plants-tweet-using-spark-and-thingspeak/#respond Fri, 27 Feb 2015 19:27:01 +0000 https://blogs.mathworks.com/iot/?p=1423

Head over to Instructables to learn how to make your plants Tweet using Spark Wi-Fi and ThingSpeak. Gregory Fenton created a project that monitors his plant’s soil moisture and then notifies... read more >>

]]>
Head over to Instructables to learn how to make your plants Tweet using Spark Wi-Fi and ThingSpeak. Gregory Fenton created a project that monitors his plant’s soil moisture and then notifies him via Twitter when it is time to water it.

Spark ThingSpeak Plant Monitor

Greg built the project out of necessity to help his plants suffering from “localized drought”. Let’s hope his plants get proper watering and that other ThingSpeak users can quickly and easily build this project. Thanks for sharing!

[via Instructables]

]]>
https://blogs.mathworks.com/iot/2015/02/27/let-your-plants-tweet-using-spark-and-thingspeak/feed/ 0
Sending Tweets Automatically Every Morning With TimeControl https://blogs.mathworks.com/iot/2014/10/09/official-tutorial-sending-tweets-automatically-every-morning-with-timecontrol/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/10/09/official-tutorial-sending-tweets-automatically-every-morning-with-timecontrol/#respond Thu, 09 Oct 2014 17:57:40 +0000 https://blogs.mathworks.com/iot/?p=1307 TimeControl can be used to send Tweets automatically at predetermined times.  In this tutorial, we’ll be sending a Tweet every weekday with the current time and the current CheerLights... read more >>

]]>
TimeControl can be used to send Tweets automatically at predetermined times.  In this tutorial, we’ll be sending a Tweet every weekday with the current time and the current CheerLights color.

The first step is to link a Twitter account to ThingSpeak.

Next, we’ll create a new TimeControl with the following values:

  • Name: “CheerLights to Twitter”
  • Frequency: “Recurring”
  • Days: “Mon”, “Tue”, “Wed”, “Thu”, “Fri”
  • Time: “9:40 am”
  • Fuzzy Time: “+/- 10 minutes”
  • Action: “ThingTweet”
  • Tweet: “It is currently %%datetime%% and CheerLights is %%channel_1417_field_1%%.”
  • Twitter Account: (select your linked Twitter account)

Save this TimeControl and you’re finished.  Every weekday within 10 minutes of 9:40 am in your timezone, TimeControl will send a Tweet with the current datetime and the current CheerLights color.

The CheerLights Channel ID is 1417, and colors are saved in field 1, so %%channel_1417_field_1%% will be replaced with the current CheerLights color.  You can change these values to access the most recent data from your own Channels.

Here’s an example Tweet from this tutorial.

]]>
https://blogs.mathworks.com/iot/2014/10/09/official-tutorial-sending-tweets-automatically-every-morning-with-timecontrol/feed/ 0
Cigar Humidor Updates Twitter – Powered by ThingSpeak and Arduino https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/?s_tid=feedtopost https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/#comments Fri, 04 Apr 2014 19:11:56 +0000 https://blogs.mathworks.com/iot/?p=1178

CAVA created a cigar humidor with a social life. A humidor stores cigars in a humidity controlled environment to maintain freshness, but this special humidor sends the humidity sensor value to... read more >>

]]>
CAVA created a cigar humidor with a social life. A humidor stores cigars in a humidity controlled environment to maintain freshness, but this special humidor sends the humidity sensor value to ThingSpeak and alerts Twitter when you need to add water. The project uses a humidity sensor and an Arduino Ethernet to post the data to the ThingSpeak API and ThingTweet to send messages to Twitter.

ThingSpeak Cigar Humidor IoTMi Humidor de Cigarros conectado a Internet por medio de un Arduino

]]>
https://blogs.mathworks.com/iot/2014/04/04/cigar-humidor-updates-twitter-powered-by-thingspeak-and-arduino/feed/ 2
Send Tweets using Arduino Ethernet [Updated Tutorial] https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/#comments Fri, 07 Dec 2012 05:36:46 +0000 https://blogs.mathworks.com/iot/?p=1022 We have updated our ThingTweet Tutorial to cover the Arduino Ethernet and the new Arduino IDE (v1 and above). ThingTweet is a ThingSpeak App that allows you to send Twitter status updates via your... read more >>

]]>
We have updated our ThingTweet Tutorial to cover the Arduino Ethernet and the new Arduino IDE (v1 and above). ThingTweet is a ThingSpeak App that allows you to send Twitter status updates via your Arduino microcontroller with an Ethernet shield or with Ethernet integrated onto one board. Our Arduino examples for ThingSpeak and ThingSpeak Apps have been moved to GitHub, so that you can easily download, modify, and contribute updates.

]]>
https://blogs.mathworks.com/iot/2012/12/07/send-tweets-using-arduino-ethernet-updated-tutorial/feed/ 4
Real-time Gas Sensor System with Microsoft Gadgeteer and ThingSpeak https://blogs.mathworks.com/iot/2012/11/21/real-time-gas-sensor-system-with-microsoft-gadgeteer-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/11/21/real-time-gas-sensor-system-with-microsoft-gadgeteer-and-thingspeak/#comments Wed, 21 Nov 2012 08:25:39 +0000 https://blogs.mathworks.com/iot/?p=1015 TinyCLR master user [Duke Nukem] created a project using the Microsoft Gadgeteer and ThingSpeak Internet of Things web services. The Gadgeteer allows modular hardware development with plug-and-play... read more >>

]]>
TinyCLR master user [Duke Nukem] created a project using the Microsoft Gadgeteer and ThingSpeak Internet of Things web services. The Gadgeteer allows modular hardware development with plug-and-play sensors and controls. Mr. Nukem built a real-time gas sensor monitoring system that uploads its data to a ThingSpeak Channel. Once the data is on ThingSpeak, other developers can tap into the data and use it for control systems or for creating apps that process, analyze, and visualize the data. Duke also posts data and warnings to social networks such as Twitter via ThingSpeak’s ThingTweet web service.

Duke says,

“A demo of how to use ThingSpeak (an IOT web site) with a Gadgeteer Gas Sensor Device. Data from the sensors are displayed in real time on ThingSpeak and using some of ThingSpeak’s cool features the Gas Sensor device can send out Tweets for Alert and Alarm conditions.”

Another awesome part of this project is that it uses .NET Micro Framework library, μPLibrary 1.8, created by [paolopat]. This library makes it really easy to tap into ThingSpeak web services by embedded devices. It’s great to see different parts of the project coming together from multiple ThingSpeak users. We appreciate the creative combinations and the efforts that you are putting into your projects. Thanks!

For more information, check out the live sensor readings on the project’s ThingSpeak Channel and download the complete source code at Codeshare.

[via >TinyCLR Forums]

]]>
https://blogs.mathworks.com/iot/2012/11/21/real-time-gas-sensor-system-with-microsoft-gadgeteer-and-thingspeak/feed/ 2
Interfacing with Cloud Services using Flyport + ThingSpeak https://blogs.mathworks.com/iot/2012/02/02/interfacing-with-cloud-services-using-flyport-and-thingspeak/?s_tid=feedtopost https://blogs.mathworks.com/iot/2012/02/02/interfacing-with-cloud-services-using-flyport-and-thingspeak/#respond Thu, 02 Feb 2012 07:09:26 +0000 https://blogs.mathworks.com/iot/?p=900 The team behind openPICUS has created an Application Note to help you jump-start your “Internet of Things” project by adding wireless technology with the Flyport and cloud services with... read more >>

]]>
The team behind openPICUS has created an Application Note to help you jump-start your “Internet of Things” project by adding wireless technology with the Flyport and cloud services with ThingSpeak. Both of these projects are open source, changeable, and ready for all kinds of applications. This combination allows you build “new” things that tap into cloud services via ThingSpeak apps such as Channels for data logging, Charts for seeing data, ThingTweet for making things tweet, React to send alerts, and ThingHTTP to access web data such as weather reports.

openPICUS Flyport and ThingSpeak System Overview

Download the free Application Note, “Interfacing Flyport to ThingSpeak”, and the Source Code to get your Flyport connected to web services via ThingSpeak.

]]>
https://blogs.mathworks.com/iot/2012/02/02/interfacing-with-cloud-services-using-flyport-and-thingspeak/feed/ 0
Seamless Twitter Integration [API Update] https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/#respond Fri, 08 Jul 2011 16:29:53 +0000 https://blogs.mathworks.com/iot/?p=739 We recently updated the ThingSpeak Channel API to allow you to update a channel feed and send Tweets all in one request. All you have to do is send your Twitter username that’s linked to... read more >>

]]>
We recently updated the ThingSpeak Channel API to allow you to update a channel feed and send Tweets all in one request. All you have to do is send your Twitter username that’s linked to ThingTweet and what you want to Tweet with a standard update to your ThingSpeak Channel. You can update Twitter, track the location, and add status context all with one API call. Use this feature when you want to highlight certain data and share it with your friends and family. Visit the ThingSpeak API Documentation for more information.

]]>
https://blogs.mathworks.com/iot/2011/07/08/seamless-twitter-integration-api-update/feed/ 0
Instructables Make it Tweet Contest https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/?s_tid=feedtopost https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/#respond Tue, 28 Jun 2011 23:34:10 +0000 https://blogs.mathworks.com/iot/?p=727 [willnue] of NUEwire created a project for the “Make it Tweet Contest” over on Instructables.com sponsored by Adafruit. The contest is simple: make something tweet. If you use our... read more >>

]]>
[willnue] of NUEwire created a project for the “Make it Tweet Contest” over on Instructables.com sponsored by Adafruit. The contest is simple: make something tweet. If you use our ThingTweet app, sending a Tweet could not be easier. And, if you have an Arduino setup as a device on your ThingSpeak account, ThingTweet generates the Arduino sketch for you automatically. Here is the tutorial to help you get started with ThingTweet and Arduino: Update Twitter with ThingTweet and Arduino + Ethernet Shield.

willnue added the ability to tweet to his GE Wireless Control Center Alarm system. He added an Arduino with Ethernet Shield and uses the ThingTweet app to connect the alarm to Twitter. Check out his detailed Instructables to learn more, build your own social thing, and enter the contest.

NUEwire Tweeting Alarm System

wilnue says,

This project will add tweeting capabilities to the GE 45142 Choice-Alert Wireless Control Center Alarm system. The alarm system allows you to connect up to 16 different sensors across 4 zones and with the addition of the Arduino powered AlarmingTweet you can enable it to keep you informed of its status anytime anywhere.

Good luck with the contest!

]]>
https://blogs.mathworks.com/iot/2011/06/28/instructables-make-it-tweet-contest/feed/ 0