Copyright
(c) 2005 Javier Martinez. Permission is granted to copy, distribute and/or
modify this document under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts.
There's some interesting projects just Googling a bit, but many of them are a bit old in electronics terms. So I decided to make my own dew controller.
The key elements are:

The PIC16F628 microcontroller will power on heater until the temperature of heater is greater of a given value ( Theater-Tair >= DiffMax ), and will power off heater until lower a given value ( Theater-Tair <= DiffMin ). The key is to keep the lens temperature just a few ºC above the ambient temp.

The controller have two different differential temps, it will chose the correct one when powering up the system. These differential temps are not related to sensor temps, are related to conexion sockets (RJ45):
.
In order to calc the resistive element of the heater I'll take the lens diameter. With a 50mm lens diameter I'll need a 3W heater. So the calcs:
Here's some shoots of the already working prototype.
- The box

- The bottom layer

- The top layer

- The heater socket

- The heater inside

- The heater finished

... to build your own PCB circuit are here.
... written in JAL to program the PIC are here.
Legal notes:
The source code of this project is GNU GPL
This file, graphics and photographs are GNU FDL
The Eagle circuit was done using the freeware version.
(c)2005 Javier Martínez.