In this project log I want to explain the logic behind the operation of the astroscopus. Bellow is a flowchart with the operation mode of the device. These are my preliminary ideas that can change with the progress of the project.
On power up the device uses the GPS module to find the current time and location. Given that on the same day (i think..) that there are no large variantions of the ephemeris table, we calculate once every 24 hours. After this phase we wait for the aks (futurama ask) button to be pressed. If the button is pressed, we find the RA/DEC using the inclinometer and the magnetometer.
I think the basic idea is clear, but I hope this schmatics helps.