Jump to content

Banner.jpg.b89429c566825f6ab32bcafbada449c9.jpg

Frankenwheely - Motorising an Opticstar Manual 2" Filterwheel


kbrown

Recommended Posts

I bought an Opticstar 2" Manual Filter Wheel and the plan is to stick an arduino controlled stepper motor on the wheel perimeter to turn it. Magnets and hall effect switches will be used to keep track of the position and which filter is active. The mechanical design is done using the open source apps LibreCAD and FreeCAD. G-code for my CNC mill is produced using HeeksCAD and the mill itself is controlled by LinuxCNC. Electronic design is done using the awesome KiCad which recently has had a massive boost by the propeller heads at CERN.

 

The mechanics is almost done. Still need to etch the PCB and put it together before the real fun begins writing the firmware :)

 

Clear skies,

K

1.jpg

2.jpg

3.jpg

4.jpg

5.jpg

6.jpg

7.jpg

8.jpg

9.jpg

10.jpg

11.jpg

Edited by kbrown
  • Like 6
Link to comment
Share on other sites

Magnets in place. Had to make some space for them inside the housing. So far so good.

22089690_10214365280549726_1678611064391200488_n.jpg

Here's a basic test of the motor and the mechanics. Everything seems to be working as expected. Plenty of torque, barely any backlash and power consumption is very low when the motor isn't used. Due to the gearing the motor does not need to be energized to hold the current position.

Edited by kbrown
  • Like 1
Link to comment
Share on other sites

Finally after struggling for a couple of nights I managed to etch a PCB I can work with. Certainly not the best I've made but not too bad considering this was the first time I used dry film for developing the board. Seems I got a pretty bad roll of it as half of it is so wrinkly it was unusable. Anyhoo I'm going with this even though there's a few spots I have to fix. 

IMG_20171006_011415.jpg

  • Like 2
Link to comment
Share on other sites

Still don't know what it's the best way to apply this dry film solder mask stuff. Failed several times due to various reasons. This is the best I could do. Not perfect but I'm not wasting any more time on this. It'll work just fine...

 

22308840_10214408522550749_5165411963270382747_n.jpg

Link to comment
Share on other sites

Thought I'd practise a bit more with this dry film photoresist stuff and do a sort of a silk screen legend on the other side of the board. Seems to be really hard to get a nice and even result. This will do for now. Think I'll try ink next time...

IMG_20171010_002803.jpg

  • Like 1
Link to comment
Share on other sites

Just about works. Had to move the hall effect switches (Allegro A3144) right against the housing. 1mm further they didn't register the magnets. Let's see if I have to replace them with more sensitive ones... In this test the red led illuminates when at least one of the sensors is active.

Time to start writing the firmware and the INDI driver for this...

 

 

  • Like 1
Link to comment
Share on other sites

I got it to run to next filter on start up and identify it correctly using the hall effect switches I chose. Thanks to a tip in the Arduino forums I was able to "increase the sensitivity" and accuracy of the switches by placing some ferromagnetic metal behind the sensors (just screws stuck on them with blue tack for now :)). This will redirect the magnetic fields towards them making them respond more reliably.

 

Still a whole lot of logic to be programmed and the INDI driver too which I haven't even started yet.

 

 

  • Like 1
Link to comment
Share on other sites

Had to do a couple of mods. Added a bracket to hold screws on top of the sensors. They'll serve two purposes: They'll prevent the sensors from moving and also redirect the magnetic fields toward them. Also added a voltage divider from Vin connected to one of the free analog inputs so it's able to detect when running from USB power or external power which is needed to run the motor.

 

Preliminary firmware is now on board. Just need to get the INDI driver in a better place so I can start doing proper tests :)

 

22553155_10214515398302576_5918177659820228519_o.thumb.jpg.8eb547d6e6ac34d67e5b01f8ba8891f4.jpg

Link to comment
Share on other sites

Here's a demo of the first working version of my Frankenwheely arduino firmware and INDI driver talking to each other. Had to add offsets for forward and backward search directions separately as the triggering of the hall effect sensors varied a little depending on the magnet configuration per slot and the direction they approached the sensors. Shouldn't have to tweak these values from here on as they are stored on board in the arduino's built-in EEPROM.

Now I just need to somehow fabricate the lid for this and do some field tests. I could just mill the lid out of a block of plastic using my CNC mill but that feels a little wasteful. Been thinking of getting it 3D printed somewhere instead. Can anyone recommend 3D printing services in the UK?

 

 

  • Like 1
Link to comment
Share on other sites

Thank you Julian. That is very kind of you! I got a reasonable quote from www.3dprint-uk.co.uk so I went with it. I'm printing a few other bits at the same time as well. They're doing them in polished black nylon. I'm curious to see what the result is.

 

Out of curiosity which printer do you have? I've been thinking of geting one as well...

Edited by kbrown
Link to comment
Share on other sites

A beautiful piece of work - :thumbsup:

I did something similar but ditched the magnets as they were not accurate enough and had too many holes to drill accurately(No CNC ). With advice and help from Robert Brown ,AKA FocuserPro, I switched to light detection resistors(LDR's), led's(2) and only 6 holes(on a 5 filter wheel 1 row of 5 ,1 row of 1 for "home" ). The software auto seeks home and then auto seeks the number of filter wheels on power up - allowing for 3 to 9 filter wheels to be used. 

Nothing as beautifully made as your set up - good luck and clear skies.

 

  • Thanks 1
Link to comment
Share on other sites

Mine is fixed at 5 filters for now but it would not be hard to add the counting. I'm not keeping track of the absolute position of  the wheel. I just run the stepper until one of the sensors detect a magnet. Then I run a little more to see if any other magnets come into "view" so that I can read which slot we're at. On top of this I apply the user defined offset so that the slot is aligned properly. Seems to be very reliable as long as I don't move the sensors. Neodymium magnets are said to lose less than 1% of their flux density over 100 years so that shouldn't be a problem either. Don't know how temperature changes will affect things. Remains to be seen...

Link to comment
Share on other sites

  • 2 weeks later...

The 3D printed cover for Frankenwheely just arrived. Had them print a few extra parts too due to their minimum order of £40+vat. Totally happy with the result. Might paint these later for an extra protective layer...

IMG_20171110_145823.jpg

Link to comment
Share on other sites

  • 5 years later...

Hi,

A few people have asked me about this so I thought I'd update this thread. This is a very old project of mine which I did while I was still learning a thing or two about making these sort of devices. I have not documented this properly and to be honest I should really rewrite the software and firmware before doing so as so many things have changed. That said I have zipped up and attached the files that may or may not be helpful here:

frankenwheely.zip

Your mileage may vary...

 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.