Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1
  • 2

TOPIC: DIY Flatfield Dustcover with RPi

DIY Flatfield Dustcover with RPi 7 months 1 day ago #15506

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
Hi there

Since I discovered a regional dealer that got flatfield foils with a evenly white spectrum
I plan to build a DIY flatfield dustcover in the next 2 to x months.
My plan is to follow the nice article
indilib.org/support/tutorials/165-diy-au...telescope-cover.html
but since I never had anything to do with servo motors its a bit unclear to me
what kind of servo I should look for. Especially what force and what gear (metal or plastic).
And of cause it should be as cheap as possible.

I currently focus on the BMS-390 DMH servo that has metal gear and a force of 46NM/cm/4.8V.
That mean that it should handle about 4,6 kilogram 1cm away from the axis. 10cm away makes
460 gramms. My flatfieldfoil will be taped on an 22x22x0,1cm aluminium plate that weights about 200g.

The flatfield would be switched on/off by a relay.
Now my qestion is would it be possible to integrate the flatfield into indi, is there already an solution in indi or do I need to write a new driver
for that?
[Edit] ok I see, thats the purpose of the wiringPi/usb-relay part

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)
Last Edit: by pauledd.

DIY Flatfield Dustcover with RPi 7 months 1 day ago #15509

It's up to you. But to make things easier, you can make your DIY flatfield dust cover use the same command set as Flipflat and then just use that driver.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

DIY Flatfield Dustcover with RPi 7 months 1 day ago #15511

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
I am not shure about the FlipFlap but when you say "command set" you mean I need to built some kind of USB controller to drive my dustcover with the FlipFlat driver?
:whistle: thats far beyond my skills, then I will stick to the ServoBlaster and wiringpi like in the article.

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)

DIY Flatfield Dustcover with RPi 7 months 1 day ago #15512

It could be Arduino or PI or whatever, as long as something accepts commands and return results. You can check flip flat INDI driver source for how this is done.

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

DIY Flatfield Dustcover with RPi 7 months 1 day ago #15513

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
Thank you, I'll do that when I finish the hardware part and everything works manually.

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16026

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
My first hardware arrived. As I unboxed my servo I was shocked about the size: it looks to small!
I realized that I ordered a mini-Servo :pinch:


It might be hard to attach an dustcap to this tiny thing but the specs say it can handle a lot of weight.
I'll simply use it to get some practising with servo motors and test it later with load attached.


I encounterd some problems following the indilib DIY page .
Firstly, the "contents" Box does not hyperlink any point after 4.
Installing ServoBlaster, no problem. Servo responds to move commands.

But for INDI ServoBlaster Cap (5.5) I get an error while trying to compile:
cmake -DCMAKE_INSTALL_PREFIX=/usr . ..
-- The CXX compiler identification is GNU 4.9.3
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'libindi'
--   Found libindi, version 1.1.0
-- Found INDI: /usr/include/libindi (found version "1.1.0") 
-- Found INDI-DRIVERS: /usr/local/lib/libindidriver.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/build/indi_servoblaster_cap/build

 LANG=en sudo make install
Password: 
[ 33%] Building CXX object CMakeFiles/indi_servoblaster_cap.dir/servoblaster_cap/servoblaster_cap.cpp.o
In file included from /home/pi/build/indi_servoblaster_cap/servoblaster_cap/servoblaster_cap.cpp:24:0:
/home/pi/build/indi_servoblaster_cap/servoblaster_cap/servoblaster_cap.h:31:34: fatal error: indidustcapinterface.h: No such file or directory
 #include "indidustcapinterface.h"
                                  ^
compilation terminated.
make[2]: *** [CMakeFiles/indi_servoblaster_cap.dir/build.make:63: CMakeFiles/indi_servoblaster_cap.dir/servoblaster_cap/servoblaster_cap.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/indi_servoblaster_cap.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
It seems it expects "indidustcapinterface.h" and "indilightboxinterface.h" in the "../servoblaster_cap" directory.
So I copied them from "indi/libindi/libs/indibase" to there.

Next I get a load of other errors:
Warning: Spoiler! [ Click to expand ]


Maybe the author of the driver is here on board or maybe anyone can find what's the problem here? I would post an issue on github but for this repository I cant see any "Issues" page.

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16028

Hi @pauledd
I got your message on my website :)

By the looks of your errors I suspect you might not have compiled indilib from source, but installed from ppa (apt-get)?
If so, then try compiling indi from source indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html

Other than that, there might have been a update to indilib, and I have to update the driver. I will try to update everything to latest version, to see that it works. (You should not need to copy indi*.h files anywhere)

If there are links not working in the tutorial, then all the instructions is also on github. github.com/magnue/indi_servoblaster_cap/blob/master/README.md

Please Log in or Create an account to join the conversation.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16030

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
hi Magnus_e,

Thanks for your fast response, please dont try to do anything now! I think I found the error.
I think I have a faulty libindi installation... I will report back soon :)

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16031

Ok. Let me know how it turns out.

This was a funny coincidence. Yesterday I 3d printet the first prototype of the printable dust cap :)
I have to figure out how to get better finish when printing with supports (this was my 4th print), but hopefully It wil turn out nice after some dev.

Attachments:
The following user(s) said Thank You: pauledd

Please Log in or Create an account to join the conversation.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16032

  • pauledd
  • pauledd's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 314
  • Karma: 2
  • Thank you received: 29
Wow, that looks quite nice! I might consider 3d printing too if my aluminium cap idea fails but I dont own such a printer, and printing 4 ore more prototypes via online service might get very expensive...

I managed to get the ServoBlaster Cap work. Absolutly no errors during compilation! Servo moves as expected in indi :side:
It was indeed a faulty indi installation. Maybe I forgot to do "make install"... I will double check in future to prevent mass panic ;)

I can now order the aluminium sheet for the dust cap and will try to get it all on the scope.
The following user(s) said Thank You: Magnus_e

Please Log in or Create an account to join the conversation.

--= human, without Windows™ =--
pls excuse my bad english! :)
Last Edit: by pauledd.

DIY Flatfield Dustcover with RPi 6 months 2 weeks ago #16036

Good to hear it works :)

The picture was first print of the protltype, and 4th print total. I finished assebeling my Prusa mk2s yesterday :)

The aluminum version you ar making should work just fine, I think.
If I remember correctly I installed the prototype from the tutorial in my observatory in November and it still works great (and that one is held togheter only with tape and glue.)

Please Log in or Create an account to join the conversation.

Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project

DIY Flatfield Dustcover with RPi 5 months 2 weeks ago #16607

wow. I love the dust cover design. would you share your STL files? i'll need to resize, but this would be a great start.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.201 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica