Skip to the content
2 layers70 × 50 mmTelescopeCoverV2, the printed circuit board in 3D

I do not charge anything to create and maintain these open-source projects. But if you would like to say "thanks" for this project, feel free to send any amount through Paypal using the button below.

Size
70 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
20
Pads
45
Tracks, vias
98, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
9 Aug 2025
Updated
10 Aug 2025

Overview

TelescopeCoverV2 is an open-source printed circuit board by giacomolorenzo, from the giacomolorenzo/ascomGGFLATCABLE repository on GitHub, published under the MIT licence. It is a 2-layer board of 70 × 50 mm with 14 parts on 20 nets, routed with 98 tracks and 0 vias.

It is built around the FQP30N06L. Its parts include 4 resistors, 2 capacitors, 2 ICs, 2 diodes and 2 transistors.

Main components

1

README

README.md

ASCOM-Compatible Telescope Cover

I do not charge anything to create and maintain these open-source projects. But if you would like to say "thanks" for this project, feel free to send any amount through Paypal using the button below. I appreciate your support!

Introduction

This repository contains code that allows you to build your own automated telescope cover and spectral calibrator:

  • The code for the ASCOM driver (Microsoft Visual Studio 2022 project)
  • The code for the Arduino firmware
  • The FreeCAD 3D model
  • The KiCad project for the electronic circuit

