×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

DIY Flatfield Dustcover with RPi

  • Posts: 271
  • Thank you received: 72
Hi.
Nice to see you are making sutch good progress :)

The fix you suggest to access pin 11 should work if I remember correctly. The limit 0-9 was set so I did not nedd any special handeling if USBRelay2 Roof driver was used for lightswitch (it only supports 10 relays)

One more fix you can do while re compiling is to comment out these lines
if (ParkCapS[0].s == ISS_ON && !isMoving)
    {
        DEBUG(INDI::Logger::DBG_ERROR, "Cannot control light while cap is parked.");
        return false;
    }
from the function
bool ServoBlasterCap::EnableLightBox(bool enable)

I was not expecting someone to make such a nice cap with buildt in light, so I disabeled turning on the light when cap is parked. I will push a update in a few days, so you don't have to keep a custom version.

When it comes to keeping closed 'm going to try adding a neodyne magnet to the back of the lid, and mount one on the scope side that I can adjust how close it is. Mount it so that it has the strongest force that the servo opens. You can get these magnets cheap as simple fridge magnets.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: pauledd
6 years 9 months ago #17568

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

  • Posts: 314
  • Thank you received: 34
The code change worked, I can now switch the flatfield in the ServoCap Tab on and off :).

Nice idea with that magnets and by sheer coincidence I left some on my fridge, I will try that.
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 9 months ago #17572

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

  • Posts: 314
  • Thank you received: 34
Getting closer... There was no way for me to get the cap really good closed without that magnet trick. Because of my sloppy drilling for the caps main hinge there is a lot of slackness. I had to make some kind of "guide clip" for the magnet so that they really meet together at their middle. Those tiny magnets have a lot of force but only if they are really close and centered.

Now the cap closes quite good and the motor has enough force to devide the two magnets :)



After proper rewiring everything I hopefully can do some real tests outside when the scope is back on the mount.
I fear a little bit the flatfield cables might interfere other cables because of its 1kHz@100V power. No idea how this might influence the servo pwm. I also consider a complete rewiring because with the servo and the flatfield I have 5 new cables, one more step down converter and a low/high converter for the flatfields relay (because its active-low). Its getting really messy in my box

I consider to etch a new pcb and put everything possible on it but only if outside test were successful.
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 9 months ago #17729

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

  • Posts: 3
  • Thank you received: 0
Hi,

when i try to connect the ServoBlaster Cap in the INDI Control Panel I get the following error-message:

[ERROR] ServoBlaster Cap is offline, did not initialize. Service servod not running

Anyone have a idea what can I do?

Best regards
Markus

Sorry for my bad english
6 years 2 months ago #23400

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

  • Posts: 314
  • Thank you received: 34
Is the servod service or the servod binary running on your machine that is connected to the servo?
Is
/dev/servoblaster
existent?
Can you talk to the servo for example via?
echo "0=120" > /dev/servoblaster
--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 6 years 2 months ago by pauledd.
6 years 2 months ago #23420

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

  • Posts: 314
  • Thank you received: 34
Post 1

Well,now that I received my first 3d printer from far east I can give a short update of my (never-ending) dustcover project.
I decided to print some of the stability related parts in PLA with my new printer because some parts started to fall of from
that wooden-glued construction under that "harsh" outside conditions...

So I dived a little bit into freecad and things seemed to come out perfectly fitting.






But once everything was connected I noticed that there is something wrong.
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 1 month ago #23460

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

  • Posts: 314
  • Thank you received: 34
Post 2


If I unpark the cap it opens only as much as it does not cover the field of view.
The servo already runs from min to max (90ms/210ms) and of cause I set both open/close to 100% in the calibration tab.



Even with that "on the edge" settings it is not able to fully close. Unfortunately I am not a mechanics genius and I
currently don't really know where to start to optimize...
Maybe I should make that angle longer that holds the flatfield.



There are currently more questions that answers swirling through my mind :blink:

The second issue is that either wrong storage or glueing the angle to the flatfield bent
the whole flatfield acrylic plate a bit outside so that it cannot really close anymore, that's not acceptable
for stationary outside conditions. I think I will either glue a new acrylic plate only on some points or I will
exchange the whole thing by aluminium (0,5 or 1 mm).




If someone has and instant idea what I should change to make that dustcap easily open/close feel free to divulge :lol:

EDIT: I will give freecad's animation simulation a try, maybe I can figure out how to get it work proper.
--= human, without Windows™ =--
pls excuse my bad english! :)
Last edit: 6 years 1 month ago by pauledd.
6 years 1 month ago #23461

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

  • Posts: 3
  • Thank you received: 0
Hi Pauledd,
the servod isn't running. How can I do this? There nothing stand in the tutorial.

Markus
6 years 1 month ago #23505

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

  • Posts: 271
  • Thank you received: 72

Hi. In the tutorial point 5.2 explanes how to install servoblaster
$ cd ~/Projects
$ git clone https://github.com/richardghirst/PiBits.git
$ cd PiBits/ServoBlaster/user/
$ sudo make servod
$ // Follow instructions on screen to add the init script and start servoblaster service (servod)

@Pauledd.

In the youtube video, it looks like you are not using all of the servos travel? perhaps around 80 or 70%?
It looks like you stop the servo travel early at the closed position, so the servo horn does not hit the hinge?

Try using the outer hole for the servo to cap link that you have made. Then reposition the anodized servo horn so it can close the lid with some force, and without extencive binding. It's ok if it slightly binds.

On the picture with the mounting point for the lid, with the circle and question mark.
If you want the lid to have more range. (Now it opens and closes 90 degrees). Then you can make the mount point closer to the pivit point.

If you visualize the circumference of the circle made by the center / pivit point, and the linkage mount point. Then a large circle has the most tourqe, and a smaller circle will have more speed, and in ths case a greater range. (The circumference will be shorter, and the servo will still move the linkage the same length, so the lid will be rotated further around the pivit point).

Hope this makes sense. It's a cool project, and I'm envious of the built in flatlight.
I think next summers upgrades for me will be finnaly mounting the wall mounted flat light :)
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
The following user(s) said Thank You: pauledd
6 years 1 month ago #23512

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

  • Posts: 314
  • Thank you received: 34
Thanks Magnus_e for your hints! No, I re-measured the servo horn angle of the min/max positions, its exactly 120°.
If you meant the hole in the linkage...



I used the outer hole before I made the video. The Problem with that was the amount of way I earned with that to the "close" position
was then missing in the open position, it was even less that 90° so that the tubes fov was a bit blocked...Good point, I lose 30° somewhere from the servos 120°.Ok, can you please use the annotations in this image? I dont get it :pinch:
What mount point closer to which pivit point? Do you mean I should decrease circle1?
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 1 month ago #23514
Attachments:

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

  • Posts: 271
  • Thank you received: 72
If you change circle one so it has a smaller radius than circle two, you will get more range, but loose some lifting force.
Proud owner of Observatory 17b - A remote Linux observatory.
Website: Observatory 17b
Build thread @ SGL: Starting summers observatory project
6 years 1 month ago #23515

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

  • Posts: 314
  • Thank you received: 34
Ok, thanks I will try decreasing circle1. However thats strange :huh: where are the 30° gone? I designed circle1 with the exact diameter as circle2, that shouldn't that give the same angle range as the servo does... in theory :lol: I'll investigate further!
--= human, without Windows™ =--
pls excuse my bad english! :)
6 years 1 month ago #23518

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

Time to create page: 0.549 seconds