-
Notifications
You must be signed in to change notification settings - Fork 3
/
plan.txt
108 lines (85 loc) · 2.77 KB
/
plan.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Kit:
3v Laser rangefinder off aliexpress with serial comms
4-way conector for this...
MPU 9250
SH1106
SSD1306 display
MCP1710 power supply for PIC
PIC32MM0256GPL028 - processor
5-way connector for programming
Also a.N.other LDO to provide power for peripherals...
use CC0805KKX5R8BB475 as caps - 4.7uF 25V cap in 0805 package
MAX1555 usb lipo charger
300mAH lipo battery
JST connector
A button
Hammond enclosure as before 1953LTBU
possibly 3d printed adapter for rangefinder within enclosure
waterproof micro usb connector + dust plug
Use low power timing crystal for RTCC
Hardware Tasks:
. update footprints for JST and USB connectors
. create adaptor for oscillator
. adjust 3d printed frame for
- shorter battery leads??
- buzzer
- pull pcb back from end by 0.4mm
. make 3d printed washers...
. design laser cuttung template - DONE
Firmware Tasks:
. Get proper error detection working on laser reading DONE
. Give some more generous time to get result as well?
. Get different styles of leg working (forward, backward, leapfrog)
. Get custom leg selection working
. Get visualiser working - work as "cave window", so adjust view according to angle of device
. Get set date working DONE
. Get set time working DONE
. Add some debug menu options - show uncalibrated sensor readings...
. - show calibrated sensor readings with magnitudes
. - gyro readings
. - battery voltage
. Change UI - start in measurement mode
- from here a single click takes you to the main menu
- long click anywhere takes a new readings
- double click anywhere turns off
. fix calibration routine for accelerometer - I think just needs fitting to a sphere
. Doh! - this is because all fo the readings on a horizontal surface are the same!
. Need to test on an inclined or vertical surface...
. also do stop start calibration - so more accurate readings, but fewer of them.
. 1.5s to move, measure over 500ms intervals
. add header/footer to measure screen
. do a nice shiny pixmap for the measure screen...
PC software
. note needs freetype-py and sparse_list
DEVICE Axes:
X = towards top of display with laser pointing left
Y = along laser
Z = coming out of surface of display upwards...
WORLD Axes:
X = EAST
Y = NoRTH
Z = UP
post-measure menu
Readings - no action, just visible
Discard
Store -> (assuming "last visited station==1")
1->2
1->Splay
2->1
2->Splay
Custom - needs separate code to run...
Back
Back (to main menu...)
Bluetooth:
Reset sequence
SF,1 #reset to factory settings
S-,Shetland #set name
SS,C0 #enable correct services
Enable advertisement:
A,0050,005E
Turn speaker on:
[,1,2,XXXX,YYYY
XXXX = 1024000 / f
YYYY = XXXX/2
Turn speaker off:
[,1,0,0,0