Ideally I would like to put a little box on the end of my Telescope and read the screen to ensure my scope is pointing true north and laying totally level .
I have played with a few sketches but am hoping for someone to let me know if I am heading in the right direction.
I can get values from a MPU6050 sensor displayed on an 16 x 02 LCD which alter as I move the sensor. So far so good!
The values do not seem to settle to a zero value as I have not yet built a little box to keep it all in.
Will I be able to get a fixed starting value { it is 5 deg high, pointing 8 degrees west} or can I only get to to say I have moved by 4 degrees.
Am I using the right sensor even?
Not looking for a line by line answer but maybe “use this Library and its examples “!
To get accuracy down to 1° absolute, I doubt that an inexpensive accelerometer would be of any use. For rotational measurements, potentiometers would be better.
Have you searched the internet for Arduino projects that display the absolute angles of a telescope? Might find something that provides a good starting point for your project.
The MPU6050 can measure two tilt angles (pitch and roll) with respect to the vertical using the accelerometer, but not the yaw angle, with respect to North. You need a magnetometer for that (usually as part of a 9DOF IMU).
Depending on your scope type, the Astro Hopper app does what you want and has been widely used by astronomers for a long time. A lot depends on your scope; for any tube-based scope, you just lay the phone on the tube (many use a velcro strap to secure the phone) If the phone naturally can be mounted at 90 degrees to the light path the apps like Stellarium and SkySafari are easy to use while PS Align is a bit more difficult but very good. Here are a couplke of screenshots of AstroHopper (warning, getting and installing are weird but legit)
I have tried a few apps and my phone never seems to settle on a reading, jumping by 2 or 3 degrees. Even when it does settle, the display reads 0.5; 1.01; 2 ; 0.5, that is to say the number of the characters changes and so makes the reading of a value very difficult.
I will try astro hopper however….. nothing to lose.
I now have sensor glued to a base plate with the UNO and LCD fitted and it resting on a “flat” surface. It would seem that the X settles to close to zero, if I was to print the average of maybe 5 to ten readings over 2 seconds I would be content,……..BUT
If I now tilt the base plate by about 10 degrees and reset the programme…………it settles down about zero again
i.e It would seem my scope would need to be set up before I “setup” my scope !!!
NOTE at one point the numbers displayed in the serial monitor had settled to a constant……… I thought the program had stopped !! Took way too long to “fix” that problem
The 'secret' is to use a phone that has been appropriately calibrated. Not all phones have good sensors. My health has prevented me from getting out to use my camera/scope so I don;t have recent first hand knowledge. I can tell you though that many have.
Do you understand that a breeze can cause those tiny reading changes, tremors in the earth or any other source of vibration? Adding a heavy weight to the tripod central column is helpful, and of course, using a solid tripod or scope mount is paramount. As you likely know, serious amateurs are known to spend $10,000 on a high-quality pier. I don't have that kind of money anymore, but I did upgrade my tripod to an excellent 4-section graphite with a levelling head. That made a big difference for me.
I think I recall a discussion re magnetic fields affecting the readings, and they, of course, are affected by electrical fields from things like dew heaters, scope drive motors and maybe even the camera. I power my camera from a separate battery so I can cut ALL power. I actually use several battery packs.
By far your best place to get information is an astronomy forum. I think something like https://www.cloudynights.com and https://stargazerslounge.com
are your best bets.
I did a search of both the top astro forums and there was 1 hit on one and 3 hits on the other. No good news, just guys trying and failing.
I went back and read your opening comments. First of all a bubble level is the gold standard for levelling. True North is ???? If you mean the place in the sky you need to aim a scope in the northern hemisphere an adjustable (because it changes over time) polar scope is the least cost solution with guider's a second choice but substantially more expensive.
Can you elaborate or be more specific what it is you want to accomplish?
I see you mentioned Google Play Store. That means it is not an Apple iPhone. Android phones can be ok, but more likely than Apple to not be. I would look for a AstroHopper specific forum and see what phones everyone is using.
Only a total of 4 (1 + 3) failed attempts on the top two astro forums. We have special devices and now a few phone apps for polar alignment and target aquisition.
I mainly use my scope…. ( if , as, and when I have anything like a clear sky, mutter mutter mutter growl) from my back yard. A postage stamp size bit of city lit ground) so viewing is not great. My mount { wot da round glass thing sits on} has the capability to “GoTo” a given object i.e. M101, Deneb, however it needs to start the night from a fixed zero zero position. ( it can then do its own sums to point wherever).
180 degress is blocked off by the terrace of houses behind. Polaris, the north star hides behind next doors trees. Lights from windows and streets mess with the view dead ahead! Yeah Yeah I know why oh why did I think of astrophotography!
I can not fix my tripod to a known spot as I live with my grandkids and they need to use the garden as well.
So… place wonderful box on telescope. Box say 8 degrees by 4 degrees….. drive mount so box say zero zero. Power cycle and I am point at zero zero. easy peasy Yeah
Say welcome to the wonderful world of Ardunio and Aliexpress sensors which will fix all my issues………..Not too much to ask?
I understand but you are missing two facts. I won't bother with one of them but the second is to align with AstroHopper you do NOT NOT NOT need to see Polaris with your Mark 1 eyeball! They even use it in Australia where Polaris is really hard to see LOL. Also great for doing polar alignment when the sky is clouded over.
Sonofcy, This is getting SOOOOOO close. After 30 seconds of play with Astrohopper it is looking good. I will give it a go tomorrow ( 20th Oct) and report back.
I am thinking I could use it to align to polaris { a fixed point} let the Ardunio settle for 5 mins and then move it to Minus 51 degrees or whatever.