This project is an updated version of my original ASCOM-compatible telescope cover. It brings the following enhancements:

  • Analog Position Feedback: If you happened to power up my original ASCOM-compatible telescope cover while it was not in its closed position, it would violently close because it assumed that it was in a closed position at startup. This is now fully resolved by using a servo with analog position feedback. Note that this feedback loop needs to be calibrated once.
  • Magnets: The cover will be held in place (in either open or closed position) by magnets, which means that the servo can be powered off when it is not moving, thereby completely eliminating the possibility of vibrations while imaging.
  • PCB: This new project uses a PCB that can be manufactured by a company like PCB Way. This means that the final product is more compact and more reliable than when using a perforated circuit board as in my original project.
  • Spectral Calibrator: This project includes neon bulbs that can be remotely turned on or off. This is especially useful when doing spectroscopy. Note: You could technically modify this project to eliminate this (if you don't need it) or replace it with an EL panel if you would like to create a motorized flat panel. I have no need for this because I have a wireless flat panel and while I do operate my equipment remotely, it is not located in a remote location (it is in my backyard, but it is nice to be able to fully control it from inside the house, or using a fully automated sequence).
  • Better 3D Model: This new version comes with a much improved 3D model and the final product is much sturdier than my original version. It also provides a simpler and cleaner attachment method to the OTA.
  • Single Cable: This new version only requires a USB type C cable connection for both power and data, whereas my original version required two cables (USB type C and 12V power)

Finished Product

Here is what the finished product looks like:

Finished Product

Finished Product

Demo

Here is a short demo video of the finished product, hosted on YouTube. Check it out!

Short demo video of the finished product

Pre-Requisites

Hardware / BOM

ASCOM Driver

Downloading And Installing The Driver

You can install the ASCOM driver by simply running the executable setup file that you will find in the releases page. By default, it places files under C:\Program Files (x86)\Dark Sky Geek\Telescope Cover V2 ASCOM Driver.

Compiling The Driver (For Developers Only)

Open Microsoft Visual Studio as an administrator (right click on the Microsoft Visual Studio shortcut, and select "Run as administrator"). This is required because when building the code, by default, Microsoft Visual Studio will register the compiled COM components, and this operation requires special privileges (Note: This is something you can disable in the project settings...) Then, open the solution (ASCOM_Driver\TelescopeCoverV2.sln), change the solution configuration to Release (in the toolbar), open the Build menu, and click on Build Solution. As long as you have properly installed all the required dependencies, the build should succeed and the ASCOM driver will be registered on your system. The binary file generated will be ASCOM_Driver\bin\Release\ASCOM.DarkSkyGeek.TelescopeCoverV2.dll.

Arduino Firmware

Microcontroller Compatibility

Pretty much all Arduino-compatible boards should work. There is nothing magical about the firmware. However, this was developed for, and tested with a Seeeduino XIAO, so that is what I recommend for this project.

Compiling And Uploading The Firmware

  • If needed, add support for the board that you are using in your project.
  • Then, connect your board to your computer using a USB cable, open the sketch file located at Arduino_Firmware\Arduino_Firmware.ino, and click on the Upload button in the toolbar.

Calibration Procedure

This is a one-time operation. Disconnect the right arm from the servo. Then, from the Arduino IDE, connect to the device. Using the Arduino IDE serial monitor, type COMMAND:COVER:CALIBRATE. This will launch the calibration procedure for the servo analog feedback. Once it has completed, re-attach the right arm to the servo. The device is now ready to be used.

Electronic Circuit

Here is the KiCad schematics:

KiCad schematics

I very strongly recommend prototyping it first, using a breadboard:

Breadboard prototype

Here is the routed PCB in KiCad:

Routed PCB in KiCad

Note: You can directly use PCBWay.zip to order your PCB from PCB Way.

Once you've received your PCB and soldered all the components, it should look like the following:

Finished PCB

3D Model

:warning: IMPORTANT: :warning: The 3D model is not really parametric. Therefore, it will NOT scale well. Be warned that I will NOT provide any support for the 3D model, i.e., you are on your own. If you open an issue relating to the 3D model, I will close it (while I will provide adequate support for everything else in this project...)

Here is what the 3D model looks like in FreeCAD:

FreeCAD model

Once you've updated the model to fit your needs, you can export the parts as STL and print them on your 3D printer.

Here is how the neon bulbs are installed on the back of the cover lid:

Neon Bulbs Install

A 47kΩ resistor is soldered to each bulb, and the 4 x resistor + bulb are wired in parallel (that is critical!)

The wires that power up those bulbs travel through the servo box and the left arm, so they are not directly visible, which makes for a very clean final product.

Using With NINA

Once you have installed the driver, open NINA, go to the Equipment tab and select Flat Panel. You should be able to select the DarkSkyGeek Telescope Cover & Spectral Calibrator device from the device dropdown:

NINA Screenshot 1

Then, you can connect to the device, and all the standard controls should appear, allowing you to test and use your device. Enjoy!

NINA Screenshot 2

Known Issues

Device Access Synchronization

I made sure that access to the serial port was synchronized, thereby preventing a second serial command from being sent if the reply to the first one has not yet been received. However, that code only works in multi-threaded applications. It will not work as expected if the same device is used by two different applications (i.e., processes) as they will each have their own instance of the ASCOM driver, and therefore their own locking object. Indeed, I opted to use the tried-and-true approach of implementing ASCOM drivers (output as a Class Library). Switching to a local COM server would have allowed me to resolve this relatively minor issue, but it seemed overkill for my use case.

Ideas For Improvements

  • Add a physical button (or several buttons) to manually control the device could be a relatively simple enhancement.
  • Leverage a small embedded LiPo battery and use BLE for communication, thereby completely removing the need for a USB cable.
  • Make the 3D model more scalable so that it can be easily adapted to various telescopes.

Note: These are just ideas for you, in case you would like to challenge yourself. I am not planning to implement any of these ideas.

Parts

14
QtyValueFootprintReferences
210µFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1, C2
2220ΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R3
22kΩResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R4
2FQP30N06LMyFootprints:FQP30N06LQ1, Q2
11N4001Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD2
11N5817Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD1
1Calibrator InverterConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ2
1Seeeduino XIAOSeeeduino XIAO:Seeeduino XIAO-MOUDLE14P-2.54-21X17.8MMU1
1ServoConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1U3V16F12MyFootprints:U3V16F12U2

More from giacomolorenzo/ascomGGFLATCABLE

1
  • 2 layers43.7 × 34.2 mmTelescopeCoverV2-Simplenumerigiusti, the printed circuit board in 3D

    TelescopeCoverV2-Simplenumerigiusti

    giacomolorenzo/ascomGGFLATCABLE

    I do not charge anything to create and maintain these open-source projects. But if you would like to say "thanks" for this project, feel free to send any amount through Paypal using the button below.

    8 partsMIT

Similar boards

  • 2 layers68.6 × 53.3 mmProtogasm Board V2, the printed circuit board in 3D

    Protogasm Board V2

    Edging-Machines/Edging-Machines

    This repository is intended to contain as much information as possible about building, designing, prototyping, and using automated edging machines.

    14 parts67MIT
  • 2 layers76.2 × 48.9 mmEpaper clock, the printed circuit board in 3D

    Epaper clock

    mattwach/epaper_clock

    Autosetting clock based on an epaper display. Runs about a year on batteries and has basic weather telemetry (temperature, pressure, humidity).

    14 parts48Apache-2.0
  • 2 layers98 × 83.8 mmProjeto placa, the printed circuit board in 3D

    Projeto placa

    phfbertoleti/placa_lorawan

    Repositório oficial da placa LoRaWAN, um kit de desenvolvimento para protótipos IoT.

    39 parts19MIT
  • 2 layers152.4 × 63.7 mmCut down control board, the printed circuit board in 3D

    Cut down control board

    dwkennedy/ballooning

    Mutli-function balloon related project (variometer, balloon cut-down, let down reel, tracking)

    52 parts2GPL-3.0
  • 2 layers106 × 53.3 mmFinalForLayout, the printed circuit board in 3D

    FinalForLayout

    CIDARLAB/Fluorescence-Detector

    42 parts1

Questions

How big is the TelescopeCoverV2 PCB?

It measures 70 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the TelescopeCoverV2 use?

14 parts, built around the FQP30N06L. 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 TelescopeCoverV2 KiCad files?

From the giacomolorenzo/ascomGGFLATCABLE repository on GitHub, at the commit this page was made from: the board is KiCad_Project/Cover And Spectral Calibrator/TelescopeCoverV2.kicad_pcb and its schematic KiCad_Project/Cover And Spectral Calibrator/TelescopeCoverV2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TelescopeCoverV2 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).