-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
794 lines (757 loc) · 34 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
<!DOCTYPE html>
<html>
<head>
<style>
.fit-box {
display: grid;
height: 100%;
}
.fit-screen {
max-width: 100%;
max-height: 100vh;
margin: auto;
}
</style>
</head>
<body>
<h2>Table of Contents</h2>
<a href="#T">Tutorials</a><br>
<a href="#T1.1">Project 1.1</a><br>
<a href="#T1.2">Project 1.2</a><br>
<a href="#T2.1">Project 2.1</a><br>
<a href="#T2.2">Project 2.2</a><br>
<a href="#T3.1">Project 3.1</a><br>
<a href="#T4.1">Project 4.1</a><br>
<a href="#T4.2">Project 4.2</a><br>
<a href="#T5.1">Project 5.1</a><br>
<a href="#T5.2">Project 5.2</a><br>
<a href="#T6.1">Project 6.1</a><br>
<a href="#T6.2">Project 6.2</a><br>
<a href="#T7.1">Project 7.1</a><br>
<a href="#T8.1">Project 8.1</a><br>
<a href="#T8.2">Project 8.2</a><br>
<a href="#T9.1">Project 9.1</a><br>
<a href="#T10.1">Project 10.1</a><br>
<a href="#T10.2">Project 10.2</a><br>
<a href="#T11.1">Project 11.1</a><br>
<a href="#T11.2">Project 11.2</a><br>
<a href="#T11.3">Project 11.3</a><br>
<a href="#T12.1">Project 12.1</a><br>
<a href="#T13.1">Project 13.1</a><br>
<a href="#T14.1">Project 14.1</a><br>
<a href="#T15.1">Project 15.1</a><br>
<a href="#T16.1">Project 16.1</a><br>
<a href="#T16.2">Project 16.2</a><br>
<a href="#A">Assignments</a><br>
<a href="#A1">Project 1</a><br>
<a href="#A2">Project 2</a><br>
<a href="#A3">Project 3</a><br>
<a href="#A4">Project 4</a><br>
<a href="#A5">Project 5</a><br>
<a href="#A6">Project 6</a><br>
<a href="#A7">Project 7</a><br>
<a href="#A11">Project 11</a><br>
<a href="#A12">Project 12</a><br>
<a href="#A13">Project 13</a><br>
<a href="#A14">Project 14</a><br>
<h2 id="T">Tutorials</h2>
<h3 id="T1.1">Project 1.1: Blink</h3>
<p>Date: 2023-09-20</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/52649f74-f4c1-4e71-a8ff-0df61e26695b">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/3b1fbc50-e139-48f6-a0e5-7f035a96e147" controls="controls"></video>
</div>
<h3 id="T1.2">Project 1.2: Blink</h3>
<p>Date: 2023-09-20</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f748141f-807a-442b-809f-82e330ef8f31">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/80c28b0f-33e5-4572-b0fd-faf278266253" controls="controls"></video>
</div>
<h3 id="T2.1">Project 2.1: Button and LED</h3>
<p>Date: 2023-09-20</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/247cddaf-4aed-4e22-bd08-3957a3a803c0">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/ff5b9755-054b-4c9b-b014-26f983bad209" controls="controls"></video>
</div>
<h3 id="T2.2">Project 2.2: MINI Table Lamp</h3>
<p>Date: 2023-09-20</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/295b45a3-895d-4261-abe1-c1ed001f7666">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/223e10e3-1da3-47b1-a2d0-61db00e5f600" controls="controls"></video>
</div>
<h3 id="T3.1">Project 3.1: Flowing Light</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/8615ba39-1ff2-478f-b8b5-62fd58bdda41">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/bd4c1abf-a6de-4354-90a0-76e036604bbb" controls="controls"></video>
</div>
<h3 id="T4.1">Project 4.1: Breathing LED</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/93b3b126-401c-4729-ae92-2ad0c76077f1">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/fd9ab349-92e2-4f2b-95ee-2f6d9ce19a1a" controls="controls"></video>
</div>
<h3 id="T4.2">Project 4.2: Meteor Flowing Light</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/5094e42d-4541-4277-a640-cf06953df033">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/4dade8b7-faac-4a37-9f8c-6531094da486" controls="controls"></video>
</div>
<h3 id="T5.1">Project 5.1: Random Color Light</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/2af5ef86-d6cc-482a-a1ab-816e218e82b3">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/9243bd7f-949b-4f43-9b48-80032a8fbba4" controls="controls"></video>
</div>
<h3 id="T5.2">Project 5.2: Gradient Color Light</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f9236495-dfb6-4535-980a-bbd73679571e">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/01bf5fd9-5761-4b47-8cc7-0cad07cadc7d" controls="controls"></video>
</div>
<h3 id="T6.1">Project 6.1: NeoPixel</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/0e2159cc-091f-47d9-b7a1-f3c0d89c29c4">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/2c0db0c8-07ce-4cd9-ac65-4c22d0cf1efd" controls="controls"></video>
</div>
<h3 id="T6.2">Project 6.1: Rainbow Light</h3>
<p>Date: 2023-09-21</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/37019df7-d59a-4875-8d42-6b425d7d54fa">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/15f1ee91-2461-4ead-9c1a-6c6d13bd946c" controls="controls"></video>
</div>
<h3 id="T7.1">Project 7.1: Doorbell</h3>
<p>Date: 2023-09-28</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/cf7ec90d-f165-41d2-ac24-7e7b554d7944">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/b9649e60-6669-444d-be66-e79413483a2d" controls="controls"></video>
</div>
<h3 id="T8.1">Project 8.1: Serial Print</h3>
<p>Date: 2023-09-28</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/1d63700f-8b93-4db4-a387-8a66b6220a87">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/196fb7a9-d2bf-43e0-b8b7-c2c64788df2c" controls="controls"></video>
</div>
<h3 id="T8.2">Project 8.2: Serial Read and Write</h3>
<p>Date: 2023-09-28</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/eeb7ce19-708f-4ab7-8410-4959538cc893">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/5bcc7737-f84d-48bd-a42a-5bd1a7573454" controls="controls"></video>
</div>
<h3 id="T9.1">Project 9.1: Serial Read and Write</h3>
<p>Date: 2023-09-28</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/8f0b2665-a9dc-4968-986d-823d7abc1da2">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/475a6399-eec0-4b15-bf9f-7ffc74cd01bd" controls="controls"></video>
</div>
<h3 id="T10.1">Project 10.1: Read Touch Sensor</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/5362d946-0580-4481-8dc3-29527ff3816f">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/a32797fe-77ac-4b32-8b26-0aa65f6b8c4c" controls="controls"></video>
</div>
<h3 id="T10.2">Project 10.2: Touch Lamp</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/6ea33179-6870-4926-8664-630dc6028948">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/e6728c99-db92-4fd6-8081-d92222462f45" controls="controls"></video>
</div>
<h3 id="T11.1">Project 11.1: Soft Light</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/a95c8f67-7d51-410a-b377-396c185b2397">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/76ca0e72-e744-4a4d-b5a9-c8e4662cec94" controls="controls"></video>
</div>
<h3 id="T11.2">Project 11.2: Soft Colorful Light</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/73b61880-779c-411f-8b3b-df86ec7163c2">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/75f29d27-9e26-49f5-a2ef-d71155bf1fc3" controls="controls"></video>
</div>
<h3 id="T11.3">Project 11.3: Soft Rainbow Light</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/4f3ced09-4343-4103-b15b-0ed8f349a9ca">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/18db68ab-4ec7-462b-9101-3b58e20fe852" controls="controls"></video>
</div>
<h3 id="T12.1">Project 12.1: Night Lamp</h3>
<p>Date: 2023-10-12</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/a2953dc1-bfaf-42b1-a43d-f6ca072055f5">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/dcb49161-e59b-4b5a-8ff4-8e8601f1546e" controls="controls"></video>
</div>
<h3 id="T13.1">Project 13.1: Thermometer</h3>
<p>Date: 2023-10-12</p>
<p>NOTE: The provided code does not accurately display temperature. I did ensure I was using a 1 kΩ resistor.
I am wondering whether my thermistor is inaccurate.</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/e48a2825-e6a2-49a7-87f1-177cdf23c11e">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/7d0e72ac-431b-467b-b8dc-0f0a10862b4b" controls="controls"></video>
</div>
<h3 id="T14.1">Project 14.1: Joystick</h3>
<p>Date: 2023-10-18</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/b18c527a-8898-4c8b-9f8a-0677830d5dec">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f0dc8b25-cf9e-4073-8421-dc9d31a7c1df" controls="controls"></video>
</div>
<h3 id="T15.1">Project 15.1: Flowing Water Light</h3>
<p>Date: 2023-10-18</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/442d2201-1ae5-4752-b69c-cd45b84f7f42">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/9fe3cb82-2476-46b8-af8b-0137137d6259" controls="controls"></video>
</div>
<h3 id="T16.1">Project 16.1: 7-Segment Display</h3>
<p>Date: 2023-10-18</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/b72beeea-70c5-4487-8d5f-5a0033576bb1">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/c28c58fd-db5d-4914-9423-65e57c291d7e" controls="controls"></video>
</div>
<h3 id="T16.2">Project 16.2: 4-Digit 7-Segment Display</h3>
<p>Date: 2023-10-18</p>
<h4>Setup</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/917b361d-bdc1-477b-91f7-90bfc434613f">
</div>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/3c0e5fd1-66fe-43ec-980d-2b723dad6fea" controls="controls"></video>
</div>
<h2 id="A">Assignments</h2>
<h3 id="A1">Project 1: Primary Color Blinking</h3>
<p>Date: 2023-09-20</p>
<p>
This assignment involves making a red, green, and blue LED blink one by one in repetition.
This requires wiring LEDs independently on a single breadboard, then writing a loop with wait cycles to turn them on and off.
While simple, this lab helps demonstrate correct, independent wiring and custom script writing.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>Distinctly Colored LEDs (x3)</li>
<li>Resistor, 220 Ω (x3)</li>
<li>Jumper M/M (x6)</li>
</ol>
<h4>Circuit Diagram</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/2ea118d1-819f-40cd-bbfb-7a5575b65673">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/90f2bdc9-f5b2-4dc9-830c-bec87477295a">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/cc995710-b322-4d88-8147-d8550ab1eecc">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/409dac24-b178-4796-a575-6c2870a2938c" controls="controls"></video>
</div>
<h3 id="A2">Project 2: NOR Latch</h3>
<p>Date: 2023-09-20</p>
<p>
This assignment involves using buttons to create a NOR-latch.
This circuit usually involves NOR gates, but here it is implemented in software.
Once an input is given, the output "latches" and will not change unless an off signal is given.
Then an input from the on signal is required to turn it on again.
In this circuit, the input signals are given from buttons and the output is an LED.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>LED (x1)</li>
<li>Resistor, 220 Ω (x1)</li>
<li>Resistor, 10 kΩ (x4)</li>
<li>Jumper M/M (x6)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/21311421-c2c6-4255-ad45-dbc60fe0ea13">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/6b8eec71-7246-42c6-95d1-26f13d6028c0">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/4dd360ca-2bf5-4d86-ab87-9e45f6c5a029">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/09a7f133-d333-43b8-a924-66164fc7a3a0" controls="controls"></video>
</div>
<h3 id="A3">Project 3: Light Bar Patterns</h3>
<p>Date: 2023-09-27</p>
<p>
This assignment involves displaying patterns on a segmented LED bar graph in response to buttons.
Two buttons each produce a unique behaviour: One produces a light that moves in a "modulus" fashion.
The other produces a similar movement with an added blur effect.
This project combines knowledge of buttons and the LED bar from the tutorials.
It also reviews how to use Pulse Width Modulation (PWM) as an alternative to digital-analog conversion.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>LED Bar Graph (x1)</li>
<li>Push Button (x2)</li>
<li>Resistor, 220 Ω (x10)</li>
<li>Resistor, 10 kΩ (x4)</li>
<li>Jumper M/M (x14)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/ac543de3-7324-459c-b9e9-dda540f5d91d">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f6285b7c-72fd-4678-bfa2-f3e28a71e8c9">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/30007220-f17f-4e12-b56b-dc103202d796">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/15af5525-8bb5-4e2f-99f9-1359b3ee929a" controls="controls"></video>
</div>
<h3 id="A4">Project 4: Rainbow Button</h3>
<p>Date: 2023-09-27</p>
<p>
This assignment involves displaying different colors of light using two different RGB formats.
When a button is pressed, an RGBLED and a NeoPixel array must display the same color.
This color changes every time the button is pressed.
This project reviews how to connect these two RGB components correctly.
Furthermore, the Python code for these two components is completely different,
so this serves as a good exercise to compare the two.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>RGBLED (x1)</li>
<li>Push Button (x1)</li>
<li>Freenove 8 RGB LED Module (x1)<\li>
<li>Resistor, 220 Ω (x3)</li>
<li>Resistor, 10 kΩ (x2)</li>
<li>Jumper M/M (x6)</li>
<li>Jumper M/F (x3)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/fcb4051c-2a6c-41bb-b872-4960d535358f">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/fb1320f4-9950-4b78-93b4-6f47b59580fe">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/7931ab21-3447-4cb6-b8e9-4db961d15625">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/4bf94b2c-1ba3-4c75-bef3-5f5280110949" controls="controls"></video>
</div>
<h3 id="A5">Project 5: Song Generator</h3>
<p>Date: 2023-09-27</p>
<p>
This assignment involves playing songs using a passive buzzer.
Buzzers need transistors to amplify the current provided to them, which is easy to wire incorrectly.
Another challenge in this lab was to translate notes into frequencies for the buzzer to use.
This becomes fairly straightforward if one uses mathematics to calculate the frequencies.
Each note is separated by a twelfth root of two, and A4 is 440 Hz.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>RGBLED (x1)</li>
<li>Push Button (x2)</li>
<li>Passive Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>Resistor, 220 Ω (x1)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Resistor, 10 kΩ (x4)</li>
<li>Jumper M/M (x8)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/7f9b35ac-c14a-458a-a757-5267776e18fd">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/cee7037c-cdf0-4e4f-a5eb-9e31efa84f63">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/254b8765-bf83-40f5-a1c1-d573e78dd69b">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/50968e19-883c-478d-9c4f-dde920856d3a" controls="controls"></video>
</div>
<h3 id="A6">Project 6: UART Serial Connection</h3>
<p>Date: 2023-10-05</p>
<p>
This assignment involves connecting two ESP32 units together using a serial connection.
It serves as a basic introduction to device intercommunication.
As a team of two, we were tasked with playing a sound and lighting up LEDs when recieving
a signal from the other ESP32.
The signal is sent with a button and sent over RX and TX cables, with an extra ground cable.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>RGBLED (x2)</li>
<li>Push Button (x1)</li>
<li>Active Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>Resistor, 220 Ω (x2)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Resistor, 10 kΩ (x2)</li>
<li>Jumper M/M (x13)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/cc5e3937-f240-43e3-bb29-8f32fe54bb9a">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/5b4c6936-7127-438b-9a2d-b55d8bff0b3e">
</div>
<h4>Breadboard Photo</h4>
<p>My Board:</p>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/3e010a7c-730b-476e-89f3-58662b05c00a">
</div>
<p>My Teammate's Board:</p>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/414c5c37-939a-4cf6-8a1a-9209ecdd70e6">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/a260821e-bfff-47e6-960b-ae3b94a87a28" controls="controls"></video>
</div>
<h3 id="A7">Project 7: Piano</h3>
<p>Date: 2023-10-05</p>
<p>
This assignment involves using the touch feature to make a piano with lights.
It introduces touch as a new sensor, while also reviewing previous output devices.
The primary challenge with this assigment is to get the touch feature working consistently enough.
This setup could be improved with larger metal contacts.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>LED Bar Graph (x1)</li>
<li>Passive Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>Resistor, 220 Ω (x7)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Jumper M/M (x16)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f8904924-8554-48dd-aef9-4eb814591646">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/2718be8c-ef55-47ff-ba71-56f2237f535f">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/00931ab1-ed22-4da0-b6d5-6880df4d5f95">
</div>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/9d3394d2-e4e9-42ff-ab90-1b3c2d21d442">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/48b8ee74-2b38-401e-8907-3ce1c494ddd2" controls="controls"></video>
</div>
<h3 id="A11">Project 11: Waving Goodbye</h3>
<p>Date: 2023-10-30</p>
<p>
This assignment involves using a servo motor to wave goodbye when the light is waning.
The circuit also lights an LED and plays a sad song.
This section introduces the concept of motors, while using familiar elements simultaneously.
This project is more creative than any of the previous projects.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>Passive Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>LED (x1)</li>
<li>Photoresistor (x1)</li>
<li>Servo Motor (x1)</li>
<li>Resistor, 220 Ω (x1)</li>
<li>Resistor, 10 kΩ (x1)</li>
<li>Jumper M/M (x8)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/9c3ede13-e867-4d59-a73f-5c82766d30ac">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/50727126-c08f-445d-8a77-266931b4f965">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/508d33e7-4c62-469a-9e28-0583971c53e7">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/2a70efec-fcb7-4f23-ab6a-2f9aed0fa694" controls="controls"></video>
</div>
<h3 id="A12">Project 12: Fan</h3>
<p>Date: 2023-10-30</p>
<p>
NOTE: My thermistor is not working (I got a dud). It always reads 4095.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>Thermistor (x1)</li>
<li>DC Motor (x1)</li>
<li>L293D (x1)</li>
<li>LCD1602 (x1)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Jumper M/M (x9)</li>
<li>Jumper M/F (x6)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/674f089b-94d9-49f6-a0f0-6915f180b340">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/662b9dad-b049-4f30-a5db-f1630f57e68e">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/e1552de8-6fb4-43bb-b7b9-21bc3c43ffc0">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/8e28da71-3032-40fd-bb28-ff87e1a82d18" controls="controls"></video>
</div>
<h3 id="A13">Project 13: Distance Sensor</h3>
<p>Date: 2023-11-07</p>
<p>
This project involves using the distance sensor to play notes and light up an LED bar.
It is primarily designed to ensure knowledge of distance sensors.
Also, the discrete output is a reminder that the sensor has a noisy output and can only be used in certain circumstantces.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>LED Bar (x1)</li>
<li>Passive Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>Ultrasonic Sensor (x1)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Resistor, 220 Ω (x10)</li>
<li>Jumper M/M (x12)</li>
<li>Jumper M/F (x4)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/5a12527a-0509-4f39-acef-45d8643485ea">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f0e0ae5b-8f9b-471f-8d3d-c4715e9c128b">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/bf0e86b9-3234-4a6a-ac7c-38ad2559b873">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/31cfa43d-54d6-4ace-8a76-164ecde66c00" controls="controls"></video>
</div>
<h3 id="A14">Project 14: Remote Gizmos</h3>
<p>Date: 2023-11-07</p>
<p>
This project involves activating several components using an IR remote and reciever.
While the focus is on these components, this also serves as a review of many output devices,
including the NeoPixel, buzzer, servo, and LCD screen.
</p>
<h4>Hardware Components</h4>
<ol>
<li>ESP32 WROVER (x1)</li>
<li>GPIO Extension Board (x1)</li>
<li>Breadboard (x1)</li>
<li>NeoPixel (x1)</li>
<li>Passive Buzzer (x1)</li>
<li>NPN Transistor (x1)</li>
<li>Servo (x1)</li>
<li>LCD 1602 (x1)</li>
<li>Infrared Remote (x1)</li>
<li>Infrared Reciever (x1)</li>
<li>Resistor, 1 kΩ (x1)</li>
<li>Resistor, 10 kΩ (x1)</li>
<li>Jumper M/M (x10)</li>
<li>Jumper M/F (x6)</li>
</ol>
<h4>Circuit Diagrams</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/f6ea2b72-d666-4588-aefc-c0197c90edbc">
</div>
<h4>Breadboard View</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/d325a1ef-b7a4-4b74-ab99-43f05e5a019f">
</div>
<h4>Breadboard Photo</h4>
<div class="fit-box">
<img class="fit-screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/377d3520-79ae-47a8-bcdc-1535f0dac2c8">
</div>
<h4>Source Code</h4>
<p>See file attached on Moodle.</p>
<h4>Video</h4>
<div class="fit-box">
<video class="fit_screen" src="https://github.com/RonnymonnyTheProgrammer/CMPT401/assets/80552918/85ef1fe2-7a5b-44d6-b6cf-f14a5298333d" controls="controls"></video>
</div>
</body>
</html>