Category Archives: .Net Micro Framework

Switch your lights with LightSwitch

With a name like LightSwitch, you know someone had to do it eventually. Here is fun little project that combines Microsoft LightSwitch and a Microsoft Micro Framework controller to switch LEDs on and off.  Here is the hardware: FEZ Panda … Continue reading

Posted in .Net Micro Framework, C#, LightSwitch | Tagged , , | 3 Comments

NETMF Get/Set Real Time Clock (RTC)

Just a short reminder post on how to get and set RTC.  The RTC is powered by VBatt pin and keeps the RTC ticking with the time after you set it once.  After you set it, then just read the … Continue reading

Posted in .Net Micro Framework, C# | Tagged , , , | 1 Comment

FEZ firmware update helper

Just wanted a reminder post when I have to update FEZ with new firmware. Update Fez Firmware1) Hold LDR button then plug in USB.  New comm port should appear in devices (i.e. comm13)2) Open TeraTerm3) Erase current with E4) Load … Continue reading

Posted in .Net Micro Framework, C#, FEZ | Tagged ,

NETMF Servo classes (PWM and Software versions)

Just posting some servo classes.  One for hardware PWM control and one for software PWM using OutputCompare. Never know when you may need. using System; using GHIElectronics.NETMF.FEZ; using GHIElectronics.NETMF.Hardware; namespace MicroFezRobot { public class ServoHardPWM : IServo { readonly PWM … Continue reading

Posted in .Net Micro Framework, C#, FEZ, Motors, Servo | Tagged , , ,

NETMF Joystick Shield Driver

Adding a joystick to your NETMF device is easy with the Sparkfun joystick shield and the following code. /* Copyright 2011 William Stacey Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in … Continue reading

Posted in .Net Micro Framework, C#, FEZ, Robotics | Tagged , , , , ,

Saleae Logic Review

Received my Saleae Logic today. I did not think I would ever need one. But had an issue with PWM and controlling a servo from my FEZ board. Something like a logic analyzer is really the only way to drill … Continue reading

Posted in .Net Micro Framework, FEZ, Testing | Tagged , , ,

Simple servo control from FEZ

If you just need the easiest possible way to hook up a servo to FEZ, it does not get easier then this.  No breadboards, mosfets, or resistors.  Just hook the servo wires into the fez and control.  If your servo … Continue reading

Posted in .Net Micro Framework, C#, FEZ, Robotics, Servo | Tagged , , , ,