Eclipse Lamp Devlog #2 - Preparing to Code and 3D-Print my Mechanical Iris Design
Today gave me a little more hope in actually getting this project done well because i was able to get the perfect Mechanical iris model that could shield my camera. It was much better working with actual hardware and arduino that dealing with terminal commands taking over 30 years. It took me some time to find the right model that was small enough but still extremely functional and versatile, but after some time I found the perfect SG90 Mechanical Iris on thingiverse.com by Lore09. After finding the files I set them up in my slicer to arrange them for 3D-printing later on. The time estimates to be about 3 hours so in the meantime i thought of writing code for the servo motor to test the iris. I also have no idea why my copy and paste wasn’t working but it is kind of expected because my computer is as slow as a snail. For this I used Arduino IDE to write the servo code, here were the comments i made to explain this code better:
//This code is too check the physical limits of the SG90 servo when it is used in the iris construction
//It will use the range of 0-63 degrees(as previously tested before as the physical constraint angles) angle it will
//start at 0 degrees and go to 63, then loop back to get the iris adjustable central opening fully closed and fully opened
//Note: My copy does not work today for some reason so i will have to type my arduino code manually resourcing it from claude.
//I will test this code in another devlog once the iris is done 3d printing and I have the servo attached.
The next thing to do is complete stage 2 and assemble the parts after printing and test the servo code for functionality and I hope like some other times, it does not heat-up and automatically break after my first code upload.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.