ASCOM Driver tutorial for Arduino Astronomy Hardware using Visual Studio

  Рет қаралды 36,677

Curdridge Observatory

Curdridge Observatory

Күн бұрын

A tutorial for writing ASCOM drivers in Visual Studio for telescope and astronomy hardware which is controlled by an Arduino.
Please view in 1080 HD and full screen then you can read the code!
We will create a simple Filter Wheel program for the Arduino and write a matching ASCOM driver in Visual Studio and demonstrate that any Astronomy client program can talk to the ASCOM driver with Maxim DL. Includes details on debugging the ASCOM driver and deployment.

Пікірлер: 30
@timlong7289
@timlong7289 10 жыл бұрын
Tom, that's a really great introduction to writing ASCOM drivers. I think you also did a good job of explaining why ASCOM is needed in the first place. The error you get in InnoSetup calling IsMinimumRequiredVersion is a globalization issue, I think. It is supposed to check that ASCOM is installed and is at least the version specified. There were problems related to full-stop vs. comma and someone just got the parameter wrong, it was a known issue. I think it has been corrected in the latest platform releases.
@ASIIE
@ASIIE 4 жыл бұрын
Great video... wondering how much of the content/process is still applicable with the new ASCOM 6.5 driver templates.
@jwbullardxxiii
@jwbullardxxiii 4 жыл бұрын
Thank you! Things are a little different using Visual Studio 2019, but the base concepts work beautifully. Got my Arduino focuser to work like a charm. Again, thanks for your help!
@Rolembeek33
@Rolembeek33 4 жыл бұрын
I'm using Visual Studio 2017 and can't make it build without errors :-( The message tells me to use "regasm.exe /tlb" to register "COM Interop" but I can't find how tyo do that :( Anny help welcome !
@kingjamez80
@kingjamez80 11 жыл бұрын
This is a great video, thanks! I've been programming a GEM mount control and needed to figure out ASCOM integration. This was perfect! On another note, I can't view this video on my desktop, it only worked on mobile devices.
@ribuck1
@ribuck1 9 жыл бұрын
Hi Tom, Great tutorial, but i'm still a bit confused. Firstly in Visual Studio, what is the difference between between the "Ascom with Forms" and the "Ascom Driver" project types ? Also if i choose the driver option, Can i add forms into it so that when it connects is dispaying a form with buttons etc.
@tommyw641
@tommyw641 5 ай бұрын
Truly excellent tutorial. Thank you.
@thelazytechman1974
@thelazytechman1974 11 күн бұрын
Great video, very helpful. I have a safety monitor (rain Sensor) that uses uses an input on a Network enabled relay and the current driver communicates over http on port 80. Unfortunately the developer has abandoned the driver so it's no longer supported by the latest V3.x of Nina, so i'm desperately trying to figure out how i make a new driver that uses ip & port 80 rather than Arduino. Any pointers to start me off would be greatly appreciated. Many thanks in advance, Rich.
@AdamBrunette
@AdamBrunette 11 жыл бұрын
Very strange. Worked right away on my phone. Thanks for the tip!
@rkresken
@rkresken 2 жыл бұрын
Thanks for the great tutorial! This is very helpful.
@rustybeers4803
@rustybeers4803 6 жыл бұрын
Thanks Tom, can you please cover the topic of making the com port selectable in maxim dl? I found your video worked great for Windows 10 using VS2017.
@1ozzzy
@1ozzzy 10 жыл бұрын
Great videos and I've found them wonderful. How about one about writing a simple hub?
@GiannisKypriotakis
@GiannisKypriotakis 4 жыл бұрын
Hello, in my driver (C#) I am following ASCOM's template that sets a string array fwNames that contains (I guess the filter names) and is initialized with 4 values. By chance my filter wheel also has 4 slots so conveniently in my setup (after System.Windows.Forms.DialogResult.OK) I set the contents of the fwNames to mach strings I get from the user. Also my Names property in get, returns this fwNames array. For some reason though, Maxim still thinks there are 64 filters that it names itself (and no the first 4 aren't the ones I had set). Have I forgotten something? Should I contact the ASCOM or Maxim people about it? Thanks
@stevewilliams3600
@stevewilliams3600 3 жыл бұрын
Nice video but sadly not a driver. In my terminology this is a client which uses an existing driver (the telescope simulator). I wish to write a driver for a DSLR to be used by a client. Apart from that a good video which did focus me on which end of the system I needed to look at.
@stoianandrei-marian3598
@stoianandrei-marian3598 7 жыл бұрын
Hello! Thanks for the great video! Can you explain how we can create an form that opens and disconects on connection of the driver? I tried, it works untill I disconnect. When I disconnect the driver, it just stays open.
@robertbrown6176
@robertbrown6176 10 жыл бұрын
I found it helpful, but is it possible to do a new version with VS 2013 and C# as it appears this is pretty old and I cant find VB anywhere?
@pdcf75
@pdcf75 11 жыл бұрын
and a scholar - very helpful tutorial thanks
@TehSnRuB
@TehSnRuB 11 жыл бұрын
You sir are a gentleman! Thank you :-)
@TheOnlyPsycho
@TheOnlyPsycho 5 жыл бұрын
Hi, any idea why I might be getting this error when building the driver? "'CommPort' is not a member of 'MySettings'." pointing to the line "Dim comPort As String = My.Settings.CommPort"
@stephenorton2011
@stephenorton2011 5 жыл бұрын
Did you solve this as I have same issue
@ferretfrenzy05
@ferretfrenzy05 5 жыл бұрын
@@stephenorton2011 Same thing here, that's the only thing keeping me from this driver working :(
@GiannisKypriotakis
@GiannisKypriotakis 4 жыл бұрын
Change it to Properties.Settings.Default.CommPort and in setupdialog add Properties.Settings.Default.CommPort = (string); to where you are saving the settings and doubleclick settings and add CommPort as string to it
@CurdridgeObservatory
@CurdridgeObservatory 11 жыл бұрын
I can't get it to work now either - youtube seem to have broken it
@engineermahmoud4017
@engineermahmoud4017 3 жыл бұрын
How to connect ascom to plc (programmable logic controller)
@CurdridgeObservatory
@CurdridgeObservatory 10 жыл бұрын
Some folks are having problems viewing this video. I find it works OK in Chrome, but not IE9
@kwitee
@kwitee 11 жыл бұрын
There seems to be an error, the video will not play.
@kwitee
@kwitee 11 жыл бұрын
it's ok for me now !
@pterancobo
@pterancobo 11 жыл бұрын
If someboy has problems, I worked for me to erase the browsing history.
ASCOM client astronomy development tutorial and introduction
16:33
Curdridge Observatory
Рет қаралды 26 М.
Arduino Programming Tutorial: Visual studio and serial com port communctions
9:26
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 11 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН
New DIY ASCOM-Compatible Wireless Flat Panel!
11:46
Dark Sky Geek
Рет қаралды 8 М.
The Best Free Astro Software just got even BETTER
35:35
Nebula Photos
Рет қаралды 110 М.
Telescope + Raspberry Pi + Stellarium = iTelescope
11:16
Simon Box
Рет қаралды 132 М.
Homemade observatory dome slaved to telescope with Arduino dome rotator
4:40
Curdridge Observatory
Рет қаралды 8 М.
Arduino Telescope GoTo System - completed design
24:51
Dessislav Gouzgounov
Рет қаралды 29 М.
Telescope dome with Arduino rotation controller slew with simulator telescope
2:33
telescope observatory run by ARduino
1:29
Curdridge Observatory
Рет қаралды 4,7 М.