Skip to the content
2 layers15 × 20 mmM8 Adaptor, the printed circuit board in 3D

Dew heater controller for telescope dew heater straps

Size
15 × 20 mm
Copper layers
2
Thickness
1.6 mm
Parts
2
Nets
4
Pads
8
Tracks, vias
16, 0
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
2 Aug 2019
Updated
18 Feb 2020

Overview

M8 Adaptor is an open-source printed circuit board by kuellenberg, from the kuellenberg/Dew-Controller repository on GitHub. It is a 2-layer board of 15 × 20 mm with 2 parts on 4 nets, routed with 16 tracks and 0 vias.

It belongs with the sensors and measurement boards and the PIC boards of this library.

README

README.md

Dew Controller

Microcontroller based project to control dew heater straps used on a telescope.

Specification

  • Operating voltage: 12V dc
  • Power consumption (idle): t.b.d.
  • 4 independently controlled heater channels
    • RCA jacks
    • Electronic overcurrent and short circuit protection
    • Total output current: 3.5 A max.
  • 12 x 2 OLED display
  • External temperature and humidity sensor connected via RS232 interface
    • Uses Silicon Labs Si7006 precision sensor
      • +/-1°C max.
      • +/-5% RH max.
  • Auxiliary NTC temperature sensor input for testing and calibration
  • User-friendly menu with rotary encoder input

Dew controller

Theory of operation

The dew controller continuously calculates the required heating power for each connected dew heater strap based upon lens diameter and current temperature and humidity conditions. By carefully controlling the heating power negative seeing effects caused by undesired air movements are reduced to a minimum. The underlying algorithm compensates for the rate of heat flow from the telescope lens to the cold sky, assuming that the telescope is equipped with a dew shield and only the circular area of the lens is exposed to the sky. An adjustable 'fudge factor' copes with all other deficiencies, like lack of thermal insulation from the heater straps. The theory gives very simular results to the rule of thumb given by [1].

Hardware

Controller Unit

Schematic Dew Controller The dew controller is build around a PIC16F15356 microcontroller with 16k words of flash memory and 2kB of RAM. It is configured to run at a clock frequency of 4.0 MHz, generated by its internal oscillator. With hindsight, regarding flash memory size and the string constants required by the menu system, the part wasn't the optimal choice. Without compiler optimizations the code doesn't fit on the device. For the next revision of the hardware a pin compatible PIC18F should be considered.

Since the controller has to be capable of measuring the current on each heater channel, the circuit comprises a TI INA180 high side current sense amplifier. To reduce cost and complexity, only a single amplifier is used and firmware measures the current of each channel sequentially. As for overcurrent and short circuit protection, an integrated solution is used. The Vishay SiP32419 is a load switch with programmable current limit up to 3.5A and eliminates the need for a conventional fuse (for which you'll never bring any spares, when you operate the device on a field trip).

The input voltage is measured with a simple voltage divider, buffered by 1/2 LM358. The other half of the Opamp is used for buffering the auxiliary NTC temperature sensor input.

It turned out that the switch mode regulator used on the OLED display module injects a lot of conducted noise back into the supply rails, which seriously impacts the performance of the microcontroller's ADC. The easiest way to block the noise from getting into the microcontroller was using a dedicated linear regulator for the display module. The regulator can be turned off via a MOSFET to save power during standby operation.

The device's menu system is entirely operated by a single rotary encoder with integrated push button. Although the quadrature signals are rudimentary low pass filtered, further debouncing is required in software.

High side P-channel MOSFETs are used to operate the four heater channels.

The external temperature and humidity sensor is connected via an RS-232 interface, providing flexibility when testing different types of sensors. Although technically, the RS-232 level shifter isn't necessary if short cables are used, it gives good ESD protection and some extra noise immunity.

Case design

The housing is designed with Schaeffer AG Frontplatten Designer

Sensor Box

The sensor circuit is very simple. It uses the PIC16F325 with 8k words flash memory and 1kB RAM. Unlike the controller circuit, it is powered by a 3.3V regulator. The Si7006 temperature and humidity sensor via connected I2C. RS-232 level shifting is done by a MAX3232. The PCB is designed to fit into a Hammond 1551 case with custom lid.

Schematic Dew Sensor

Firmware

Firmware development is done in MPLAB X with XC8 compiler.

t.b.c.


[1]: G. D. Roth, Handbuch für Sternfreunde. Band 1: Technik und Theorie. ISBN 978-3-662-35367-7

Parts

2
QtyValueFootprintReferences
1JST XH Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_VerticalJ1
1M8ak:RSMHL_4J2

More from kuellenberg/Dew-Controller

2
  • 2 layers100 × 50 mmDew Controller, the printed circuit board in 3D

    Dew Controller

    kuellenberg/Dew-Controller

    Dew heater controller for telescope dew heater straps

    92 parts2
  • 2 layers29 × 29 mmDew Sensor, the printed circuit board in 3D

    Dew Sensor

    kuellenberg/Dew-Controller

    Dew heater controller for telescope dew heater straps

    19 parts2

Similar boards

  • 2 layers37 × 19 mmPassive rpi hub75-adapter, the printed circuit board in 3D

    Passive rpi hub75-adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    2 parts4.4kGPL-2.0
  • 2 layersDiode template, the printed circuit board in 3D

    Diode template

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    2 parts547GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 button, the printed circuit board in 3D

    L0 button

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    2 parts546MIT
  • 2 layers35.1 × 46.8 mmSDEX2M2 Breakout Board, the printed circuit board in 3D

    SDEX2M2 Breakout Board

    NVNTLabs/switch2-SDEX2M2

    Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

    2 parts542GPL-3.0
  • 2 layers59.3 × 36.6 mmExpansionBoardTemplate, the printed circuit board in 3D

    ExpansionBoardTemplate

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    2 parts459GPL-3.0
  • 2 layersAlpha.9mm.wire, the printed circuit board in 3D

    Alpha.9mm.wire

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    2 parts410
  • 2 layers26.7 × 64 mmGpu power, the printed circuit board in 3D

    Gpu power

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    2 parts397Apache-2.0

Questions

How big is the M8 Adaptor PCB?

It measures 15 × 20 mm and has 2 copper layers, 1.6 mm thick.

What parts does the M8 Adaptor use?

2 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the M8 Adaptor KiCad files?

From the kuellenberg/Dew-Controller repository on GitHub, at the commit this page was made from: the board is Hardware/M8-Adaptor/M8 Adaptor.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the M8 Adaptor design in my own project?

Its repository states no licence, so its author keeps all rights: ask kuellenberg before reusing the design.