Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

Arduino 1.0 to ThingSpeak Sketch

The Arduino team recently released the release candidate of Arduino 1.0 on Google Code. It’s a available for Windows, Mac, and Linux. Version 1.0 of Arduino’s IDE includes enhancements to the GUI and additions and changes to the Arduino Hardware API. Since the release, we have been beta testing Arduino 1.0-rc1 and find the updates to be spot on. This is definitely a step forward. A big change that affects ThingSpeak Arduino Sketches is the inclusion of DHCP and DNS support to the Ethernet library, which was integrated by Adrian McEwen. We are able to use the new Arduino 1.0 to make it as easy as possible to connect the Arduino platform to the Internet. Download the latest Arduino IDE on Google Code.

Arduino 1.0 and ThingSpeak Examples

We have created a new ThingSpeak Sketch for Arduino 1.0 that you can use for the Arduino and Ethernet Shield or the Arduino Ethernet all-in-one. All you have to do is add your ThingSpeak Write API Key to the sketch, upload to the Arduino, and connect to your network. The sketch includes automatic network configuration with DHCP, domain name resolution using DNS, a watchdog / reset function to keep the Arduino online, and a function to update ThingSpeak Channels. The new sketch has been running without hiccup in our lab for few weeks. We hope that you get the same reliability. Go ahead and copy, transform, and combine…

View Arduino 1.0 –> ThingSpeak Sketch on GitHub

|
  • print

コメント

コメントを残すには、ここ をクリックして MathWorks アカウントにサインインするか新しい MathWorks アカウントを作成します。