background preloader

Webduino - Simple and extensible web server for Arduino and Ethernet Shield

Webduino - Simple and extensible web server for Arduino and Ethernet Shield
This is an Arduino-based Web Server library, originally developed for a class at NYC Resistor. It's called Webduino, and it's an extensible web server library for the Arduino using the Wiznet-based Ethernet shields. It's released under the MIT license allowing all sorts of reuse. I've also put my not-quite-complete presentation up for viewing at . I've got a few examples up right now -- the Buzz example interfaces with Zach's Danger Shield allowing you to remotely start and stop the speaker. We had a room full of students pinging my Arduino board on Saturday, buzzing me while I was lecturing. I hope to add a few more examples in the next few weeks, including a web-enabled fridge sign using a serial LCD and how to serve things other than just HTML text from the device. Installation Notes With Arduino 0016 or earlier, put the WebServer.h file in the hardware/libraries/webduino subdirectory of the arduino tree. Supplemental Libraries Presentation

sirleech/Webduino - GitHub Jeenode infrared project part 1: getting started | Maartendamen's blog Today I received new Jeenodes, so it’s time for more electronics fun :-) One thing that I head in my head for a while was an infrared receiver and sender. I want it to be like an advanced Logitech Harmony, the main downside on the Logitech Harmony is that there is no status tracking. What happens if the TV is already on, and your Harmony tries to turn it “on”? (right.. *poof* your TV just got powered off) So, in my opinion an ideal remote has integration with my home automation system, and keeps tracking of device statuses (I can use Plugwise for example to determine if my TV is powered on or off) And what to think about turning on the TV on at your preferred time on your preferred channel? Hardware used 1 x Jeenode 1 x USB-BUB 1 x Vishay TSOP 1838 IR receiver (datasheet: 1 x Breadboard Some jumper cables, to connect stuff around… Here’s a picture of my initial setup: Image 1: Jeenode connected to IR receiver module. Software

A Multi-Protocol Infrared Remote Library for the Arduino Do you want to control your Arduino with an IR remote? Do you want to use your Arduino to control your stereo or other devices? This IR remote library lets you both send and receive IR remote codes in multiple protocols. To use the library, download from github and follow the installation instructions in the readme. How to send This infrared remote library consists of two parts: IRsend transmits IR remote packets, while IRrecv receives and decodes an IR message. #include <IRremote.h> IRsend irsend; void setup() { Serial.begin(9600); } void loop() { if (Serial.read() ! This sketch sends a Sony TV power on/off code whenever a character is sent to the serial port, allowing the Arduino to turn the TV on or off. How to receive IRrecv uses an infrared detector connected to any digital input pin. The examples/IRrecvDemo sketch provides a simple example of how to receive codes: The IRrecv class performs the decoding, and is initialized with enableIRIn(). Hardware setup Some background on IR codes

software → arduino ethernet Feb 3, 2011 Version 1.0b4 Arduino 0017 or later Download Version History Arduino Ethernet is a collection of libraries I have written to use within the Arduino programming environment in conjunction with the Ethernet shield. While the individual libraries are downloaded within a single archive, they do not depend on each other (unless noted otherwise) and can be used independently. The libraries are published under the GPLv2 (or, at your discretion, any later version). Individual libraries EthernetBonjour | Documentation EthernetDHCP | Documentation EthernetDNS | Documentation Also, by popular demand, I've prepared a very simple demo sketch using DNS, DHCP and Bonjour together. Installation To install the libraries, you need to place the folders contained within the download zip into your "libraries" folder. On a Mac, you will want to create a folder named "libraries" in in the "Documents" → "Arduino" folder within your home directory. Disclaimer

aJson – an Arduino JSON Library — Interactive Matter What is JSON Exchanging data with other computers can be a daunting task with Arduino. No matter if you just want to pass some information to Processing, to a Web Service or something else – You always have to encode the data and decode the answer. There always have been solutions like XML for structured data. It’s like XML, but fat-free. JSON is quite widespread used so that is perfect for exchanging data with other applications. What is aJson aJson is an Arduino library to enable JSON processing with Arduino. It is based on the cJSON implementation, reduced in size and mising one or two features: The code has very limited support on ATmega168 – there is just not enough memory and memory fragmentation is a serious problem Arrays and Lists are max 255 elements big There is no proper Unicode handling in this code There is an internal buffer eating up 256 bytes of RAM You can download the latest version of aJsons from Github. Parsing JSON Parsing streams Filtering while parsing Lists in aJson

Related: