background preloader

Pinoccio - Wireless microcontroller for web-enabled DIY projects.

Pinoccio - Wireless microcontroller for web-enabled DIY projects.

Das eigene Haus hacken: So baust du dir eine Fernbedienung, die Türen öffnet Wer per Fernbedienung den HTPC oder Beamer hoch und die Jalousien herunterfahren möchte, das Licht dimmen oder die Heizung einschalten möchte, der benötigt eine Heimautomation. Fertige Produkte gibt es in diesem Bereich reichlich: Von der billigsten Funksteckdose (die nur bei gutem Wetter funktioniert) bis zur luxuriösen Produktserie, die die Tür abschließt oder die Heizung steuert. Wer viel Geld ausgeben möchte, kann die Installation getrost einem Fachmann überlassen. Bis vor kurzem galten Mikrocontroller selbst unter vielen Programmierern als biestige Ungetüme. Was ist Arduino? Die Arduino-Plattform ist eine preiswerte Open-Source-Umgebung für ATMega-Mikrocontroller, die aus verschiedenen ATMega-basierten Experimentier-Platinen besteht. Dazu passend gibt es so genannte Shields , mit deren Hilfe man alle möglichen Arten zusätzlicher Hardware auf das Arduino aufstecken kann (ja, wie Lego). Welches Arduino passt für die Heimautomation? Funk mit RFM12 Die Zentrale und ihre Frontends

ArduinoEclipsePlugin/ at master · DanChianucci/ArduinoEclipsePlugin The best Microcontroller projects and resources. O'Baka / One Chip Arduino "0'baka Project" means a stupid project. This project is to make things which is not art and which is not usable. Now, I am making "One chip arduino" by using ordinary parts. Japanese English The circuit of LilyPad arduino is mounted on the DIP of ATmega88. LCD Digital Clock It used "One Chip Arduino", LCD and RTC. Arduino on Arduino I made DIP a flat by force to hold down height. It's form such as a weird bug. Connected LCD. "One Chip Arduino" which I made as a joke. other hacks (not o'baka project) Burning the Bootloader without external AVR-Writer Arduino meets Processing via Wifi Arduino Tutorials - Ethernet+SD Whatsit? We just got the latest version of the Arduino Ethernet shield with a MicroSD card slot and I promised Bill Greiman I'd try out the latest version of his SdFatLib library so I decided to code up a simple Webified file browser. Its a quicky project and demonstrates what you can do, but it isn't 100% perfect so you should be ready to modify it if you'd like to do other stuff, 'K? This is a good beginning to a logging web-monitor, or remote storage system. Get familiar Initializing Micro-SD card on an Ethernet shield The latest Arduino Ethernet shield comes with a handy MicroSD card slot so that you can store and retrieve data through the shield. Be sure to have the very latest version of SdFatLib , as you'll need some of the newer capabilities! First thing to note is that the SS (Slave Select) pin for the card is digital 4 (although as of the writing of this mini-tutorial, the schematic hasn't been updated, you'll have to trust me!) uint8_t r = card.init(SPI_HALF_SPEED); To: List files

WebServer Web Server well structured For work I've done, I needed to put a webserver on an Arduino.Other examples are too easy for my case, so I realized this sketch.Now, I publish it for the Arduino community. Open source rocks! I hope someone can find it useful :-) mw - <Yes, I'm new to the Arduino and found your sketch a great starting point - thank you so much for posting. Hardware needed an Arduino, obviously an Ethernet Shield Pages on flash memory There are 5 pages in this sketch (page 1, 2, 3, 4 and login). I've modified the script posted by Alessandro Calzavara to allow easy customization (removed variables limits and other stuff like URI managment). // Page 2 PROGMEM prog_char http_uri2[] = "/page2"; PROGMEM prog_char content_title2[] = "<h2>Page 2</h2>"; PROGMEM prog_char content_page2[] = "<hr /><h3>Content of Page 2</h3><p>Nothing here. The first value is the HTTP URI (page name), the second is the page title and the third is the real content. Page request That's all. Sketch WebServer.h

Streaming Arduino Data to a Browser without Flash or Java | The Concord Consortium What if you were reading a blog or working through an online lesson and you could just plug in your Arduino and start taking data or interacting with models right in your browser? Here at the Concord Consortium we are very interested in making sensors that are easy to use in the classroom or embedded directly into rich online curriculum. We’ve done some work in the past using applets as an intermediary to read data from commercial sensors and displaying them in lightweight graphs in the browser. When we think of fun, hackable, multi-probe sensors, though, we naturally think of Arduinos — we are open-source geeks after all. In thinking of ways to display Arduino data in a browser with the minimum amount of fuss, we considered both our existing applet technique and using the new HID capabilities of the Arduino Unos. With this idea, it was quick work to hack the Arduino Server example to send JSON values of the analog pins and create a webpage that would rapidly poll the Arduino for data.

aJson – Handle JSON with Arduino — Interactive Matter Lab Update: There has bee a major API change in Version 1.0 refer to the dedicated aJson page. 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. Using aJson To use aJson get it from the git repository or download the latest version. Unpack the zip file (or the git files) into an Folder ‘aJson’ in the Arduino library directory ‘libraries\’. To parse the above structure with aJson you simply convert it to a object tree: aJsonObject* jsonObject = aJson.parse(json_string); (assuming you got the JSON string in the variable json_string – as a char*). aJsonObject* name = aJson.getObjectItem(root, "name"); The value of name can be retrieved via: Serial.println(name->value.valuestring); name->type which can be either aJson_False, aJson_True, aJson_NULL, aJson_Number, aJson_String, aJson_Array or aJson_Object. Finished?

Related: