Archive for November, 2011

Seeed Pulse Oximeter .NET Gadgeteer Module

The Seeed Pulse Oximeter is a monitoring device that measures pulse and noninvasively detects oxygen saturation of the blood.  This post demonstrates use of the Pulse Oximeter in a .NET Gadgeteer application. Plug the PCB module into a mainboard socket that has the U label.  This example uses socket number 8 on the GHI Electronics Fez Spider mainboard.  (Do not […]

2 Comments

A ProgressBar for .NET Gadgeteer (English)

English translation by Mike Dodaro of Italian version by Marco Minerva. As pointed out in a previous post, the graphical controls that ship with .NET Gadgeteer can be used to create more complex objects. Today we see how to implement a ProgressBar that displays the progress of an operation, as shown in the following video. The code that supports this scenario […]

, ,

Leave a comment

A Command Push-Button for .NET Gadgeteer

Translated by Mike Dodaro from the Italian version by Marco Minerva We continue discussion of the graphical controls for the .NET Gadgeteer display. This time we implement the CommandButton, that is the classic push-button. The code for the CommandButton class is as follows: The CommandButton inherits from Border and defines four properties, with which you can specify the color of an […]

Leave a comment

Un pulsante di comando per .NET Gadgeteer (Italiano)

Continua la nostra rassegna dei controlli grafici per il display del .NET Gadgeteer (An English translation is available). Questa volta ci occupiamo del CommandButton, ovvero il classico pulsante di comando. Il codice della classe relativa è il seguente: Il CommandButton eredita da Border e definisce quattro proprietà, con cui è possibile specificare il colore del […]

,

Leave a comment

Implementare un modulo di tipo Light Sensor con .NET Gadgeteer (Italiano)

by Mike Dodaro (translated from English by Marco Minerva) Questo esempio mostra come realizzare un modulo di .NET Gadgeteer utilizzando un fototransitor ad infrarossi e una resistenza pull-up di 10 kilo ohm. La connessione con tale hardware è effettuata attraverso il GHI Electronics Extender Module.  L’output attiva una logica binaria su un pin digitale di […]

Leave a comment

Utilizzare Camera, Touch Screen e Storage su SD con .NET Gadgeteer (Italiano)

by Mike Dodaro (translated from English by Marco Minerva) Questa applicazione è implementata utilizzando i moduli e la mainboard che fanno parte del GHI Electronics Spider Kit per Micorosoft .NET Gadgeteer.  Utilizza la funzionalità touch screen del modulo GHI Electronics .NET Gadgeteer Display T35 per attivare la camera e mostrare le immagini catturate. L’alimentazione è […]

Leave a comment

.NET Gadgeteer Relay Circuit using DigitalOutput Interface

The relay scenario uses a low-voltage logic circuit to control another circuit, usually of higher voltage.  The relay in this example is a 5 volt DC single pole, single throw reed relay. It is used to switch a battery-driven motor on and off.  The switch is controlled by the Gadgeteer.DigitalOutput interface in a .NET Gadgeteer Visual Studio application. The schematic for this […]

,

7 Comments

Una ProgressBar per .NET Gadgeteer (Italiano)

Come accennato in uno post di qualche giorno fa, i controlli grafici forniti da .NET Gadgeteer possono essere facilmente combinati per creare oggetti più complessi. Oggi vediamo come realizzare una ProgressBar, utile per mostrare a video lo stato di avanzamento delle operazioni. Il controllo ProgressBar eredita da Border e vi aggiunge quattro proprietà: Minimum e […]

,

5 Comments

Synchronize the Clock with a Reference Server on the Internet (English)

by Marco Minerva (translated from Italian by Mike Dodaro) Nearly all applications have to use date and time to record when files are saved, to record accesses to resources, etc. The .NET Micro Framework is no exception.  If it were, every application, hardly under way, would have to update its own clock to synchonize it with the real timetable. Beginning with version 4,0, the […]

,

3 Comments

Sincronizzare l’orologio con un server di riferimento su Internet (Italiano)

Praticamente tutte le applicazioni che conosciamo hanno a che fare date e ore: per registrare il momento in cui viene salvato un file, per tenere traccia degli accessi alle risorse, ecc.. Il .NET Micro Framework non fa eccezione: anche su tale piattaforma, ogni applicazione, appena avviata, dovrebbe aggiornare il proprio orologio interno per allinearlo all’orario […]

,

Leave a comment

Windows-like Interface for the .NET Gadgeteer Display (English)

by Marco Minerva (translated from Italian by Mike Dodaro) In the preceding post we created graphical interfaces using the display platform of .NET Gadgeteer.  We have seeen how the controls available are extensible in the implementation of complex user interfaces. We would like to realize a shielded “Windows-like” UI, that is, with title bar and status bar. We create a class named MainWindow, which the Canvas […]

,

1 Comment

Interfacce Windows-like con .NET Gadgeteer (Italiano)

Nel precedente post abbiamo visto come creare interfacce grafiche sul display della piattaforma .NET Gadgeteer. In tale occasione abbiamo accennato al fatto che i controlli disponibili possono essere facilmente estesi per ottenere interfacce anche molto complesse. Vediamo quindi come creare la base per realizzare una schermata “Windows-like”, ovvero con barra del titolo e barra di […]

,

Leave a comment

Using the Graphics Interfaces of .NET Gadgeteer (English)

By Marco Minerva (translated from Italian by Mike Dodaro) Thanks to the tools provided by .NET Gadgeteer SDK, creating graphical interfaces with the touch screen is very simple. In fact, the Display object, besides the classic “primitive” functions to create images, geometric shapes, and text, exposes an object called WPFWindow with which it is possible to create objects with functionality similar […]

,

Leave a comment

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

Realizzare interfacce per .NET Gadgeteer (Italiano)

Grazie agli strumenti offerti dal .NET Gadgeteer SDK, creare interfacce grafiche touch screen è estremamente semplice. L’oggetto Display,  infatti, oltre alle classiche funzioni “primitive” per disegnare immagini, forme geometriche e testo, espone un oggetto, chiamato WPFWindow, grazie al quale è possibile creare oggetti con una filosofia simile a quella che si avrebbe con WPF. Vediamo […]

,

Leave a comment

Using the .NET Gadgeteer DigitalOutput Interface

You can use the classes of the Gadgeteer.Interfaces namespace directly in code, instead of inside a module driver.  This example uses the Gadgeteer.Interfaces.DigitalOutput interface.  The voltage on this logic circuit, in the high state, is enough to light a LED.  Later we’ll use a relay in the same circuit to implement a more interesting application.  (See also the Light Sensor, which […]

4 Comments

Extension methods with .NET Micro Framework (English)

by Marco Minerva (translated from Italian by Mike Dodaro) The .NET Micro Framework does not support extension methods, because it does not contain the ExtensionAttribute class, which indicates that a method is an extension.  But, adding this functionality is very simple.  First, create this class in the project: This allows creation of extension methods in […]

1 Comment

Extension methods con .NET Micro Framework (Italiano)

Il .NET Micro Framework non supporta gli extension methods, perché non contiene la classe ExtensionAttribute, utilizzata appunto per indicare che un metodo è un’estensione. Tuttavia, aggiungere questa funzionalità è molto semplice. Innanzi tutto, creiamo questa classe direttamente nel nostro progetto: Questo ci permette di creare extension methods nel solito modo che conosciamo: L’utilizzo, poi, è […]

4 Comments

REST Web Service to Record Data from a .NET Gadgeteer Sensor Device

This example demonstrates how to send notification from a .NET Gadgeteer sensor to a REST Web service that records data about the sensor activation.  In this case the sensor is the Light Sensor implemented in the previous post.  The notification data is simply a sensor account identifier and the date and time the sensor is activated.  The code is extensible for various types […]

, , ,

15 Comments