Android app to get the value of 2 accelerometers sensors (connected to a ioio board) and compare their angles to the horizon.
• Milestone 1:
o Needs an app to connect 2 accelerometers (SEN0032 ; ADXL345) to a ioio board, and retrieving their readings to the android screen.
o Main activity screen (will call Main Screen) only includes 2 textviews to show the values of both sensors.
• Main screen will include a third textview to show the angle difference between each accelerometer and the horizon.
o Reading the ioio should continue even if the app is in the background.
o Should include wiring diagram, with pictures.
o Detailed Documentation for all methods, variables and each step in the app explaining what it is doing to make it easy for other programmers to edit the app later. This documentation should appear as notes after each line (or few lines) of code. Within the code.
• Milestone 2:
o measure the ioio battery level (volt) and display its level on the Main screen.
o Add a settings screen to the app, to include:
? Setting for update rate (1 sec up to 60 sec)
? Editable Textview where user can set a threshold for the angle difference, so when the diff between the 2 accelerometers exceeds the threshold, an alarm rings.
? Checkbox (or toggle button) to enable/disable the alarm.
? Editable Textview: default snooze time delay for this alarm.
? Editable Textview : time allowance before the alarm starts (i.e. if the angle difference touches the threshold, it must stay exceeding the threshold for a certain time before the alarm rings, if it go below the threshold at any time during this, the timing resets.
• Note (during the snooze, if the angle diff. goes below the threshold, the whole process resets)
• These settings must stay remembered on the android device even after the app is restarted.
• Again, sensing the angle diff, and starting the alarm, and the snoozing function, should all work even the app is in the background.
? A button the chose the alarm sound.
? An option (checkbox) to alarm or notify user when lose connection with ioio for more than xxx minutes.
? Option to alarm when battery level is less than 20%. (i.e. ioio is about to stop due to low charge).
o Detailed Documentation
• Milestone 3:
o On main screen:
? a visual display (animated) on the main screen to show the angle diff, it has 15 slides (each slide represents a step of the angle diff (from 0 to the threshold) and these slides change automatically based on the angle diff value (they will appear like animation)
o on settings screen:
? Setting to set working hours during the day (i.e from 9 am to 7 pm)
o Detailed Documentation
• Milestone 4:
o A log - that can be filtered to show reports-, includes:
? Working time log: working time per day: no. of hours where the sensors where being traced for every day.
? Alarms log: each alarm has: date & time, no. of snoozes.
o Reports & statistics page:
? No of alarms per day:
• this should filter away the days where the app never worked
• Should represent everyday by a point on a chart
? Average alarms per 10 hours:
• Similar to previous chart, the difference is that it shows the average alarms within 8 hours of working time
• So if the device ran in a day for 2 hours generating only one alarm, then the value displayed on the chart will be 10/2(the actual working hours)* 1 (the no. of alarms)= 5 alarms/10hours.
? An option to email these reports.
including the documentation.
Hello Dear.
i have read your proposal carefully. your project is suitable for me.
I have experience with online app based on backend webservice , Location trace based on GPS, GoogleMp,Youtubevideo, JNI(FFMPEG,OPENVPN) , Responsible mobile site
Mobile Web.
Thanks