Posts Tagged REST Web Service

Controlling a Light Switch using Windows Phone

Posted by Marco Minerva In this post, I’ll show how to control a Relay module using a Windows Phone app that is able to remotely turn on or off a light. Let’s start creating a new Gadgeteer application. Connect the following modules to a FEZ Spider Mainboard: USB ClientDP; WiFi RS21, to allow connections to the device; Multicolor […]

, , ,

15 Comments

.NET Gadgeteer Relay Actuator via REST Web Service

The .NET Gadgeteer Relay Module from Seeed Studio can be used to activate devices that are designed to run on common household electrical circuits of 120 volts AC or higher if necessary.  The four relays on the Seeed Relay Module are switches with the options, normally open or normally closed. You can power on or power off […]

, , , , ,

4 Comments

Usare un servomeccanismo per orientare la videocamera con .NET Gadgeteer (Italiano)

By Mike Dodaro, translated by Marco Minerva from the original English version. L’interfacccia Gadgeteer.Interfaces.PWMOutput permette l’utilizzo di un servocontrollo per muovere le parti meccaniche di un device, secondo le esigenze delle applicazioni. Questo esempio dimostra l’uso dell’interfaccia Gadgeteer.Interfaces.PWMOutput e di un servomeccanismo per girare la videocamera su un arco di circa 140 gradi. Il valore […]

, , , ,

Leave a comment

Using a Servo in a .NET Gadgeteer Camera Device

The Gadgeteer.Interfaces.PWMOutput interface can support the use of a servo to move mechanical parts of a device as needed by applications. This example uses the Gadgeteer.Interfaces.PWMOutput interface and a servomechanism to turn a camera through an arc of about 140 degrees.  The Pulse Width Modulation (PWM) input for this servo is obtained from a WCF REST Web service running on a remote IIS Server.  The […]

, , , , , ,

9 Comments

Sending .NET Gadgeteer Sensor Data to a REST Web Service

Sending data to a Web service from a device with an embedded microprocessor is a very common and useful scenario.  This example demonstrates the procedures using the .NET Gadgeteer Pulse Oximeter manufactured by Seeed Studio and a REST Web service implemented on the Windows Communication Foundation (WCF) platform. This post has been updated to use HttpHelper.CreateHttpPostRequest. The Seeed Pulse […]

, , , , ,

26 Comments

Remote Control of .NET Gadgeteer Device via REST Web Service

This example extends code in a previous post: Using the .NET Gadgeteer DigitalOutput Interface. The previous example uses Gadgeteer.Interfaces.DigitalOutput to turn on a LED from application code instead of through a module driver.  .NET Gadgeteer device components can be controlled directly from code.  We’re going to extend this scenario to control various device components by setting their state via a Web service that […]

, ,

1 Comment