-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
169 lines (124 loc) · 5.49 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
<!DOCTYPE html>
<html>
<head>
<!-- Google Tag Manager -->
<title>LumenPnP vs. Hand Assembly</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="script.js" type="module"></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="stylesheet" href="style.css">
<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">
</head>
<body>
<div id="output"></div>
<div id="background-pane">
<div id="toggle"><h4>Compare Against Hand Placing 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.</p>
<ul>
<li>It assumes a conservative 2 hour LumenPnP setup time and 1200 chips per hour.</li>
<li>It takes approximately two and a half minutes to flip a job, with four boards per job.</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>
<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">Labor Cost</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.</p>
<ul>
<li>It uses online quote tools as a benchmark for outsource timing.</li>
<li>It assumes a conservative 2 hour LumenPnP setup time and 1200 chips per hour.</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 style="display:none" id="outsource-order"></div>
</div>
</div>
<a href="https://www.opulo.io/"><div id="info">
<img style="width: 120px;" src="opulo-black-alpha.png" />
</div></a>
</div>
</body>
</html>