background preloader

Libraries / Frameworks

Facebook Twitter

aJson – an Arduino JSON Library — Interactive Matter. What is JSON Exchanging data with other computers can be a daunting task with Arduino.

aJson – an Arduino JSON Library — Interactive Matter

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. But XML is hard to decode, complicated an takes up a lot of space. And then there is JSON. 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.

Playground - Time. 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.

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

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. Sirleech/Webduino - GitHub. 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.

software → arduino ethernet

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.


A Multi-Protocol Infrared Remote Library for the Arduino. Do you want to control your Arduino with an IR remote?

A Multi-Protocol Infrared Remote Library for the Arduino

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. It supports NEC, Sony SIRC, Philips RC5, Philips RC6, and raw protocols. If you want additional protocols, they are straightforward to add. The library can even be used to record codes from your remote and re-transmit them, as a minimal universal remote. 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 ( !

Jeenode infrared project part 1: getting started. 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.

Jeenode infrared project part 1: getting started

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 Samsung IR protocol And here are the used variables: POWER 0x40BF.