-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
183 lines (133 loc) · 5.98 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html>
<head>
<!-- Google Tag Manager -->
<title>LumenPnP vs. Hand Assembly</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script type="module" crossorigin src="./assets/index-93d5d67b.js"></script>
<link rel="stylesheet" href="./assets/index-a427f23f.css">
</head>
<body>
<div id="output"></div>
<div id="background-pane">
<div id="toggle"><h4>Compare Against Outsourcing Instead</h4></div>
<div id="hand" class="tab">
<h1>LumenPnP vs. Hand Assembly</h1>
<p style="text-align:left;">This calculator compares manufacturing boards by hand vs using the LumenPnP. It makes a few assumptions:</p>
<ul>
<li>It takes approximately two and a half minutes to flip a job.</li>
<li>The LumenPnP is running at a conservative 800 CPH.</li>
</ul>
<br >
<div class="row">
<div class="col">
<div class="help-tip help-tip-right">
<p>
As <a target="_blank" href="https://www.ziprecruiter.com/Salaries/Circuit-Board-Assembly-Salary">reported by ZipRecruiter</a>, the average hourly wage for a Circuit Board Assembly technician is $20 an hour.
</p>
</div>
<h3>Operator Hourly Rate (USD)</h3>
<input type="number" value="20" id="operator-rate"><br>
</div>
<div class="col">
<div class="help-tip help-tip-left">
<p>
This number is how many <i>total components</i> need to be placed on each board.
</p>
</div>
<h3>Parts per Board</h3>
<input type="number" value="50" id="parts-per-board"><br>
</div>
<div class="col" >
<div class="help-tip help-tip-left">
<p>
If you're unsure how long this takes, a good conservative calculation is 40 seconds per component.
</p>
</div>
<h3>Hand-Assembly Time per Board (min)</h3>
<input type="number" value="30" id="hand-time"><br>
</div>
<div class="col">
<div class="help-tip help-tip-left">
<p>
If you are running multiple boards per job, either with panels or just separately mounting multiple PCBs, input the total number of boards you can fit on the LumenPnP for a single job.
</p>
</div>
<h3>Boards per Job</h3>
<input type="number" value="4" id="boards-per-job"><br>
</div>
</div>
<div id="button-wrapper">
<button id="calculate-button">Calculate</button>
</div>
<div class="row money-time">
<div class="slider-label">Time</div>
<label class="switch">
<input id="graph-type" type="checkbox">
<span class="slider round"></span>
</label>
<div class="slider-label">Money</div>
</div>
<div id="cost-graph" class="graph-result">
<canvas style="height:0px;" id="myChart"></canvas>
<div id="order"></div>
</div>
<div id="time-graph" class="graph-result">
<canvas style="height:0px;" id="boardsChart"></canvas>
<div id="bph-result"></div>
</div>
</div>
<div id="outsource">
<h1>LumenPnP vs. Outsourcing</h1>
<p style="text-align:left;">This calculator compares outsourcing PCBA production vs using the LumenPnP. It makes a few assumptions:</p>
<ul>
<li>It uses online quote tools as a benchmark for outsource pricing.</li>
<li>It assumes a conservative 3 hour LumenPnP setup time and 800 CPH.</li>
<li>It adds 16 hours to the LumenPnP timeline for every 8 hours of production to consider non-work hours.</li>
</ul>
<br >
<div class="row">
<div class="col">
<div class="help-tip help-tip-right">
<p>
The number of PCBAs needed.
</p>
</div>
<h3>Number of Boards</h3>
<input type="number" value="20" id="num-of-boards-outsourcing"><br>
</div>
<div class="col">
<div class="help-tip help-tip-left">
<p>
This number is how many <i>total components</i> need to be placed on each board.
</p>
</div>
<h3>Parts per Board</h3>
<input type="number" value="30" id="parts-per-board-outsourcing"><br>
</div>
</div>
<div id="button-wrapper">
<button id="calculate-button-outsource">Calculate</button>
</div>
<div id="time-graph-outsource-container" class="graph-result">
<canvas style="height:0px;" id="outsource-graph"></canvas>
<div id="order"></div>
</div>
</div>
<a href="https://www.opulo.io/"><div id="info">
<img style="width: 120px;" src="./assets/opulo-black-alpha-f3ee483a.png" />
</div></a>
</div>
</body>
</html>