Posts Tagged .NET Gadgeteer

Cercare file su una memory card SD (Italiano)

.NET Gadgeteer mette a disposizione una comoda API per interagire con le memory card SD collegate alla scheda attraverso il modulo SD Card: è possibile recuperare la lista dei file, delle directory, creare cartelle, leggere e scrivere file. Manca però un metodo che restituisca solo i file con una certa estensione. Vediamo quindi come aggiungere […]

,

Leave a comment

Il Designer di .NET Gadgeteer (Italiano)

By Mike Dodaro, translated by Marco Minerva from the original version in English. Il Designer di .NET Gadgeteer per Visual Studio permette di assemblare graficamente i componenti del sistema Gadgeteer. Questo esempio mostra alcuni dei moduli .NET Gadgeteer inclusi nel GHI Electronics FEZ Spider Starter Kit, che comprende una scheda FEZ Spider con processore ARM7. […]

Leave a comment

Un Server TCP con .NET Gadgeteer (Italiano)

.NET Gadgeteer offre un metodo molto semplice per creare un web server in grado di rispondere alle richieste GET, attraverso la funzione SetupWebEvent fornita dall’API del modulo Ethernet di GHI Electronics. Esempi di tale sistema sono disponibili su questo stesso blog, ad esempio nel post .NET Gadgeteer Web Services; Picture, Audio, Application. Se, invece, lavoriamo […]

,

Leave a comment

Web Service REST per registrare dati da un sensore .NET Gadgeteer (Italiano)

Translated by Marco Minerva from the English version by Michael Dodaro Questo esempio mostra come inviare messaggi da un’applicazione .NET Gadgeteer verso un Web service REST che registra i dati sull’attivazione di un sensore. In questo caso il sensore è il Light Sensor implementato in uno dei precedenti post. Il messaggio è semplicemente un identificativo […]

, , ,

1 Comment

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

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

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

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