Archive for the ‘Network’ Category

Programming Arduino on the cloud: codebender

Wednesday, July 4th, 2012

codebender is web-based IDE, mainly built with HTML5 and Javascript, that focuses on the development for the Arduino platform. Since it is going to be used directly from the browser (note that currently codebender is still beta), it will further simplify the whole development process, avoiding the installation of software and libraries on the local machine.

From the home page of the project:

We want to lower the barrier to entry, which is necessary to help everyday people start their first project, become makers and advance technology instead of using it. codebender requires no installation, so you can get started with Arduino programming the minute you get one in your hands! And with the development tools we provide, you can do so faster and easier! codebender also stores your code on the cloud, so it’s safe and accessible from anywhere, anytime.

Several nice features will be available soon, such as remote flashing: together with an Ethernet shield flashed with a properly designed TFTP bootloader, you will be able to upload a sketch remotely, over the internet! Another nice feature regards its integration with the open documentation available on the Arduino website, which will be accessible directly from the IDE by selecting a piece of code and, then, by pressing ctrl+space.

More information can be found here.

[Via: HackADay and codebender's website]

WISP: a WiFi module for the Internet-of-Things

Tuesday, June 12th, 2012

embdSocial™ is an Internet-of-Things (IoT) platform usable to provide communication support to smart objects and devices. embdSocial™ is based on WISP™, an electronic module that can be connected to any microcontroller-equipped device (such as an Arduino board, by means of ad-hoc shield) to exploit several communication services:

Each WISP™ allows real-time bi-directional communication through our secure, globally accessible API. In addition to merely providing internet connectivity, embdSocial™ provides one interface and architecture that simplifies common tasks through the use of plug-ins:

  • Tweeting/receiving @messages
  • Updating Facebook statuses
  • Sending/receiving emails
  • Sending/receiving SMS text messages
  • Manipulating files in your Dropbox

Each WISP™ is equipped with a 802.11 network interface (with support to WEP, WPA and WPA2 protocols) which allows the device to be easily connected with the embdSocial™’s servers; moreover, its configuration is completely web-based.

More information can be found on the embdSocial™ homepage, together with a couple of videos presenting its capabilities.

[Via: HackADay and embdSocial]

Publishing data on the web with Node.JS

Tuesday, June 5th, 2012

Many solutions exist for publishing data coming from Arduino boards on the web. , in his detailed tutorial, proposes his novel approach, which makes use of several widespread and open-source technologies, such as Node.JS, jQuery and Apache:

Using the USB, the Arduino Board is connected to the PC serially to a certain COM port which the OS allocates. Node.JS, the asynchronous server side JavaScript engine then listens for the port using a Node.JS module called SerialPort2. When a signal is received, using the Node.JS Socket.IO module, data is then served also asynchronously to the web providing a real time feed of the Arduino signal.

The tutorial (which can be applied on Linux, Mac OS and Windows) can be found here.

[Via: DangerousPrototypes and The Code Project]

Chilean Teen Twitts About Earthquakes

Tuesday, August 2nd, 2011

Sebastian Alegria, a 14 years old Chilean teen created an earthquake warning system based on Arduino, an earthquake detector (bought for less 100 $) and an ethernet shield.

Alegria’s rudimentary yet effective system comes from having survived Chile’s own earthquakes last year and seeing the devastation that covered Japan earlier this year. Keen on finding an inexpensive solution for early earthquake detection, he rigged an Arduino and domestic earthquake detector to tweet seconds before detectable seismic activity. Tweeting from @AlarmaSismos, it has already successfully detected every major earthquake that could be felt from Santiago since May. And it’s piling on the Twitter followers.

via [amazonNews] [HackDay] source [InfoBae]

Telnet Server for Arduino

Friday, July 9th, 2010

Nice contribution from forum user Steve Lentz

Here’s something that might help someone out there.  There are plenty of examples of web servers and even a few web services interfaces, but few if any command line interfaces.  A few old forum posts seem to be looking for this, but I haven’t found any good examples.  This sketch allows you to read all digital and analog pins, set digital outputs high or low, set PWM outputs and change the mode of digital pins.  This could be useful when debugging hardware or perhaps you just have a hankering for good old text based interaction.  I’ve keep the command structure very simple, for example analogRead is abbreviated as ar, in an effort to keep the sketch size small and so the code will run reasonably fast.  There’s built in help, so once the sketch is running you can ask it to give you a complete list of supported commands.  Please post comments here if you find this useful (or not) or have any other suggestions.

Find it at: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1278686415