Home Automation Part 3 – Using Regular Expressions to Parse Sensor Data

  In the previous installment I managed to set up basic communications with the sensor network and try out some Link45 commands using my Super-Simple Serial Console. In order to actually do anything with the sensor data, I would need a function that could crack the Link45 responses into sensor IDs and temperature and humidity…


Building a traffic signal with Christmas lights

It started out as a simple project. My children had become interested in basic electrical circuits so I bought them some LEDs, batteries, wire, and solderless breadboard to play around with. I soon found that these components weren’t ideal for a number of reasons. While the solderless breadboard makes it easy to wire up circuits, it…


Save the date for PDC ’07

Microsoft has just announced that the next Professional Developers Conference (PDC) will be October 2-5, 2007 in Los Angeles, with two days of pre-conference on September 30 and October 1. The last two PDCs were fantastic and this one is likely to be just as exciting and informative. You can find more information here. Hope…


Implicit and Explicit Interface Implementations

As I was putting together a post on IEnumerable and IEnumerator I was reminded of the subtleties of implicit and explicit interface implementations. C# does not support multiple inheritance, but a class has the option of implementing one or more interfaces. One challenge with interfaces is that they may include methods that have the same signatures as…


MSDN Community Content

MSDN recently added Wiki functionality to the portion of the site dealing with Visual Studio 2005 and .NET Framework 2.0. This already looks like it is going to be a great resource – at the time of this post, there were almost 1000 topics with Community Content from over 300 contributors. You can read more about…


Home Automation Part 2 – Making Basic Measurements

  In the previous installment I described my decision to build a temperature and humidity sensor network using modules from IButtonLink.com. The heart of the system is the Link45 which connects the PC’s serial port to the sensor network and provides an ASCII interface to the sensors. In previous home automation projects using .NET 1.1…


MSDN Online Chat: LINQ to SQL

Members of the C# team will be hosting an online chat session about LINQ to SQL on Tuesday, December 12, 2006. Here’s the description: The LINQ Project is a codename for a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. LINQ to SQL is a component of LINQ…


Programming Projects

Home Automation Home Automation Part 1 – Burning $200 of propane Home Automation Part 2 – Making Basic Measurements Home Automation Part 3 – Using Regular Expressions to Parse Sensor Data  


New for Visual Studio 2005

IDE Features New For VS2005 – Abstract Stub Generation Language Features (coming soon)


New For VS2005 – Abstract Stub Generation

Visual Studio 2005 includes a new feature to generate stubs for methods in an abstract base class. Here’s an example of how it works. Suppose you want to create a class called MyDerivedClass that inherits from an abstract class called MyAbstractClass:   Before Visual Studio 2005, you would have had to look up and then…