background preloader

Arduino

Facebook Twitter

RF Protokoll - JULA-Anslut - ElektronikWikin. Från ElektronikWikin JULA 'Anslut' protokoll Inledning JULA har en serie självlärande fjärrstyrda uttag i serien 'Anslut', liknande NEXA RF_Protokoll_-_Nexa_självlärande. De säljs idag, September 2010, för 99kr för ett paket med 3 on/off-mottagare och en fjärrkontroll. Ett bra pris för en kul leksak som är perfekt för lite hacking. Teknikdetaljer Kontroldata skickas på en 433.92MHz radiolänk. Sändarkretsen är en Holtek HT46R01T3 [1] som internt består av två delar, en MCU och en sändare. Pin 12 på kretsen är VCC till MCU'n. Det intressanta med dessa självlärande system, är att de användar en unik kod för varje fjärr. Bit format Bitkodning Data på länken är "kodat" så att för varje databit skickas det två bitar på radiolänken. '0' => '01' skickas '1' => '10' skickas Exempel: För dataströmmen 0111, skickas det 01101010 över radion.

Paketformat Varje datapaket består av en startbit föld av 26 + 2 + 4 (totalt 32 databitar) och avslutas med en stopbit. O = On/Off bit. Kodexempel Bilder. Arduinode - Wireless sensor node (WSN) network protocol for arduino. Multi hop data routing with dynamic ID allocation. Arduinode is a protocol for a wireless sensor net. Communication is handled in the background, neighbor nodes find each others and span the net. Some of its core features are: multi hop packet routing, dynamic id allocation, collision avoidance and rebroadcasting of lost messages. Introduction blog post on arduiNode The new rfm12 driver is now fully integrated into arduiNode and everything works great most of the time..

The only problems at the moment are packet collisions, but these should be gone soon. I plan to release version 1.0 till end of the month. Please drop me an email to the mail address found in the header files if you have any comment! For the communication channel you can choose between two options: infra red radio See the "Getting Started" article in the wiki for more details on how to connect the communication hardware to the arduino. Download arduinode.xx.zip and unpack it to ARDUINO_DIR/libraries/ Restart your arduino IDE after that. VirtualWire Library, for very cheap wireless communication. VirtualWire, by Mike McCauley (PDF), helps you use very inexpensive wireless radio modules. Download: VirtualWire.zip(version 1.15 - Teensy 3.0 support & minor improvements added) Very low cost RF modules require specially formatted data, with sync patterns, equal balance of 0 and 1 bits, and error checking.

VirtualWire provides all of these features, allowing for best performance from very cheap radio circuits. Hardware Requirements VirtualWire requires RF modules. In these photos, a 315 MHz RF Link Kit sold by Seeed Depot ($4.90) was used. These low cost modules are very simple. Transmitters usually have only a single data pin, which activate the RF output when high. VirtualWire uses Timer1, which means some PWM pins which require Timer1 will not work. Basic Usage VirtualWire works somewhat differently than most Arduino libraries. Configuration Functions vw_set_tx_pin(transmit_pin) Configure the transmit pin. Vw_set_rx_pin(receive_pin) Configure the receive pin, Default is pin 11. RF Modules. Www.instructables.com/files/orig/FB6/Q5DZ/H1QMLEJ0/FB6Q5DZH1QMLEJ0.pdf. Www.instructables.com/files/orig/FAY/0LCL/H2WERYWD/FAY0LCLH2WERYWD.pdf. Iowa Aquaponics. Google App Engine (GAE) is a cloud platform for hosting web applications and offers a number of advantages over traditional web server hosting.System administration is handled by Google engineers, freeing you to focus on application development.Automatic scaling.

Resources are allocated to meet demand.High-replication datastore. The cloud platform distributes application data across multiple machines, preventing data loss to mechanical failure.Pay for what you use. Similar to other Platform as a Service (PaaS) products, App Engine charges based on the resources you use, but with the addition of daily free quota. Applications are developed on your local machine in a sandbox, which mimics the live server environment. Google provides a Software Development Kit (SDK) to create the sandbox locally and once you have developed the application, it is upload it to App Engine for deployment.

Pricing Nearly every feature of App Engine has a free quota which is reset daily. Download the SDK Terminal. Index of /arduino/Arduino microcontroller projects. Sensors Kit for Arduino. Main Page - Firmata. Using an IR Sensor | IR Sensor. The good news is that it is very easy to hook up this sensor. Just connect the output to a digital pin. The bad news is that the Arduino's friendly digitalRead() procedure is a tad too slow to reliably read the fast signal as its coming in. Thus we use the hardware pin reading function directly from pin D2, thats what the line "IRpin_PIN & BV(IRpin))" does. If you run this while pointing a Sony IR remote and pressing the ON button you will get the following... If you ignore the first OFF pulse (its just the time from when the Arduino turned on to the first IR signal received) and the last ON pulse (it the beginning of the next code) you'll find the Sony power code: