{"id":738,"date":"2020-09-13T15:02:33","date_gmt":"2020-09-13T13:02:33","guid":{"rendered":"http:\/\/martinfiltenborg.dk\/blog\/?page_id=738"},"modified":"2023-05-11T11:29:59","modified_gmt":"2023-05-11T09:29:59","slug":"diy-astronomy","status":"publish","type":"page","link":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/mechatronics\/mechatronics-2\/diy-astronomy\/","title":{"rendered":"DIY astronomy telescope"},"content":{"rendered":"\n<p class=\"has-drop-cap\">I own a <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Newtonian_telescope\" target=\"_blank\">Newtonian <\/a>type telescope. It&#8217;s old, small, manually operated and few would probably think <em>interesting <\/em>in any way. It is, however, capable of showing me the moons of Saturn. Just. To those who have tried operating a fully manual high-magnification telescope, looking at objects in the night sky, it will come as no surprise that things you look at, well, <em>move<\/em>&#8230; Yes, I know the Earth is spinning, but I was surprised at the rate of movement and how much it affects my view of night sky objects like Saturn. <\/p>\n\n\n\n<p>I constantly have to adjust! This may be okay(ish) for the casual naked-eye observation, but it is entirely unusable for any kind of astro-photography. No chance. And that was exactly what eyeballing those moons around Saturn fostered: A desire to push the telescope&#8217;s envelope and go astro-photographing&#8230;<\/p>\n\n\n\n<p class=\"has-drop-cap\">Astro-photography is about collecting light. The more you collect, the more you can see. Telescopes follow the rule of &#8216;Size matters&#8217;, because more aperture (actually, area) means more light input. Trivial. Now, like most other telescopes, Newtonians have circular apertures and thus obey the radius-squared rule. Double the radius, quadruple the light gathering capacity. So, buying a bigger scope would be an idea. But overcoming a challenge by throwing money at it is no fun. I&#8217;ll leave rich people with no technical skills to do that and instead try exploiting my existing hardware <em>smarter<\/em>.<\/p>\n\n\n\n<p>You see, this particular Newtonian comes with a guiding mechanism called an <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/Equatorial_mount\" target=\"_blank\">Equatorial mount.<\/a> This mechanism lets the telescope rotate around an axis <em>parallel <\/em>to the Earth&#8217;s rotational axis, meaning that as the earth rotates, maintaining a specific aim can be achieved by simply rotating the scope around only <em>that one<\/em> axis. Believe me, this is important for manual aim. But even with this aid, astrophotography is a no-cigar-thing. More is needed. Like a steady and controlled rotation around the parallel axis.<\/p>\n\n\n\n<p>If the scope can be made to counter-rotate earth&#8217;s rotation (without the active mechanism introducing vibration), steady aim and thus long-time-exposure can be achieved and I&#8217;ll be in business.<\/p>\n\n\n\n<p>Steady and precise motion. Hmmm&#8230; Looking at the equatorial mounts&#8217; adjustment mechanics I find that the hand-turn-knob governing rotational aim must be rotated at a steady pace. Motor? Possibly. Motor with controllable pace? Yes. Being a digital guy, stepper motors spring to my mind.<\/p>\n\n\n\n<p class=\"has-drop-cap\">So I went to work and got hold of a cheap stepper motor from eBay, a stepper-motor-driver <a href=\"https:\/\/biqu.equipment\/collections\/driver-board\/products\/btt-tmc2130-v3-0-stepper-motor-driver\" target=\"_blank\" rel=\"noreferrer noopener\">board<\/a> and an <a href=\"https:\/\/www.sparkfun.com\/products\/11114\" target=\"_blank\" rel=\"noreferrer noopener\">Arduino<\/a> to control the assembly. Next, I had to determine the step-interval to achieve perfect mount rotation speed; exactly <em>one <\/em>revolution per 24 hours. That was a matter of counting teeth on the main cog-and-worm-gear drive, do a bit of calculations, add in a belt-gearing factor, the stepper angular resolution and the driver&#8217;s microstepping multiplier to get at a steppermotor motiontime interval. Arduino sports a PWM, and realising the metronome function was fun. So, I now had code and a bit of hardware, but no functional system to test out.<\/p>\n\n\n\n<p>Enter 3D-print!<\/p>\n\n\n\n<p>I found a ready-made &#8220;customizable GT2-belt drive pulley&#8221; openSCAD file on Thingiverse, made a suitable final drive pulley for the Equatorial drive axle and created a bespoke mounting plate that would hold the stepper motor on the mount allowing belt-drive. The usual number of iterations, but eventually I got smart and then I got it right.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"800\" src=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-1024x800.jpg\" alt=\"\" class=\"wp-image-2463\" srcset=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-1024x800.jpg 1024w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-300x234.jpg 300w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-768x600.jpg 768w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-1536x1200.jpg 1536w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-2048x1600.jpg 2048w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2021\/08\/Mount-drive-384x300.jpg 384w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The mount drive pulley. <\/figcaption><\/figure>\n<\/div>\n\n\n<p>Testing and debugging had me dial the complete EqMount-gear-driver-electronics assembly\/birdsnest in, attaining <em>one revolution in 24 hours<\/em>. All the way down to what the markings on the mount dial could offer. Dead on target.<\/p>\n\n\n\n<p class=\"has-drop-cap\">I now had basic functionality; <em>aim<\/em>. But several things were missing. First of all, it was a birdsnest of wires and &#8211; well, stuff. Not pretty, and certainly not usable in the middle of a winter&#8217;s night, outside in the bitter cold in what light conditions telescopes are usually operated in; as close to zero ambient light as the operator can get. The electronics had to be tidied up on a little PCB, an enclosure had to be made, some sort of mechanical mounting, cabling &amp; connectors to make it all practical to handle wearing gloves or mitts. Oh, and some <em>controls<\/em>. Aim is not enough, you will have to be able to aim the scope <em>at <\/em>something of your choice&#8230; <\/p>\n\n\n<div class=\"wp-block-image is-style-rounded\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"306\" src=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede.png\" alt=\"\" class=\"wp-image-2609\" srcset=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede.png 477w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-300x192.png 300w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-468x300.png 468w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><figcaption class=\"wp-element-caption\">PCB &#8211; KiCAD<\/figcaption><\/figure>\n<\/div>\n\n\n<p>The shuttle-mechanism was made with a center-detent potentiometer and connected to the Arduino (ADC + a bit of resistor-network), allowing me to detect user input. <\/p>\n\n\n<div class=\"wp-block-image is-style-rounded\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"538\" height=\"366\" src=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-1.png\" alt=\"\" class=\"wp-image-2611\" srcset=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-1.png 538w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-1-300x204.png 300w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/billede-1-441x300.png 441w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><figcaption class=\"wp-element-caption\">Box &#8211; OpenSCAD<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Box with potentiometer and connector cutouts + two connectors (battery and motor-cabling in <em>non-interchangeable<\/em> socket-plug sets for foolproof installation in the dark) is there, the whole entity is being test-run and tweaked.<\/p>\n\n\n<div class=\"wp-block-image is-style-rounded\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-1024x576.jpg\" alt=\"\" class=\"wp-image-2600\" srcset=\"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-1024x576.jpg 1024w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-300x169.jpg 300w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-768x432.jpg 768w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-1536x864.jpg 1536w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-2048x1152.jpg 2048w, https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-content\/uploads\/2023\/05\/IMG_20230506_124913598-534x300.jpg 534w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">230511: Fully functional design PCB 1.1 running the RA axis at dead-accurate speed, without any noticeable vibration<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Todo:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Physical installation<\/li>\n\n\n\n<li>Battery &#8211; why not an aging car battery, suspended in the mount for stability and <em>weight<\/em>?<\/li>\n\n\n\n<li>There&#8217;s always something else&#8230;<\/li>\n<\/ul>\n\n\n\n<p>Once I can close the lid, next activity is taking photos and processing them into finished images. I&#8217;ve ordered a hobbyist-grade astrophotography-camera (<a rel=\"noreferrer noopener\" href=\"https:\/\/www.svbony.com\/sv205-astronomy-camera\/\" target=\"_blank\">SVBony 205<\/a> featuring a SONY IMX179 8MPix sensor) and following install and subsequent use, software like the below-listed would be relevant:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>http:\/\/deepskystacker.free.fr\/english\/index.html<\/li>\n\n\n\n<li>https:\/\/www.astrodmx-capture.org.uk\/<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p class=\"has-drop-cap\">A vague idea related to &#8216;more&#8217; in terms of control is forming. The fabled &#8216;Go To&#8217; functionality, by means of connecting the controller to eg a PC, making Click2View possible. I&#8217;m not at all sure it is what I want, but being able to do it &#8211; and then doing it &#8211; seems like a whole lot of fun.<\/p>\n\n\n\n<p>To that end, here are a few internet websites relevant to &#8216;goto&#8217;:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/sourceforge.net\/projects\/stellarium\/<\/li>\n\n\n\n<li>https:\/\/www.ascom-standards.org\/index.htm<\/li>\n\n\n\n<li>http:\/\/www.stellarjourney.com\/index.php?r=site\/software_onstep<\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I own a Newtonian type telescope. It&#8217;s old, small, manually operated and few would probably think interesting in any way. It is, however, capable of &hellip;<\/p>\n","protected":false},"author":2,"featured_media":2616,"parent":783,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-738","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/pages\/738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/comments?post=738"}],"version-history":[{"count":12,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/pages\/738\/revisions"}],"predecessor-version":[{"id":2617,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/pages\/738\/revisions\/2617"}],"up":[{"embeddable":true,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/pages\/783"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/media\/2616"}],"wp:attachment":[{"href":"https:\/\/www.martinfiltenborg.dk\/mechanicality\/wp-json\/wp\/v2\/media?parent=738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}