Archive for December, 2011

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

.NET Gadgeteer Gyro Module from Seeed Studio

Here’s an example that graphically displays data from the Seeed Gyro module for .NET Gadgeteer.  The GHI Electronics Display_T35 module displays the output. Plug the Gyro module into Socket 3.  Connect the display module and a button in the .NET Gadgeteer designer, but do not connect the optional touch-screen cable to Socket 10.  Apparently the touch screen is incompatible with the Seeed Gyro and […]

, ,

6 Comments

XML Configuration Files for .NET Micro Framework Applications (English)

By Marco Minerva, translated Mike Dodaro from the original Italian version. All applications require configuration files; we use them to customize behavior and to set parameters unknown at compile time, or those that may change over time (such as the database connection string, the address of the mail server, etc.). .NET supplies the class ConfigurationManager, or WebConfigurationManager for Web applications, to […]

, ,

6 Comments

File di configurazione XML per applicazioni .NET Micro Framework (Italiano)

Tutte le applicazioni necessitano di file di configurazione: li utilizziamo per personalizzare il loro comportamento e per impostare parametri non noti in fase di compilazione, o che possono cambiare nel tempo (come la stringa di connessione al database, l’indirizzo del server di posta elettronica, ecc.). .NET fornisce la classe ConfigurationManager (o WebConfigurationManager, nel caso di […]

,

Leave a comment

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

Soluzione temporanea per l’errore su KeyboardConnected con il modulo USBHost (Italiano)

By Mike Dodaro. Translated by Marco Minerva from the original English version. Come illustrato nel post Soluzione temporanea Soluzione temporanea per il corretto funzionamento del modulo Ethernet_J11D, diversi problemi possono essere risolti utilizzando direttamente le NETMF API fornite da GHI Electronics invece del più recente Gadgeteer SDK. Provando ad utilizzare il modulo USBHost, ad esempio, […]

Leave a comment

Soluzione temporanea per il corretto funzionamento del modulo Ethernet_J11D (Italiano)

By Mike Dodaro.  Translated by Marco Minerva from the original English version. Allo stato attuale dello sviluppo, il modulo GHI Electronics Ethernet_J11D, in alcune configurazioni, potrebbe non funzionare correttamente utilizzando le librerie incluse nel .NET Gadgeteer SDK. I motivi del problema sono spiegati in questo post: http://www.tinyclr.com/forum/21/5010/. Non è ancora stato rilasciato un aggiornamento ufficiale […]

,

1 Comment

Finding Files on an SD Memory Card (English)

By Marco Minerva.  Translated by Mike Dodaro from the original Italian version. .NET Gadgeteer makes useful APIs available to interact with an SD memory card in a module such as this SD Card Module available from GHI Electronics. It is possible to get a list of files, directories, to create files, and to read and write to them. Missing […]

,

Leave a comment

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

Interim Solution to KeyboardConnected error USBHost Module

The previous post: Interim Solution to Ethernet_J11D Failure led to a Eureka moment for me.  I was running my daily slog, not in the bath like Archimedes, but it occurred to me that other problems might be solved by using the NETMF API provided by GHI Electronics instead of their newer Gadgeteer SDK.  I hit a dead end  with the […]

1 Comment

Interim Solution to Ethernet_J11D Event Failure

At this stage of development, the NetWorkUp event of GHI Electronics Ethernet_J11D module does not work with the latest .NET Gadgeteer SDK. The reasons are explained in the forum thread here: http://www.tinyclr.com/forum/21/5010/  The fix is not public yet. GHI has good documentation, so I adapted code from their example in the topic: Ethernet Class.  So far, the ethernet class […]

8 Comments

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

A TCP Server using .NET Gadgeteer

By Marco Minerva, translated by Mike Dodaro from the original version in Italian.  .NET Gadgeteer offers to a very simple method to create a web server that will respond to GET requests, using the SetupWebEvent function supplied by Ethernet module as implemented by GHI Electronics. Examples are available on this blog, as in the post: .NET Gadgeteer Web Services; Picture, Audio, Application. If […]

14 Comments

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