-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
126 lines (123 loc) · 3.81 KB
/
index.html
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html>
<head>
<title>Intervalometer</title>
<link
rel="icon"
href='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">⏲️</text></svg>'
/>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/build/pure-min.css"
crossorigin="anonymous"
/>
<style>
.hidden {
display: none;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
text-align: center;
}
main {
margin: auto;
padding: 5vw;
text-align: justify;
}
li {
margin-top: 0.5em;
}
</style>
</head>
<body>
<main>
<div id="connectGroup">
This is an unofficial
<a href="https://developer.chrome.com/articles/bluetooth/"
>Web Bluetooth</a
>-based intervalometer for Canon cameras by
<a href="https://twitter.com/RReverser">@RReverser</a>.<br />
<br />
Check out the code and description on
<a href="https://github.com/RReverser/eos-remote-web">GitHub</a>.
<br />
<br />
If you're comfortable, feel free to try it out with your own
Bluetooth-capable Canon camera
<strong>(entirely at your own risk!)</strong>:<br />
<ol>
<li>
<a
href="https://cam.start.canon/en/C002/manual/html/UG-08_Wi-Fi_0090.html"
>Start the Bluetooth remote pair process</a
>
on your camera.
</li>
<li>
<a
href="https://cam.start.canon/en/C002/manual/html/UG-04_AF-Drive_0060.html"
>Set your camera</a
>
to the "Self-timer: 10 sec/remote control" drive mode.
</li>
<li>
<a
href="https://cam.start.canon/en/C002/manual/html/UG-03_CustomShooting_0060.html"
>Set your camera</a
>
to the "Bulb" exposure mode.
</li>
<li>
Press <button id="connectBtn">Connect</button> and choose your
camera among the shown devices.
</li>
</ol>
<p>
Occasionally you might get pairing issues or reconnection issues, e.g.
after camera got asleep.
</p>
<p>
When that happens, I found it helpful to "Delete connection
information" on the camera, restart it and go through the pairing
process again.
</p>
</div>
<div id="shootGroup" class="hidden">
<form class="pure-form pure-form-aligned">
<fieldset>
<legend>Intervalometer</legend>
<div class="pure-control-group">
<label for="numberInput">Number of shots</label>
<input
type="number"
id="numberInput"
min="1"
value="1"
pattern="[0-9]+"
/>
</div>
<div class="pure-control-group">
<label for="exposureInput">Exposure time (seconds)</label>
<input type="number" id="exposureInput" min="1" value="1" />
</div>
<div class="pure-control-group">
<label for="delayInput">Delay between shots (seconds)</label>
<input type="number" id="delayInput" min="1" value="1" />
</div>
<div class="pure-controls">
<button id="shootBtn" type="button">Start</button><br />
<progress
id="progressBar"
value="0"
style="visibility: hidden"
></progress>
</div>
</fieldset>
</form>
</div>
</main>
<script src="index.js"></script>
</body>
</html>