manralgs / examples

Complete Examples for the Electric Imp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Code

This is a collection of examples written for the Electric Imp platform. Not all code in this repository is actively maintained, so please submit pull requests if you make improvements to the example code.

Recent Examples

Examples for use with the Imp005 EZ Eval board.

Updated June 30, 2017

A series of eight examples for use with the sensors on the impExplorer Developer Kit or impAccelerator Battery Powered Sensor Node. These examples range from simple to advanced programming. Each example builds on the skills learned in the previous example. Please note that the first few examples are not power efficient and will drain battery powered devices quickly.

Updated June 29, 2017

This example was written for the Battery Powered Sensor Node to determine the battery voltage. The battery class included in this example can be used for other devices as long as there is an analog pin that is connected directly to the battery. Please note this code is not usable for determining the battery voltage on the impExplorer Developer Kit, since no analog pins are connected directly to the battery.

Updated June 21, 2017

This example uses an impAccelerator Fielbus Gateway and the Electric Imp Modbus Library to monitor the temperature via a Click PLC.

Updated May 26, 2017

This example transmits accelerometer data from an Arduino Feather with a LoRa RH_RF95 to an impAccelerator Wireless Gateway with a LoRa RN2903 radio.

Updated May 26, 2017

This example contains an example of factory firmware code. It uses an impFactory™ as the factory fixture and impAccelerator™ Battery Powered Sensor Nodes as the devices being tested and produced.

Updated May 26, 2017

This example shows a low power application for the ImpAccelerator Battery Powered Sensor node that takes environmental sensor readings.

Updated May 25, 2017

This example uses an impAccelerator Fielbus Gateway and the Electric Imp Modbus Library to contol and monitor a pump via a Click PLC.

Updated May 25, 2017

Instructables Code

Updated February 28, 2015

This code remains a primarily as a reference for emma reference design.

Updated December 15, 2014

This example uses an imp to control the motor on a snack dispenser. The agent serves a webpage with a form used to dispense candy.

Updated June 2, 2014
Updated January 23, 2014

Build an internet-connected thermal printer with an electric imp. Instructable code.

Updated January 22, 2014

Older Examples

This example code is intended to be used with the imp002-EVB guide on the Electric Imp Developer Center.

Updated April 14, 2015

Outdated factory code example.

Updated January 23, 2015

This code remains a primarily as a reference for flora reference design.

Updated January 23, 2015

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

This example uses Input/Output Ports, which have been replaced by Agents and HTTP request-based communication. This code will not work as currently written, but remains primarily as a reference for older designs.

Updated December 15, 2014

Example code for 9dof and env sensor tails.

Updated November 13, 2014

The Sana reference design implements an internet-connected universal remote.

Updated November 3, 2014

FutureStack Badge reference code.

Updated November 3, 2014

These examples were used for Dreamforce 2014 workshops.

Updated October 12, 2014

This is a very basic TTS example intended to demonstrate the absolute bare minimum to get up and running with audio.

Updated August 14, 2014

This example shows a simple example of how to wrap the Fixed-Frequency DAC class to play back analog waveforms, and a simple example of how to wrap the Sampler class to record analog waveforms.

Updated July 21, 2014
Updated July 9, 2014

Lala is a battery-powered audio recording and playback impee with 4MB onboard SPI flash memory. Lala is designed as a starting point for building an asynchronous message delivery system, like an intercom

Updated June 17, 2014
Updated June 6, 2014

This code remains a primarily as a reference for hannah reference design.

Updated June 5, 2014

Olive is a reference design for an RFID/NFC reader connected to an Electric Imp. The example here is not complete reference code.

Updated June 5, 2014

This example demonstrates how to set the color of an RGB LED based on data received via an incoming HTTP request.

Updated June 2, 2014
Updated June 2, 2014
Updated June 2, 2014
Updated June 2, 2014

This Lala Voice Recorder is a simple wifi voice recorder.

Updated June 2, 2014

Electric Imp's Point of Sale Demo.

Updated June 2, 2014
Updated June 2, 2014
Updated June 2, 2014
Updated June 2, 2014

This is a sample application used to demonstrate how to pass messages between device and agent. It can also be used to view latency times of the Electric Imp platform.

Updated May 28, 2014

The goal of the shelºF project was to build a smarter internet connected thermostat system.

Updated May 28, 2014
Updated May 19, 2014

This example demonstrates how to trigger a solenoid whenever an incoming HTTP request is received. In our example, the solenoid strikes a cowbell!

Updated May 15, 2014

This example demonstrates basic digital IO.

Updated May 15, 2014

This example demonstrates how we can make a web request to any URL when a button is pressed. In this example, we're making a request to our Internet-Connected Cowbell

Updated May 15, 2014

This example demonstrates how to control a PowerSwitch Tail II from an HTTPS endpoint. In this example, we've also implemented a basic agent webpage, and some "security" (a password field that must match).

Updated May 15, 2014

This example counts incoming requests (based on a particular key) and reacts in two ways: it moves a servo to the left or right to indicate a Tug-Of-War and it displays the number of 'left' and 'right' requests that have come in since the code started running.

Updated May 15, 2014

This example demonstrates how to send temperature data to Keen IO every minute.

Updated May 15, 2014
Updated February 11, 2014
Updated January 8, 2014
Updated November 6, 2013
Updated October 7, 2013

License

These examples are licensed under the MIT License.

About

Complete Examples for the Electric Imp

License:Other


Languages

Language:PHP 71.2%Language:Squirrel 13.8%Language:C++ 10.2%Language:JavaScript 1.9%Language:C 1.0%Language:Objective-C 0.7%Language:HTML 0.5%Language:Arduino 0.3%Language:CSS 0.2%Language:Python 0.1%Language:Processing 0.1%Language:Perl 0.1%Language:Makefile 0.0%Language:Shell 0.0%Language:ApacheConf 0.0%