Go Back   IceInSpace > Equipment > ATM and DIY Projects
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 09-12-2022, 09:46 AM
LonelySpoon (Neville)
Registered User

LonelySpoon is offline
 
Join Date: May 2022
Location: Manton
Posts: 270
DIY filter wheel assistance please!

I'm trying to convert a filter wheel to Arduino nano or RPi Pico control. I've successfully done this with an auto focuser so I'm confident I can eventually get it coded and working. I've made the mechanical changes already to an Orion FW.

I've tried a lot of different coding from various sources with no luck. Most want to integrate bells & whistles I'm not interested in.

Closest I've come is with code from http://www.astronomymark.com, which includes a separate GUI capability. His problem is that the code asks for a config.txt and filters.txt which he doesn't include.

I've had not luck finding a way to contact him about it so I've come to a halt there.

Ideally, I'd like to include ASCOM compliance but that isn't a deal breaker.

Any suggestions/solutions?

Thanks,

Neville
LSO
Reply With Quote
  #2  
Old 09-12-2022, 05:39 PM
oska (John)
Illucid

oska is offline
 
Join Date: Jun 2018
Location: Federal
Posts: 736
Both files go in the application directory.
It appears the filters.txt file is a list, one per line, of your filter names (arbitrary) and config.txt is where it stores state (which filter is current).

It does seem to get confused? loading config.txt from the application directory but storing it in data/config.txt
I would change:
saveStrings("data/config.txt", config);
to:
saveStrings("config.txt", config);


filters.txt:
Red
Green
Blue
L
H


config.txt:
1
Reply With Quote
  #3  
Old 10-12-2022, 09:05 AM
LonelySpoon (Neville)
Registered User

LonelySpoon is offline
 
Join Date: May 2022
Location: Manton
Posts: 270
Thanks, John, for working that out.

I hadn't spotted that anywhere.

I'll give it a go and let people know.

Neville
LSO
Reply With Quote
  #4  
Old 12-12-2022, 02:52 PM
brown_rb (Robert)
Registered User

brown_rb is offline
 
Join Date: Aug 2010
Location: Wellington, NZ
Posts: 11
ascom filterwheel

https://sourceforge.net/projects/myf...eel-ascom-diy/


will provide some of the answers you seek


regards
Robert
Reply With Quote
  #5  
Old 13-12-2022, 08:50 AM
LonelySpoon (Neville)
Registered User

LonelySpoon is offline
 
Join Date: May 2022
Location: Manton
Posts: 270
Quote:
Originally Posted by brown_rb View Post
https://sourceforge.net/projects/myf...eel-ascom-diy/


will provide some of the answers you seek


regards
Robert
Thanks Robert,

I saw this one and downloaded it all before, but it seemed quite complex and the inclusion of PCBs made it more than I wanted to take on at the time.

If I can get something happening more directly (code -> nano -> stepper - filterwheel) I'll come back to this one for sure.

Thanks again,

Neville
LSO
Reply With Quote
Reply

Bookmarks

Tags
arduino, diy, filterwheel


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 07:18 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement