From b2016e4983d0ac16e719639f07e894606f35adae Mon Sep 17 00:00:00 2001 From: Paul Zhang Date: Wed, 21 Feb 2024 19:39:40 -0800 Subject: [PATCH] Update project lecture links and upgrade to Jekyll 4 --- .gitignore | 1 + 404.html | 25 + Gemfile | 35 + Gemfile.lock | 159 + LICENSE | 21 - README.md | 25 - _config.yml | 113 + {docs/_data => _data}/navigation.yml | 0 {docs/_pages => _pages}/about.md | 3 +- {docs/_pages => _pages}/auto-flash.md | 12 +- {docs/_pages => _pages}/led-circuit.md | 21 +- {docs/_pages => _pages}/lorem-ipsum.md | 0 {docs/_pages => _pages}/pets.md | 0 _pages/projects.md | 8 + {docs/_pages => _pages}/sitemap.md | 0 .../back-to-the-basics.md | 21 +- .../communication-protocols.md | 33 +- {docs/_pages => _projects}/debugging.md | 11 +- .../digital-analog-pwm.md | 33 +- {docs/_pages => _projects}/distance-sensor.md | 33 +- .../integrated-circuits.md | 25 +- .../microcontrollers.md | 27 +- .../pid-and-motor-control.md | 17 +- .../serial-communication.md | 17 +- _site/404.html | 211 + {docs/_site => _site}/about/index.html | 282 +- {docs/_site => _site}/assets/code/Despacito.h | 0 .../assets/code/basicpitches.h | 0 {docs/_site => _site}/assets/code/pitches.h | 0 _site/assets/css/main.css | 5070 +++++++ _site/assets/css/main.css.map | 1 + .../assets/images/555-timer-do.jpg | Bin .../assets/images/555-timer-dont-do.png | Bin .../assets/images/555-timer-led-circuit.png | Bin .../images/555-timer-speaker-circuit.png | Bin .../assets/images/555-timer.jpg | Bin .../assets/images/DistanceSensor-splash.png | Bin .../assets/images/DistanceSensor.png | Bin .../_site => _site}/assets/images/HBridge.jpg | Bin .../assets/images/OPSLogo-transparent.png | Bin .../_site => _site}/assets/images/OPSLogo.png | Bin .../assets/images/RedLightGreenLight.png | Bin .../assets/images/android-chrome-144x144.png | Bin .../assets/images/android-chrome-192x192.png | Bin .../assets/images/android-chrome-36x36.png | Bin .../assets/images/android-chrome-384x384.png | Bin .../assets/images/android-chrome-48x48.png | Bin .../assets/images/android-chrome-72x72.png | Bin .../assets/images/android-chrome-96x96.png | Bin .../images/apple-touch-icon-114x114.png | Bin .../images/apple-touch-icon-120x120.png | Bin .../images/apple-touch-icon-144x144.png | Bin .../images/apple-touch-icon-152x152.png | Bin .../images/apple-touch-icon-180x180.png | Bin .../assets/images/apple-touch-icon-57x57.png | Bin .../assets/images/apple-touch-icon-60x60.png | Bin .../assets/images/apple-touch-icon-72x72.png | Bin .../assets/images/apple-touch-icon-76x76.png | Bin .../images/apple-touch-icon-precomposed.png | Bin .../assets/images/apple-touch-icon.png | Bin .../assets/images/arduino-imu-wiring.png | Bin .../assets/images/arduino-imu.JPG | Bin .../assets/images/arduino-pins.png | Bin .../_site => _site}/assets/images/arduino.jpg | Bin .../assets/images/autoflash1.png | Bin .../assets/images/autoflash2.png | Bin .../assets/images/autoflash3.png | Bin .../assets/images/autoflash4.png | Bin .../assets/images/browserconfig.xml | 0 .../assets/images/button_config.png | Bin .../assets/images/debounce.png | Bin .../assets/images/debugging.jpg | Bin .../assets/images/distance-sensor-1.png | Bin .../assets/images/distance-sensor-2.png | Bin .../assets/images/favicon-16x16.png | Bin .../assets/images/favicon-32x32.png | Bin .../assets/images/favicon-96x96.png | Bin .../_site => _site}/assets/images/favicon.ico | Bin .../assets/images/female-male-header.png | Bin .../assets/images/foo-bar-identity-th.jpg | Bin .../assets/images/foo-bar-identity.jpg | Bin .../assets/images/i2c-read.png | Bin .../assets/images/i2c-write.png | Bin .../assets/images/iPoduino-splash.png | Bin .../assets/images/iPoduino.png | Bin .../assets/images/imu-code.png | Bin .../assets/images/ipoduino-1.png | Bin .../assets/images/ipoduino-2.png | Bin .../assets/images/ipoduino-3.png | Bin .../assets/images/ipoduino-4.png | Bin {docs/_site => _site}/assets/images/jsts.jpg | Bin .../assets/images/led-breadboard.jpg | Bin .../assets/images/led-circuit.png | Bin .../assets/images/led-on-off.png | Bin .../assets/images/led-polarity.png | Bin .../assets/images/led-schematic.png | Bin {docs/_site => _site}/assets/images/led1.png | Bin {docs/_site => _site}/assets/images/led2.png | Bin {docs/_site => _site}/assets/images/led3.png | Bin .../assets/images/manifest.json | 0 .../assets/images/mstile-144x144.png | Bin .../assets/images/mstile-150x150.png | Bin .../assets/images/mstile-310x150.png | Bin .../assets/images/mstile-310x310.png | Bin .../assets/images/mstile-70x70.png | Bin .../assets/images/potentiometer-circuit.png | Bin .../assets/images/potentiometer-code.png | Bin .../images/potentiometer-representation.png | Bin .../assets/images/potentiometer-terminals.jpg | Bin .../images/potentiometer-voltage-div.png | Bin .../assets/images/potentiometer-vout.png | Bin .../assets/images/profile-picture.png | Bin .../_site => _site}/assets/images/readReg.png | Bin .../assets/images/rf-wiring-setup.png | Bin .../_site => _site}/assets/images/rodent.png | Bin .../assets/images/safari-pinned-tab.svg | 0 .../assets/images/site-logo.png | Bin .../assets/images/site.webmanifest | 0 .../_site => _site}/assets/images/splash.jpg | Bin .../assets/images/ucla-ieee.jpg | Bin .../assets/images/writeReg.png | Bin _site/assets/js/_main.js | 136 + _site/assets/js/lunr/lunr-en.js | 69 + _site/assets/js/lunr/lunr-gr.js | 522 + _site/assets/js/lunr/lunr-store.js | 55 + _site/assets/js/lunr/lunr.js | 3475 +++++ _site/assets/js/lunr/lunr.min.js | 6 + _site/assets/js/main.min.js | 6 + _site/assets/js/plugins/gumshoe.js | 484 + .../js/plugins/jquery.ba-throttle-debounce.js | 252 + _site/assets/js/plugins/jquery.fitvids.js | 82 + .../js/plugins/jquery.greedy-navigation.js | 127 + .../js/plugins/jquery.magnific-popup.js | 1860 +++ _site/assets/js/plugins/smooth-scroll.js | 650 + _site/assets/js/vendor/jquery/jquery-3.5.1.js | 10872 ++++++++++++++++ .../assets/videos/ipoduino-1.mp4 | Bin .../assets/videos/ipoduino-2.mp4 | Bin .../assets/videos/ipoduino-3.mp4 | Bin .../auto-flashlight/index.html | 314 +- _site/docs/Gemfile | 14 + _site/feed.xml | 1 + {docs/_site => _site}/index.html | 155 +- {docs/_site => _site}/led-circuit/index.html | 310 +- {docs/_site => _site}/lorem-ipsum/index.html | 276 +- _site/pets/index.html | 216 + .../projects/back-to-the-basics}/index.html | 355 +- .../communication-protocols}/index.html | 412 +- _site/projects/debugging/index.html | 323 + .../projects/digital-analog-pwm}/index.html | 363 +- .../projects}/distance-sensor/index.html | 351 +- _site/projects/index.html | 594 + .../projects/integrated-circuits}/index.html | 371 +- .../projects/microcontrollers}/index.html | 361 +- .../pid-and-motor-control}/index.html | 363 +- .../projects/serial-communication}/index.html | 356 +- _site/robots.txt | 1 + _site/sitemap.xml | 65 + {docs/_site => _site}/sitemap/index.html | 532 +- {docs/assets => assets}/code/Despacito.h | 0 {docs/assets => assets}/code/basicpitches.h | 0 {docs/assets => assets}/code/pitches.h | 0 .../assets => assets}/images/555-timer-do.jpg | Bin .../images/555-timer-dont-do.png | Bin .../images/555-timer-led-circuit.png | Bin .../images/555-timer-speaker-circuit.png | Bin {docs/assets => assets}/images/555-timer.jpg | Bin .../images/DistanceSensor-splash.png | Bin .../images/DistanceSensor.png | Bin {docs/assets => assets}/images/HBridge.jpg | Bin .../images/OPSLogo-transparent.png | Bin {docs/assets => assets}/images/OPSLogo.png | Bin .../images/RedLightGreenLight.png | Bin .../images/android-chrome-144x144.png | Bin .../images/android-chrome-192x192.png | Bin .../images/android-chrome-36x36.png | Bin .../images/android-chrome-384x384.png | Bin .../images/android-chrome-48x48.png | Bin .../images/android-chrome-72x72.png | Bin .../images/android-chrome-96x96.png | Bin .../images/apple-touch-icon-114x114.png | Bin .../images/apple-touch-icon-120x120.png | Bin .../images/apple-touch-icon-144x144.png | Bin .../images/apple-touch-icon-152x152.png | Bin .../images/apple-touch-icon-180x180.png | Bin .../images/apple-touch-icon-57x57.png | Bin .../images/apple-touch-icon-60x60.png | Bin .../images/apple-touch-icon-72x72.png | Bin .../images/apple-touch-icon-76x76.png | Bin .../images/apple-touch-icon-precomposed.png | Bin .../images/apple-touch-icon.png | Bin .../images/arduino-imu-wiring.png | Bin .../assets => assets}/images/arduino-imu.JPG | Bin .../assets => assets}/images/arduino-pins.png | Bin {docs/assets => assets}/images/arduino.jpg | Bin {docs/assets => assets}/images/autoflash1.png | Bin {docs/assets => assets}/images/autoflash2.png | Bin {docs/assets => assets}/images/autoflash3.png | Bin {docs/assets => assets}/images/autoflash4.png | Bin .../images/browserconfig.xml | 0 .../images/button_config.png | Bin {docs/assets => assets}/images/debounce.png | Bin {docs/assets => assets}/images/debugging.jpg | Bin .../images/distance-sensor-1.png | Bin .../images/distance-sensor-2.png | Bin .../images/favicon-16x16.png | Bin .../images/favicon-32x32.png | Bin .../images/favicon-96x96.png | Bin {docs/assets => assets}/images/favicon.ico | Bin .../images/female-male-header.png | Bin .../images/foo-bar-identity-th.jpg | Bin .../images/foo-bar-identity.jpg | Bin {docs/assets => assets}/images/i2c-read.png | Bin {docs/assets => assets}/images/i2c-write.png | Bin .../images/iPoduino-splash.png | Bin {docs/assets => assets}/images/iPoduino.png | Bin {docs/assets => assets}/images/imu-code.png | Bin {docs/assets => assets}/images/ipoduino-1.png | Bin {docs/assets => assets}/images/ipoduino-2.png | Bin {docs/assets => assets}/images/ipoduino-3.png | Bin {docs/assets => assets}/images/ipoduino-4.png | Bin {docs/assets => assets}/images/jsts.jpg | Bin .../images/led-breadboard.jpg | Bin .../assets => assets}/images/led-circuit.png | Bin {docs/assets => assets}/images/led-on-off.png | Bin .../assets => assets}/images/led-polarity.png | Bin .../images/led-schematic.png | Bin {docs/assets => assets}/images/led1.png | Bin {docs/assets => assets}/images/led2.png | Bin {docs/assets => assets}/images/led3.png | Bin {docs/assets => assets}/images/manifest.json | 0 .../images/mstile-144x144.png | Bin .../images/mstile-150x150.png | Bin .../images/mstile-310x150.png | Bin .../images/mstile-310x310.png | Bin .../assets => assets}/images/mstile-70x70.png | Bin .../images/potentiometer-circuit.png | Bin .../images/potentiometer-code.png | Bin .../images/potentiometer-representation.png | Bin .../images/potentiometer-terminals.jpg | Bin .../images/potentiometer-voltage-div.png | Bin .../images/potentiometer-vout.png | Bin .../images/profile-picture.png | Bin {docs/assets => assets}/images/readReg.png | Bin .../images/rf-wiring-setup.png | Bin {docs/assets => assets}/images/rodent.png | Bin .../images/safari-pinned-tab.svg | 0 {docs/assets => assets}/images/site-logo.png | Bin .../assets => assets}/images/site.webmanifest | 0 {docs/assets => assets}/images/splash.jpg | Bin {docs/assets => assets}/images/ucla-ieee.jpg | Bin {docs/assets => assets}/images/writeReg.png | Bin {docs/assets => assets}/videos/ipoduino-1.mp4 | Bin {docs/assets => assets}/videos/ipoduino-2.mp4 | Bin {docs/assets => assets}/videos/ipoduino-3.mp4 | Bin docs/CNAME | 1 - docs/Gemfile | 9 +- docs/Gemfile.lock | 307 - docs/_config.dev.yml | 13 - docs/_config.yml | 320 - docs/_includes/head/custom.html | 8 - docs/_layouts/default.html | 53 - docs/_pages/404.md | 15 - docs/_pages/projects.md | 48 - docs/_site/404.html | 479 - docs/_site/CNAME | 1 - docs/_site/debugging/index.html | 521 - docs/_site/feed.xml | 2 +- docs/_site/pets/index.html | 443 - docs/_site/projects/index.html | 595 - docs/_site/screenshot-layouts.png | Bin 124853 -> 0 bytes docs/_site/screenshot.png | Bin 210879 -> 0 bytes docs/_site/sitemap.xml | 64 - docs/assets/.DS_Store | Bin 8196 -> 0 bytes docs/assets/images/.DS_Store | Bin 6148 -> 0 bytes docs/screenshot-layouts.png | Bin 124853 -> 0 bytes docs/screenshot.png | Bin 210879 -> 0 bytes docs/_pages/home.md => index.md | 2 +- 277 files changed, 26617 insertions(+), 6797 deletions(-) create mode 100644 404.html create mode 100644 Gemfile create mode 100644 Gemfile.lock delete mode 100644 LICENSE delete mode 100644 README.md create mode 100644 _config.yml rename {docs/_data => _data}/navigation.yml (100%) rename {docs/_pages => _pages}/about.md (96%) rename {docs/_pages => _pages}/auto-flash.md (95%) rename {docs/_pages => _pages}/led-circuit.md (91%) rename {docs/_pages => _pages}/lorem-ipsum.md (100%) rename {docs/_pages => _pages}/pets.md (100%) create mode 100644 _pages/projects.md rename {docs/_pages => _pages}/sitemap.md (100%) rename docs/_pages/turn-on-led.md => _projects/back-to-the-basics.md (92%) rename docs/_pages/radio-redlight-greenlight.md => _projects/communication-protocols.md (96%) rename {docs/_pages => _projects}/debugging.md (90%) rename docs/_pages/ipoduino.md => _projects/digital-analog-pwm.md (89%) rename {docs/_pages => _projects}/distance-sensor.md (92%) rename docs/_pages/555-timer.md => _projects/integrated-circuits.md (94%) rename docs/_pages/potentiometer-blink.md => _projects/microcontrollers.md (92%) rename docs/_pages/capstone.md => _projects/pid-and-motor-control.md (96%) rename docs/_pages/redgreen.md => _projects/serial-communication.md (96%) create mode 100644 _site/404.html rename {docs/_site => _site}/about/index.html (50%) rename {docs/_site => _site}/assets/code/Despacito.h (100%) rename {docs/_site => _site}/assets/code/basicpitches.h (100%) rename {docs/_site => _site}/assets/code/pitches.h (100%) create mode 100644 _site/assets/css/main.css create mode 100644 _site/assets/css/main.css.map rename {docs/_site => _site}/assets/images/555-timer-do.jpg (100%) rename {docs/_site => _site}/assets/images/555-timer-dont-do.png (100%) rename {docs/_site => _site}/assets/images/555-timer-led-circuit.png (100%) rename {docs/_site => _site}/assets/images/555-timer-speaker-circuit.png (100%) rename {docs/_site => _site}/assets/images/555-timer.jpg (100%) rename {docs/_site => _site}/assets/images/DistanceSensor-splash.png (100%) rename {docs/_site => _site}/assets/images/DistanceSensor.png (100%) rename {docs/_site => _site}/assets/images/HBridge.jpg (100%) rename {docs/_site => _site}/assets/images/OPSLogo-transparent.png (100%) rename {docs/_site => _site}/assets/images/OPSLogo.png (100%) rename {docs/_site => _site}/assets/images/RedLightGreenLight.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-144x144.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-192x192.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-36x36.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-384x384.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-48x48.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-72x72.png (100%) rename {docs/_site => _site}/assets/images/android-chrome-96x96.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-114x114.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-120x120.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-144x144.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-152x152.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-180x180.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-57x57.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-60x60.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-72x72.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-76x76.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon-precomposed.png (100%) rename {docs/_site => _site}/assets/images/apple-touch-icon.png (100%) rename {docs/_site => _site}/assets/images/arduino-imu-wiring.png (100%) rename {docs/_site => _site}/assets/images/arduino-imu.JPG (100%) rename {docs/_site => _site}/assets/images/arduino-pins.png (100%) rename {docs/_site => _site}/assets/images/arduino.jpg (100%) rename {docs/_site => _site}/assets/images/autoflash1.png (100%) rename {docs/_site => _site}/assets/images/autoflash2.png (100%) rename {docs/_site => _site}/assets/images/autoflash3.png (100%) rename {docs/_site => _site}/assets/images/autoflash4.png (100%) rename {docs/_site => _site}/assets/images/browserconfig.xml (100%) rename {docs/_site => _site}/assets/images/button_config.png (100%) rename {docs/_site => _site}/assets/images/debounce.png (100%) rename {docs/_site => _site}/assets/images/debugging.jpg (100%) rename {docs/_site => _site}/assets/images/distance-sensor-1.png (100%) rename {docs/_site => _site}/assets/images/distance-sensor-2.png (100%) rename {docs/_site => _site}/assets/images/favicon-16x16.png (100%) rename {docs/_site => _site}/assets/images/favicon-32x32.png (100%) rename {docs/_site => _site}/assets/images/favicon-96x96.png (100%) rename {docs/_site => _site}/assets/images/favicon.ico (100%) rename {docs/_site => _site}/assets/images/female-male-header.png (100%) rename {docs/_site => _site}/assets/images/foo-bar-identity-th.jpg (100%) rename {docs/_site => _site}/assets/images/foo-bar-identity.jpg (100%) rename {docs/_site => _site}/assets/images/i2c-read.png (100%) rename {docs/_site => _site}/assets/images/i2c-write.png (100%) rename {docs/_site => _site}/assets/images/iPoduino-splash.png (100%) rename {docs/_site => _site}/assets/images/iPoduino.png (100%) rename {docs/_site => _site}/assets/images/imu-code.png (100%) rename {docs/_site => _site}/assets/images/ipoduino-1.png (100%) rename {docs/_site => _site}/assets/images/ipoduino-2.png (100%) rename {docs/_site => _site}/assets/images/ipoduino-3.png (100%) rename {docs/_site => _site}/assets/images/ipoduino-4.png (100%) rename {docs/_site => _site}/assets/images/jsts.jpg (100%) rename {docs/_site => _site}/assets/images/led-breadboard.jpg (100%) rename {docs/_site => _site}/assets/images/led-circuit.png (100%) rename {docs/_site => _site}/assets/images/led-on-off.png (100%) rename {docs/_site => _site}/assets/images/led-polarity.png (100%) rename {docs/_site => _site}/assets/images/led-schematic.png (100%) rename {docs/_site => _site}/assets/images/led1.png (100%) rename {docs/_site => _site}/assets/images/led2.png (100%) rename {docs/_site => _site}/assets/images/led3.png (100%) rename {docs/_site => _site}/assets/images/manifest.json (100%) rename {docs/_site => _site}/assets/images/mstile-144x144.png (100%) rename {docs/_site => _site}/assets/images/mstile-150x150.png (100%) rename {docs/_site => _site}/assets/images/mstile-310x150.png (100%) rename {docs/_site => _site}/assets/images/mstile-310x310.png (100%) rename {docs/_site => _site}/assets/images/mstile-70x70.png (100%) rename {docs/_site => _site}/assets/images/potentiometer-circuit.png (100%) rename {docs/_site => _site}/assets/images/potentiometer-code.png (100%) rename {docs/_site => _site}/assets/images/potentiometer-representation.png (100%) rename {docs/_site => _site}/assets/images/potentiometer-terminals.jpg (100%) rename {docs/_site => _site}/assets/images/potentiometer-voltage-div.png (100%) rename {docs/_site => _site}/assets/images/potentiometer-vout.png (100%) rename {docs/_site => _site}/assets/images/profile-picture.png (100%) rename {docs/_site => _site}/assets/images/readReg.png (100%) rename {docs/_site => _site}/assets/images/rf-wiring-setup.png (100%) rename {docs/_site => _site}/assets/images/rodent.png (100%) rename {docs/_site => _site}/assets/images/safari-pinned-tab.svg (100%) rename {docs/_site => _site}/assets/images/site-logo.png (100%) rename {docs/_site => _site}/assets/images/site.webmanifest (100%) rename {docs/_site => _site}/assets/images/splash.jpg (100%) rename {docs/_site => _site}/assets/images/ucla-ieee.jpg (100%) rename {docs/_site => _site}/assets/images/writeReg.png (100%) create mode 100644 _site/assets/js/_main.js create mode 100644 _site/assets/js/lunr/lunr-en.js create mode 100644 _site/assets/js/lunr/lunr-gr.js create mode 100644 _site/assets/js/lunr/lunr-store.js create mode 100644 _site/assets/js/lunr/lunr.js create mode 100644 _site/assets/js/lunr/lunr.min.js create mode 100644 _site/assets/js/main.min.js create mode 100644 _site/assets/js/plugins/gumshoe.js create mode 100644 _site/assets/js/plugins/jquery.ba-throttle-debounce.js create mode 100644 _site/assets/js/plugins/jquery.fitvids.js create mode 100644 _site/assets/js/plugins/jquery.greedy-navigation.js create mode 100644 _site/assets/js/plugins/jquery.magnific-popup.js create mode 100644 _site/assets/js/plugins/smooth-scroll.js create mode 100644 _site/assets/js/vendor/jquery/jquery-3.5.1.js rename {docs/_site => _site}/assets/videos/ipoduino-1.mp4 (100%) rename {docs/_site => _site}/assets/videos/ipoduino-2.mp4 (100%) rename {docs/_site => _site}/assets/videos/ipoduino-3.mp4 (100%) rename {docs/_site => _site}/auto-flashlight/index.html (63%) create mode 100644 _site/docs/Gemfile create mode 100644 _site/feed.xml rename {docs/_site => _site}/index.html (59%) rename {docs/_site => _site}/led-circuit/index.html (54%) rename {docs/_site => _site}/lorem-ipsum/index.html (69%) create mode 100644 _site/pets/index.html rename {docs/_site/turn-on-led => _site/projects/back-to-the-basics}/index.html (59%) rename {docs/_site/radio-redlight-greenlight => _site/projects/communication-protocols}/index.html (75%) create mode 100644 _site/projects/debugging/index.html rename {docs/_site/ipoduino => _site/projects/digital-analog-pwm}/index.html (61%) rename {docs/_site => _site/projects}/distance-sensor/index.html (62%) create mode 100644 _site/projects/index.html rename {docs/_site/555-timer => _site/projects/integrated-circuits}/index.html (66%) rename {docs/_site/potentiometer-blink => _site/projects/microcontrollers}/index.html (64%) rename {docs/_site/capstone => _site/projects/pid-and-motor-control}/index.html (66%) rename {docs/_site/redlight-greenlight => _site/projects/serial-communication}/index.html (68%) create mode 100644 _site/robots.txt create mode 100644 _site/sitemap.xml rename {docs/_site => _site}/sitemap/index.html (59%) rename {docs/assets => assets}/code/Despacito.h (100%) rename {docs/assets => assets}/code/basicpitches.h (100%) rename {docs/assets => assets}/code/pitches.h (100%) rename {docs/assets => assets}/images/555-timer-do.jpg (100%) rename {docs/assets => assets}/images/555-timer-dont-do.png (100%) rename {docs/assets => assets}/images/555-timer-led-circuit.png (100%) rename {docs/assets => assets}/images/555-timer-speaker-circuit.png (100%) rename {docs/assets => assets}/images/555-timer.jpg (100%) rename {docs/assets => assets}/images/DistanceSensor-splash.png (100%) rename {docs/assets => assets}/images/DistanceSensor.png (100%) rename {docs/assets => assets}/images/HBridge.jpg (100%) rename {docs/assets => assets}/images/OPSLogo-transparent.png (100%) rename {docs/assets => assets}/images/OPSLogo.png (100%) rename {docs/assets => assets}/images/RedLightGreenLight.png (100%) rename {docs/assets => assets}/images/android-chrome-144x144.png (100%) rename {docs/assets => assets}/images/android-chrome-192x192.png (100%) rename {docs/assets => assets}/images/android-chrome-36x36.png (100%) rename {docs/assets => assets}/images/android-chrome-384x384.png (100%) rename {docs/assets => assets}/images/android-chrome-48x48.png (100%) rename {docs/assets => assets}/images/android-chrome-72x72.png (100%) rename {docs/assets => assets}/images/android-chrome-96x96.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-114x114.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-120x120.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-144x144.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-152x152.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-180x180.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-57x57.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-60x60.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-72x72.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-76x76.png (100%) rename {docs/assets => assets}/images/apple-touch-icon-precomposed.png (100%) rename {docs/assets => assets}/images/apple-touch-icon.png (100%) rename {docs/assets => assets}/images/arduino-imu-wiring.png (100%) rename {docs/assets => assets}/images/arduino-imu.JPG (100%) rename {docs/assets => assets}/images/arduino-pins.png (100%) rename {docs/assets => assets}/images/arduino.jpg (100%) rename {docs/assets => assets}/images/autoflash1.png (100%) rename {docs/assets => assets}/images/autoflash2.png (100%) rename {docs/assets => assets}/images/autoflash3.png (100%) rename {docs/assets => assets}/images/autoflash4.png (100%) rename {docs/assets => assets}/images/browserconfig.xml (100%) rename {docs/assets => assets}/images/button_config.png (100%) rename {docs/assets => assets}/images/debounce.png (100%) rename {docs/assets => assets}/images/debugging.jpg (100%) rename {docs/assets => assets}/images/distance-sensor-1.png (100%) rename {docs/assets => assets}/images/distance-sensor-2.png (100%) rename {docs/assets => assets}/images/favicon-16x16.png (100%) rename {docs/assets => assets}/images/favicon-32x32.png (100%) rename {docs/assets => assets}/images/favicon-96x96.png (100%) rename {docs/assets => assets}/images/favicon.ico (100%) rename {docs/assets => assets}/images/female-male-header.png (100%) rename {docs/assets => assets}/images/foo-bar-identity-th.jpg (100%) rename {docs/assets => assets}/images/foo-bar-identity.jpg (100%) rename {docs/assets => assets}/images/i2c-read.png (100%) rename {docs/assets => assets}/images/i2c-write.png (100%) rename {docs/assets => assets}/images/iPoduino-splash.png (100%) rename {docs/assets => assets}/images/iPoduino.png (100%) rename {docs/assets => assets}/images/imu-code.png (100%) rename {docs/assets => assets}/images/ipoduino-1.png (100%) rename {docs/assets => assets}/images/ipoduino-2.png (100%) rename {docs/assets => assets}/images/ipoduino-3.png (100%) rename {docs/assets => assets}/images/ipoduino-4.png (100%) rename {docs/assets => assets}/images/jsts.jpg (100%) rename {docs/assets => assets}/images/led-breadboard.jpg (100%) rename {docs/assets => assets}/images/led-circuit.png (100%) rename {docs/assets => assets}/images/led-on-off.png (100%) rename {docs/assets => assets}/images/led-polarity.png (100%) rename {docs/assets => assets}/images/led-schematic.png (100%) rename {docs/assets => assets}/images/led1.png (100%) rename {docs/assets => assets}/images/led2.png (100%) rename {docs/assets => assets}/images/led3.png (100%) rename {docs/assets => assets}/images/manifest.json (100%) rename {docs/assets => assets}/images/mstile-144x144.png (100%) rename {docs/assets => assets}/images/mstile-150x150.png (100%) rename {docs/assets => assets}/images/mstile-310x150.png (100%) rename {docs/assets => assets}/images/mstile-310x310.png (100%) rename {docs/assets => assets}/images/mstile-70x70.png (100%) rename {docs/assets => assets}/images/potentiometer-circuit.png (100%) rename {docs/assets => assets}/images/potentiometer-code.png (100%) rename {docs/assets => assets}/images/potentiometer-representation.png (100%) rename {docs/assets => assets}/images/potentiometer-terminals.jpg (100%) rename {docs/assets => assets}/images/potentiometer-voltage-div.png (100%) rename {docs/assets => assets}/images/potentiometer-vout.png (100%) rename {docs/assets => assets}/images/profile-picture.png (100%) rename {docs/assets => assets}/images/readReg.png (100%) rename {docs/assets => assets}/images/rf-wiring-setup.png (100%) rename {docs/assets => assets}/images/rodent.png (100%) rename {docs/assets => assets}/images/safari-pinned-tab.svg (100%) rename {docs/assets => assets}/images/site-logo.png (100%) rename {docs/assets => assets}/images/site.webmanifest (100%) rename {docs/assets => assets}/images/splash.jpg (100%) rename {docs/assets => assets}/images/ucla-ieee.jpg (100%) rename {docs/assets => assets}/images/writeReg.png (100%) rename {docs/assets => assets}/videos/ipoduino-1.mp4 (100%) rename {docs/assets => assets}/videos/ipoduino-2.mp4 (100%) rename {docs/assets => assets}/videos/ipoduino-3.mp4 (100%) delete mode 100644 docs/CNAME delete mode 100644 docs/Gemfile.lock delete mode 100644 docs/_config.dev.yml delete mode 100644 docs/_config.yml delete mode 100644 docs/_includes/head/custom.html delete mode 100644 docs/_layouts/default.html delete mode 100644 docs/_pages/404.md delete mode 100644 docs/_pages/projects.md delete mode 100644 docs/_site/404.html delete mode 100644 docs/_site/CNAME delete mode 100644 docs/_site/debugging/index.html delete mode 100644 docs/_site/pets/index.html delete mode 100644 docs/_site/projects/index.html delete mode 100644 docs/_site/screenshot-layouts.png delete mode 100644 docs/_site/screenshot.png delete mode 100644 docs/assets/.DS_Store delete mode 100644 docs/assets/images/.DS_Store delete mode 100644 docs/screenshot-layouts.png delete mode 100644 docs/screenshot.png rename docs/_pages/home.md => index.md (95%) diff --git a/.gitignore b/.gitignore index 7824d55..8e19059 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ docs/vendor # macOS .DS_Store +.vercel diff --git a/404.html b/404.html new file mode 100644 index 0000000..086a5c9 --- /dev/null +++ b/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..e463209 --- /dev/null +++ b/Gemfile @@ -0,0 +1,35 @@ +source "https://rubygems.org" +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 4.3.3" +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.5" +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" +end + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] + +gem "minimal-mistakes-jekyll", "~> 4.24" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..56be205 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,159 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + colorator (1.1.0) + concurrent-ruby (1.2.3) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) + faraday-net_http (3.1.0) + net-http + ffi (1.16.3) + forwardable-extended (2.6.0) + google-protobuf (3.25.3) + google-protobuf (3.25.3-aarch64-linux) + google-protobuf (3.25.3-arm64-darwin) + google-protobuf (3.25.3-x86-linux) + google-protobuf (3.25.3-x86_64-darwin) + google-protobuf (3.25.3-x86_64-linux) + http_parser.rb (0.8.0) + i18n (1.14.1) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-gist (1.5.0) + octokit (~> 4.2) + jekyll-include-cache (0.2.1) + jekyll (>= 3.7, < 5.0) + jekyll-paginate (1.1.0) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.8.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + minima (2.5.1) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + minimal-mistakes-jekyll (4.24.0) + jekyll (>= 3.7, < 5.0) + jekyll-feed (~> 0.1) + jekyll-gist (~> 1.5) + jekyll-include-cache (~> 0.1) + jekyll-paginate (~> 1.1) + jekyll-sitemap (~> 1.3) + net-http (0.4.1) + uri + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.4) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.6) + rouge (4.2.0) + safe_yaml (1.0.5) + sass-embedded (1.71.1-aarch64-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-aarch64-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-aarch64-linux-musl) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-arm-linux-androideabi) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-arm-linux-gnueabihf) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-arm-linux-musleabihf) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-arm64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86-linux-musl) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86_64-darwin) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86_64-linux-android) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86_64-linux-gnu) + google-protobuf (~> 3.25) + sass-embedded (1.71.1-x86_64-linux-musl) + google-protobuf (~> 3.25) + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + uri (0.13.0) + webrick (1.8.1) + +PLATFORMS + aarch64-linux + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnueabihf + arm-linux-musleabihf + arm64-darwin + x86-linux + x86-linux-android + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + http_parser.rb (~> 0.6.0) + jekyll (~> 4.3.3) + jekyll-feed (~> 0.12) + minima (~> 2.5) + minimal-mistakes-jekyll (~> 4.24) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) + +BUNDLED WITH + 2.5.6 diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 3e733ff..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013-2020 Michael Rose and contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index b3584c5..0000000 --- a/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# OPS2.0 - -Here you can find the official website for OPS2.0! The website uses the Jekyll framework, which -conveniently transforms Markdown pages into blog-style articles. - -Before you launch the website, make sure to follow the Jekyll installation guide [here](https://jekyllrb.com/docs/installation/). You will need to have Ruby and Bundler installed. - -The root directory of the website is `docs`. Navigate into `docs` in your terminal and run the following command to deploy the website to your local web server. -``` -bundle exec jekyll serve -``` -Now, the website should be up and running on http://localhost:4000/. - -In order to modify general information that applies to the entire site, modify `_config.yml`. This includes information such as author details, social links, website configurations, etc. Note that the server must be restarted in order to reflect these changes. - -In order to add a new webpage, navigate to the `_pages` directory and create a markdown file (with extension ".md"). Add the following header: -``` -title: "Red Light, Green Light Game" -permalink: /redlight-greenlight/ -last_modified_at: 2020-05-14T14:07:54-04:00 -toc: true -``` -This information is fairly self explanatory. `toc` stands for Table of Contents, so make sure to set this to true if you are writing a project spec or other lengthy document. Now, the page can be accessed at http://localhost:4000/OPS2.0/yourpermalinkhere/. - -Lastly, we'll need to add the page to the navbar that is at the top of every page. Open `/_data/navigation.yml/` and add your page under the `main` section of links. Now, resetting the website should result in your page appearing in the navbar! diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..3f264d1 --- /dev/null +++ b/_config.yml @@ -0,0 +1,113 @@ +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely edit after that. If you find +# yourself editing this file very often, consider using Jekyll's data files +# feature for the data you need to update frequently. +# +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. +# +# If you need help with YAML syntax, here are some quick references for you: +# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml +# https://learnxinyminutes.com/docs/yaml/ +# +# Site settings +# These are used to personalize your new site. If you look in the HTML files, +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. +# You can create any custom variable you would like, and they will be accessible +# in the templates via {{ site.myvariable }}. + +title: "OPS 2.0" +name: "IEEE at UCLA" +baseurl: "" # the subpath of your site, e.g. /blog +url: https://openproject.space # the base hostname & protocol for your site, e.g. http://example.com +locale: "en_US" + +# Build settings +theme: minimal-mistakes-jekyll +minimal_mistakes_skin: "dark" +plugins: + - jekyll-feed +include: + - _pages +# Exclude from processing. +# The following items will not be processed, by default. +# Any item listed under the `exclude:` key here will be automatically added to +# the internal "default list". +# +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ + +# SEO Related +google_site_verification: "UQj93ERU9zgECodaaXgVpkjrFn9UrDMEzVamacSoQ8Y" # Replace this with your ID, or delete + +# Site Author +author: + name: "IEEE at UCLA" # *name is a YAML reference pointing to the &anchor earlier + avatar: "/assets/images/profile-picture.png" + bio: "The IEEE Student Branch at UCLA are the founders of the Open Project Space (OPS) program." + location: "Los Angeles, CA" + links: + - label: "IEEE at UCLA" + icon: "fas fa-fw fa-link" + url: "https://ieeebruins.com/" + - label: "Facebook" + icon: "fab fa-fw fa-facebook" + url: "https://www.facebook.com/ieeeatucla/" + - label: "Instagram" + icon: "fab fa-fw fa-instagram" + url: "https://www.instagram.com/uclaieee/" + - label: "GitHub" + icon: "fab fa-fw fa-github" + url: "https://github.com/bryanjwong/OPS2.0" + +# Site Footer +footer: + links: + - label: "IEEE at UCLA" + icon: "fas fa-fw fa-link" + url: "http://ieeebruins.com/" + - label: "Facebook" + icon: "fab fa-fw fa-facebook" + url: "https://www.facebook.com/ieeeatucla/" + - label: "Instagram" + icon: "fab fa-fw fa-instagram" + url: "https://www.instagram.com/uclaieee/" + - label: "GitHub" + icon: "fab fa-fw fa-github" + url: "https://github.com/bryanjwong/OPS2.0" + +# Collections +collections: + projects: + output: true + permalink: /:collection/:path/ + +# Defaults +defaults: + # _pages + - scope: + path: "" + type: pages + values: + layout: single + # _projects + - scope: + path: "" + type: projects + values: + layout: single + read_time: true diff --git a/docs/_data/navigation.yml b/_data/navigation.yml similarity index 100% rename from docs/_data/navigation.yml rename to _data/navigation.yml diff --git a/docs/_pages/about.md b/_pages/about.md similarity index 96% rename from docs/_pages/about.md rename to _pages/about.md index ddf599c..18fdd67 100644 --- a/docs/_pages/about.md +++ b/_pages/about.md @@ -2,12 +2,11 @@ permalink: /about/ title: "About" excerpt: "About OPS2.0" -last_modified_at: 2023-01-26 toc: false ---

- +

In 2010, OPS founder Leo Szeto realized that many Electrical Engineering students at UCLA were dissatisfied with the lack of hands-on projects opportunities offered by the school. Taking matters into his own hands, Leo founded the IEEE at UCLA Open Project Space, a program designed to teach fledgling Electrical Engineering students a suite of essential hardware and software skills through biweekly lectures and fun, hands-on mini projects. Over the past decade, OPS has grown and expanded to include a set of 10 diverse mini-projects and a culminating Capstone project. diff --git a/docs/_pages/auto-flash.md b/_pages/auto-flash.md similarity index 95% rename from docs/_pages/auto-flash.md rename to _pages/auto-flash.md index d8c2ebb..c9e9d4e 100644 --- a/docs/_pages/auto-flash.md +++ b/_pages/auto-flash.md @@ -6,9 +6,9 @@ last_modified_at: 2020-07-07T18:05:00-02:40 toc: true --- - +

- +

## About this Project @@ -40,7 +40,7 @@ For this project you will be using the Arduino Uno with a photoresistor to make - Photoresistor

- +

## Project Specification @@ -50,7 +50,7 @@ For this project you will be using the Arduino Uno with a photoresistor to make The pinout gives information about the pins available to us when using the Arduino. Please refer to it when programming/wiring.

- +

As you can see, each pin is labelled as Digital or Analog, these pins have different capabilities, you should first determine what kind of pin you need to complete the task. Additionally, each pin has an associated label (A0,A1,....,4,5,6,...,13), these labels will be how you refer to pins in the definition portion of your code. @@ -66,7 +66,7 @@ For the first part of this project you will construct a LED circuit. You will re Right now your setup should look like this:

- +

Now we will begin the coding portion of the project: @@ -93,7 +93,7 @@ For the second part of the project you will use the Arduino to collect “bright This is roughly what your circuit should look like:

- +

(Your LED circuit should still be wired up, it is not included in the picture for simplicity) diff --git a/docs/_pages/led-circuit.md b/_pages/led-circuit.md similarity index 91% rename from docs/_pages/led-circuit.md rename to _pages/led-circuit.md index 469c3e7..7661c06 100644 --- a/docs/_pages/led-circuit.md +++ b/_pages/led-circuit.md @@ -7,12 +7,12 @@ toc: true ---

- +

## About this Project -For this project you will be tasked with constructing a circuit that delivers power to an LED, making it light up. When you have completed it you must show it to an officer and they will ask you some questions about it. +For this project you will be tasked with constructing a circuit that delivers power to an LED, making it light up. When you have completed it you must show it to an officer and they will ask you some questions about it. ### [Lecture Slides](https://docs.google.com/presentation/d/1Ffw38JwpkiysFZLtaTBewk9dKj35dEf5Dzmhv943o0c/edit?usp=sharing) @@ -37,16 +37,16 @@ For this project you will be tasked with constructing a circuit that delivers po * LED

- +

## Project Specification ### Schematic -Use the following schematic for reference when constructing your circuit. Be aware that the orientation of the LED is important when entering it into your circuit on your breadboard. For the LEDs in your kits the cathode(-) should have a shorter lead and flat edge, whereas the anode(+) has a longer lead and rounded base. +Use the following schematic for reference when constructing your circuit. Be aware that the orientation of the LED is important when entering it into your circuit on your breadboard. For the LEDs in your kits the cathode(-) should have a shorter lead and flat edge, whereas the anode(+) has a longer lead and rounded base.

- +

### Checkpoint 1: Choose Your Resistor @@ -68,7 +68,7 @@ In order to determine the resistance needed for your circuit you must first dete **NOTE**: Please read through this section and the common mistakes section completely before starting to avoid harming your Arduino.

- +

1. Connect your battery to the snap-on adapter, then plug it into your Arduino. The onboard LEDs should light up to indicate your Arduino is powered. (You can also power your Arduino by connecting it to your PC via USB if your battery dies) @@ -78,15 +78,10 @@ In order to determine the resistance needed for your circuit you must first dete 5. Now you can build your circuit on the breadboard. Treat the positive rail as the positive end of the battery and ground as the negative end of the battery. **Make sure there is always a resistor in your circuit, otherwise your power source will be short circuited causing problems/breaking your Arduino.** ### Helpful Tips/Common Mistakes -* The rows on the breadboard are shorted, don’t connect both leads from a component into the same row. +* The rows on the breadboard are shorted, don’t connect both leads from a component into the same row. * Construct your LED circuit before plugging in your battery. -* If your calculated resistance is a value you don’t have it’s safer to round up instead of rounding down. +* If your calculated resistance is a value you don’t have it’s safer to round up instead of rounding down. * If you are unsure about your circuit, ask an officer before plugging it in * Double check your LED is oriented the correct way. * Unlike the LED, the resistor doesn’t have a specific orientation. * Always make sure there is a resistor in your circuit to avoid breaking your Arduino/LED - - - - - diff --git a/docs/_pages/lorem-ipsum.md b/_pages/lorem-ipsum.md similarity index 100% rename from docs/_pages/lorem-ipsum.md rename to _pages/lorem-ipsum.md diff --git a/docs/_pages/pets.md b/_pages/pets.md similarity index 100% rename from docs/_pages/pets.md rename to _pages/pets.md diff --git a/_pages/projects.md b/_pages/projects.md new file mode 100644 index 0000000..04a4ee5 --- /dev/null +++ b/_pages/projects.md @@ -0,0 +1,8 @@ +--- +title: "OPS 2.0 Projects" +layout: collection +permalink: /projects/ +collection: projects +entries_layout: grid +sort_by: order +--- diff --git a/docs/_pages/sitemap.md b/_pages/sitemap.md similarity index 100% rename from docs/_pages/sitemap.md rename to _pages/sitemap.md diff --git a/docs/_pages/turn-on-led.md b/_projects/back-to-the-basics.md similarity index 92% rename from docs/_pages/turn-on-led.md rename to _projects/back-to-the-basics.md index 6fea64a..d104b6d 100644 --- a/docs/_pages/turn-on-led.md +++ b/_projects/back-to-the-basics.md @@ -1,13 +1,14 @@ --- -permalink: /turn-on-led/ -title: "Turning on an LED" +title: "1: Back to the Basics" excerpt: "Make an LED light up!" -last_modified_at: 2021-01-29T14:07:54-04:00 toc: true +order: 1 +header: + teaser: /assets/images/led-breadboard.jpg ---

- +

## About this Project @@ -16,7 +17,7 @@ In this project, you will be making an LED light up! The first step will be to c 1. Breadboarding an LED circuit 2. Soldering the LED circuit onto a perfboard -### [Lecture Slides](https://docs.google.com/presentation/d/18x92T7hz4mcnHgDH2VxVUuo2SWfroQGlNvljzu12qp8/edit?usp=sharing) +### [Lecture Slides](https://docs.google.com/presentation/d/1GSYKwHVGDpMak3h_4TeSiEPnMd-0oheUjZKCq6TxgdU/edit?usp=share_link) ### Prerequisites @@ -40,7 +41,7 @@ In this project, you will be making an LED light up! The first step will be to c | 130 Ohm Resistor | 1 | $0.03 | [Digikey](https://www.digikey.com/product-detail/en/stackpole-electronics-inc/CFM12JT130R/S130HCT-ND/2617554) | | Perfboard | 1 | $4.95 (pack of 10) | [Mouser](https://www.mouser.com/ProductDetail/Adafruit/2670?qs=sGAEpiMZZMufdu5QM0tCwbk7gse1KwnzzpqXpp259ss%3D&fbclid=IwAR0XSmT8mlgLUNFXttQ9rNivD7rDtmEtOCPXm3-jsaWjJ3TIhJ5x2jmg0qI) | -**Total estimated cost:** $10.38 per member +**Total estimated cost:** $10.38 per member *If reusing Breadboard/3.7V Battery:* $0.93 per member ## Project Specification Part 1 (Breadboarding) @@ -60,14 +61,14 @@ You will need to calculate the resistor value on your own (hint: look at the sli Please follow this schematic below to make your circuit. Remember the orientation of how you put in the LED in your breadboard and the two ways you can tell what the anode (+) and cathode(-) is on the LED.

- +

### Helpful Tips * To connect your battery to the breadboard, you will need something called a JST connector pictured below. The ridge at the end of the battery wires should fit into the JST pretty easily

- +

* Set up the circuit before you put the battery in * The red wire of the battery represents the 3.7 V power, while the black wire represents the 0 V battery @@ -101,14 +102,14 @@ Make sure you ask an officer before you actually physically solder your circuit * Remember to turn off the iron when you are done * Don’t leave a mess at the ironing station -**Project Completion:** +**Project Completion:** Show your fully soldered LED circuit. ## Checkoff Questions Here are some questions you can use to test understanding of the concepts involved in part 1 of this project before moving on to part 2:

- +

    diff --git a/docs/_pages/radio-redlight-greenlight.md b/_projects/communication-protocols.md similarity index 96% rename from docs/_pages/radio-redlight-greenlight.md rename to _projects/communication-protocols.md index 3cecc5b..b63485f 100644 --- a/docs/_pages/radio-redlight-greenlight.md +++ b/_projects/communication-protocols.md @@ -1,13 +1,14 @@ --- -permalink: /radio-redlight-greenlight/ -title: "Radio Red Light Green Light & IMU Brightness Indicator" +title: "8: Communication Protocols" excerpt: "Play Red Light Green Light using wireless radio communications, and use an IMU to detect orientation." -last_modified_at: 2021-02-14T14:07:54-04:00 toc: true +order: 8 +header: + teaser: /assets/images/arduino-imu.JPG ---

    - +

    ## About this Project @@ -20,7 +21,7 @@ In the second part of this lab, you will be briefly working with an IMU, which i ### Prerequisites -* [Red Light, Green Light Game](../redlight-greenlight) +* [Red Light, Green Light Game](/redlight-greenlight) ### Skills Learned @@ -48,7 +49,7 @@ By the end of this lab, you should be familiar with how data is transmitted acro | 10kOhm Resistor | 2 | $0.10 | [DigiKey](https://www.digikey.com/product-detail/en/yageo/CFR-25JB-52-10K/10KQBK-ND/338) | | 100nF(0.1uf) Capacitor | 2 | $0.45 | [DigiKey](https://www.digikey.com/product-detail/en/kemet/C320C104J5R5TA7301/399-9867-1-ND/3726105) | -**Total estimated cost:** $22.57 per team of 2 +**Total estimated cost:** $22.57 per team of 2 *If reusing Breadboard/Arduino/MiniUSB/Radio Module/IMU:* $1.99 per team of 2 ## Reference Material @@ -80,7 +81,7 @@ Wire up your MCUs so that we can get them talking over the radio (rather than Tx The wiring setup is as follows. You can use any digital pins for CE(chip enable) and CSN(slave select) in theory, but the libraries written assume you will be using pins 7 and 8 as indicated below. MOSI and MISO should be connected to the respective pins on the Arduino by their pin name. (MOSI pin connects to the Arduino MOSI pin, and vice versa).

    - +

    | Pin Name | Pin # on Radio Module | Arduino Pin | Function | @@ -95,7 +96,7 @@ The wiring setup is as follows. You can use any digital pins for CE(chip enable) | IRQ (Interrupt) | 8 | Do not connect | It is an active low pin and is used only if interrupt is required |

    - +

    Use female to male jumper wires to connect them. @@ -178,7 +179,7 @@ Your Carduino will have 2 push button inputs, one representing the gas pedal and When you press or release a button, it will “bounce” several times before reaching its final state, which means several button presses will be registered. One way to avoid this is to put a capacitor in series with the button, so that the button release will not register until after the capacitor is fully discharged over time. If the capacitor’s value has been appropriately chosen, this will be after the button has finished bouncing, such that only one press will be registered. Below is the basic circuit for button debouncing:

    - +

    Vout is the voltage read by the microcontroller input pin, and Vdd is +5V. Use a 10k resistor and a 100nF capacitor for your debouncing circuit, so that you achieve an RC time constant of 1ms (time constant = resistance * capacitance). @@ -213,7 +214,7 @@ The final objective of this lab is to write a complete implementation of the Rad The Arduino Nano has two pins - A4 and A5 - that are for the SDA and SCL lines respectively. SDA and SCL on the IMU should be connected to A4 and A5 on the Arduino respectively, and VCC and GND on the IMU should be connected to 5V and GND on the Arduino respectively. The other four pins should be left disconnected. You do not need the interrupt pin. You will need to solder male headers onto your IMU before you can use it. (Use the straight headers for the IMU, not the angled headers.)

    - +

    #### Implement readReg() and writeReg() @@ -221,11 +222,11 @@ The Arduino Nano has two pins - A4 and A5 - that are for the SDA and SCL lines r The [sensor_fusion library](https://drive.google.com/file/d/1wubhcbdDjayrRs8rJN-nY2Y4vdqm1DOH/view?usp=sharing) is incomplete. You will be implementing two functions in sensor_fusion.cpp, readReg and writeReg. These two functions setup communication between the IMU and Arduino with I2C, so you will eventually need to take a look at the corresponding [datasheet](https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Datasheet1.pdf) and [Wire.h](https://www.arduino.cc/en/Reference/Wire) library in Arduino to understand how to read and write from a given register in the function’s signature. You may also need to take a look at sensor_fusion.h to understand the function declarations and the parameters. There is not much code to actually implement, but will still prove to be difficult unless you look at how I2C works!

    - +

    - +

    **readReg()** @@ -234,7 +235,7 @@ The [sensor_fusion library](https://drive.google.com/file/d/1wubhcbdDjayrRs8rJN- * unint8_t *buf: a pointer to the beginning of an array of type uint8_t. This is just like an array! We will store what is read from reg into this buffer * size_t len: length of buffer -**writeReg()** +**writeReg()** * Parameters are the same except we want to write to the parameter reg using the values stored in the buffer buf **Getting Started** @@ -275,11 +276,11 @@ At the end of a message transmission, the stop condition needs to be specified a All the functions in the [Wire.h](https://www.arduino.cc/en/Reference/Wire) library correspond to other parts of the communication sequences, and you will have to find them and figure out what they are. The ones that will not be used are Wire.SetClock, Wire.available, Wire.onRequest, and Wire.onReceive.

    - +

    - +

    **Checkpoint 1**: Complete the TO DO functions listed in the sensor_fusion.cpp file You will be implementing the readReg and writeReg functions in the file. @@ -372,7 +373,7 @@ that you will ask them about: Code for Checkpoint 1:

    - +

    diff --git a/docs/_pages/debugging.md b/_projects/debugging.md similarity index 90% rename from docs/_pages/debugging.md rename to _projects/debugging.md index c46c7aa..458f516 100644 --- a/docs/_pages/debugging.md +++ b/_projects/debugging.md @@ -1,13 +1,14 @@ --- -permalink: /debugging/ -title: "Debugging" +title: "2: Debugging" excerpt: "Practice debugging circuits using a multimeter." -last_modified_at: 2021-04-01T14:07:54-04:00 +order: 2 toc: true +header: + teaser: /assets/images/debugging.jpg ---

    - +

    ## About this Project @@ -18,7 +19,7 @@ You will need to come into the lab personally to debug 2 soldered circuits and 1 ### Prerequisites -* [Turning on an LED](../turn-on-led) +* [Turning on an LED](/turn-on-led) ## Helpful Tips * Check if any components are shorted (i.e. is there a wire across the component) diff --git a/docs/_pages/ipoduino.md b/_projects/digital-analog-pwm.md similarity index 89% rename from docs/_pages/ipoduino.md rename to _projects/digital-analog-pwm.md index 6fa406e..5597597 100644 --- a/docs/_pages/ipoduino.md +++ b/_projects/digital-analog-pwm.md @@ -1,24 +1,25 @@ --- -permalink: /ipoduino/ -title: "iPoduino: an Arduino Music Player" +title: "5: Digital, Analog, and PWM" excerpt: "Play your favorite tunes with your very own iPoduino!" -last_modified_at: 2020-05-14T14:07:54-04:00 toc: true +order: 5 +header: + teaser: /assets/images/iPoduino.png ---

    - +

    ## About this Project In this project, you will be making an iPod Arduino Music Player. It will contain 3 subsystems: a speaker that plays programmable music of your choice, a potentiometer interface that allows users to select 1 of 3 songs, and a display (which you design!) that indicates which song will play. -### [Lecture Slides](https://docs.google.com/presentation/d/1hkNE5Nn44NZztGGcPjcDY4RFudZYH9aqfLh95K6g4Vg/edit?usp=sharing) +### [Lecture Slides](https://docs.google.com/presentation/d/1TzHN9ttHChtWZEGykyobTMMqQm1kncnTiPPNr_60DTw/edit?usp=share_link) ### Prerequisites -* [Intro to Arduino: Potentiometer Blink](../potentiometer-blink) +* [Intro to Arduino: Potentiometer Blink](/potentiometer-blink) ### Skills Learned @@ -41,7 +42,7 @@ In this project, you will be making an iPod Arduino Music Player. It will contai In addition to the listed parts, you'll also want to order assorted LEDs and resistors so that members can implement their own display designs. >**Note:** The listed speakers do NOT come pre-soldered. You will need access to a soldering station to solder the two leads yourself. -**Total estimated cost:** $9.21 per member + assorted parts for display +**Total estimated cost:** $9.21 per member + assorted parts for display *If reusing Arduino/MiniUSB/Breadboard:* $1.91 per member + assorted parts for display ## Project Specification @@ -55,13 +56,13 @@ Before we start creating our iPod, let’s test your understanding of PWM. **A quick recap:** our Arduino Nano is not capable of producing true analog signals. Rather, it is only capable of producing digital outputs (either HIGH or LOW, nothing in between). However, by rapidly alternating between HIGH and LOW for a particular proportion of time (duty cycle), we can simulate an analog voltage!

    - +

    As seen in the above figure, a duty cycle of 50% means that the signal is HIGH half the time and LOW half the time. This equations to an analog voltage value that is 50% of HIGH. By varying the duty cycle, we can also vary the resulting analog output. This is in fact what happens every time we call the `analogWrite(int x)` function: the integer parameter `x` gets mapped to a duty cycle! -**Now onto the assignment:** -You will need to control the brightness of an LED by generating a 1 kHz PWM square wave (*1 kHz corresponds to one wave every 1000 microseconds*). Think about what parameters you can change that will correspond to a change in the LED’s brightness. +**Now onto the assignment:** +You will need to control the brightness of an LED by generating a 1 kHz PWM square wave (*1 kHz corresponds to one wave every 1000 microseconds*). Think about what parameters you can change that will correspond to a change in the LED’s brightness. You’ll be restricted to using only two functions in your loop(): - digitalWrite(pin#) @@ -74,7 +75,7 @@ You’ll be restricted to using only two functions in your loop(): It's time to build our iPoduino! The schematic is shown below for convenience. Note that the display interface that tells the user which song will play is not shown (since you'll design it yourself!).

    - +

    For the first part of the project, you will be programming your own song to play through a speaker. To do this, there are a few helpful Arduino functions: @@ -84,14 +85,14 @@ For the first part of the project, you will be programming your own song to play However, we’ve simplified the use of the two functions above for you by writing the following helper function, play():

    - +

    Copy this code into the top of your program, putting your speaker output pin in the indicated field. This function takes a note frequency and its duration as input, and sends a PWM signal to the output pin aliased as SPEAKER. Please also download one of the following files and place it in the same folder as your Arduino iPod sketch: -- pitches.h - includes all notes -- basicpitches.h - includes only one octave for simplicity’s sake +- pitches.h - includes all notes +- basicpitches.h - includes only one octave for simplicity’s sake In your main Arduino iPod sketch, write `#include “pitches.h”` at the top of your program. These files include note frequencies (in Hz) represented by their common note name (e.g. 262Hz can now be called as NOTE_C4, with 4 indicating the octave number). @@ -102,14 +103,14 @@ Now, you will be able to play notes in the following format: **To get checked off:** write a song (minimum 10 notes) and play it through your speaker. The song should play on start-up and when the reset button in the center of the Arduino is pressed. We encourage you to get creative and show us something cool! E-mail us at outreach@ieeebruins.com! :) -For some inspiration: Despacito.h. Copy and paste into your code and call Despacito() to see it go! +For some inspiration: Despacito.h. Copy and paste into your code and call Despacito() to see it go! ### Checkpoint 3: Interface For the next portion of the project, you will be implementing a potentiometer interface. Depending on what voltage is read from the potentiometer when the reset button is pressed, you will need to be able to switch between at least 3 songs. This means you’ll have to program more songs! Pseudocode for this portion is pictured below:

    - +

    It might be helpful to create a separate function for each programmed song, to make your code more organized. Additionally, think about this: if a song is only being played when the reset button is pressed, where in our Arduino code should the songs be played? diff --git a/docs/_pages/distance-sensor.md b/_projects/distance-sensor.md similarity index 92% rename from docs/_pages/distance-sensor.md rename to _projects/distance-sensor.md index 2825123..8e19fb1 100644 --- a/docs/_pages/distance-sensor.md +++ b/_projects/distance-sensor.md @@ -1,12 +1,13 @@ --- -permalink: /distance-sensor/ -title: "Arduino Distance Sensor" +title: "6: Transistors" excerpt: "Learn how to build an Arduino Distance Sensor" -last_modified_at: 2020-04-28T14:07:54-04:00 toc: true +order: 6 +header: + teaser: /assets/images/DistanceSensor.png ---

    - +

    ## About this Project @@ -17,7 +18,7 @@ In this project, you will be making a distance sensor using a phototransistor (I ### Prerequisites -* [Intro to Arduino: Potentiometer Blink](../potentiometer-blink) +* [Intro to Arduino: Potentiometer Blink](/potentiometer-blink) ### Skills Learned @@ -38,21 +39,21 @@ In this project, you will be making a distance sensor using a phototransistor (I | 130 Ohm Resistor (for LEDs) | 2 | $0.03 | [Digikey](https://www.digikey.com/product-detail/en/stackpole-electronics-inc/CFM12JT130R/S130HCT-ND/2617554) | | 10k Ohm Resistor (for IR Receiver) | 1 | $0.03 | [Digikey](https://www.digikey.com/product-detail/en/yageo/CFR-25JB-52-10K/10KQBK-ND/338) | -**Total estimated cost:** $8.66 per member +**Total estimated cost:** $8.66 per member *If reusing Arduino/MiniUSB/Breadboard:* $1.36 per member ## Project Specification The basis of this project is the interaction between two interesting and useful electronic components: 1. An Infrared (IR) light emitting LED. Looks like a black LED. -2. An IR phototransistor, or IR receiver. Looks like a clear LED (don't mix them up!) +2. An IR phototransistor, or IR receiver. Looks like a clear LED (don't mix them up!) We will place these two components next to each other so that when an object is within a close enough proximity, IR light is reflected from the IR LED into the IR receiver. This can be seen in the image below:

    - +

    By designing our Arduino circuit properly, we'll be able to tell when an object is in front of our @@ -61,7 +62,7 @@ Distance Sensor! ### Checkpoint 1: Reading IR Values Schematic:

    - +

    Your first task is to build the schematic shown above on your breadboard. In order to power the circuit, @@ -110,15 +111,15 @@ With this in mind, here are the main steps involved in our Arduino program: ```C++ int new_reading = constrain(x, a, b); ``` - This will return: - * x *if a < x < b* - * a *if x < a* - * b *if x > b* + This will return: + * x *if a < x < b* + * a *if x < a* + * b *if x > b* 3. Finally, we will use the new constrained input reading to change our output LED brightness. When an object gets closer, we want the brightness to increase. However, analogWrite() takes a value from 0-255 while analogRead() returns a value from 0-1023. We'll need to use the **map()** function to scale this down! ```C++ mapped_value = map(raw_val, initial_min, initial_max, final_min, final_max); ``` - This returns `raw_val` scaled from the initial range to the final range. + This returns `raw_val` scaled from the initial range to the final range. Example: Map val from 0-1023 to 0-255 ```C++ @@ -151,14 +152,14 @@ void loop() { } ``` -**Project Completion:** +**Project Completion:** Show your fully functioning Distance Sensor, where the LED's brightness smoothly scales from zero to full brightness as an object gets closer. ### Checkpoint 3: Soldering In order to solder this project, you will need a perfboard, female headers, and a soldering station in addition to the parts listed in the **Parts List** section. Notes: -1. Don't solder your Arduino directly to the perfboard! Use female headers instead, allowing us to insert and remove our Arduino. +1. Don't solder your Arduino directly to the perfboard! Use female headers instead, allowing us to insert and remove our Arduino. ## Checkoff Questions Here are some questions you can use to test understanding of the concepts involved in the Distance Sensor project: diff --git a/docs/_pages/555-timer.md b/_projects/integrated-circuits.md similarity index 94% rename from docs/_pages/555-timer.md rename to _projects/integrated-circuits.md index dc2cef5..8a5fd8c 100644 --- a/docs/_pages/555-timer.md +++ b/_projects/integrated-circuits.md @@ -1,13 +1,14 @@ --- -permalink: /555-timer/ -title: "555 Timer" +title: "3: Integrated Circuits" excerpt: "Use a 555 timer to blink an LED and play musical notes!" -last_modified_at: 2021-02-05T14:07:54-04:00 toc: true +order: 3 +header: + teaser: /assets/images/555-timer.jpg ---

    - +

    ## About This Project @@ -24,7 +25,7 @@ In this project, you will be making a “piano” speaker that can play certain ### Prerequisites -* [Turning on an LED](../turn-on-led) +* [Turning on an LED](/turn-on-led) ### Skills Learned @@ -52,7 +53,7 @@ In this project, you will be making a “piano” speaker that can play certain | Tactile Switch (Push Button) | 3 | $0.11 | [Digikey](https://www.digikey.com/en/products/detail/te-connectivity-alcoswitch-switches/1825910-7/1731414) | -**Total estimated cost:** $15.17 per member +**Total estimated cost:** $15.17 per member *If reusing Breadboard/3.7V Battery:* $5.72 per member ## Project Specification Part 1 (Make an LED Blink) @@ -65,7 +66,7 @@ Output: * Pins: Pin 3 and GND * Output wave: Square wave

    - +

    * The output in this project will go to your LED. The anode (+) leg of the LED will be connected to Pin 3 (OUT) and the cathode (-) of the LED is connected to GND. The output waveform is a square wave in the sense that voltage will either be HIGH (when your LED is on) or LOW (when your LED is off), but not in between and thus your LED will start to blink! This wave will continue infinitely until you remove the power source. @@ -89,7 +90,7 @@ Output: NOTE: Although it says 0.01uF for C1 in the schematic, use 0.1uF instead

    - +

    ### Part a: Breadboard @@ -105,12 +106,12 @@ DO NOT SOLDER THE 555 TIMER!! USE AN 8 PIN DIP SOCKET INSTEAD!! Place your 555 timer on the bridge between the middle columns of the breadboard. If you placed it so that horizontal pins are on the same row, you will basically short your battery. The top image is what you SHOULD do. The bottom image is what you SHOULD NOT do and since row 9 is connected the battery and ground pins will be connected.

    - +

    Do This

    - +

    Don't Do This

    @@ -135,7 +136,7 @@ Output: * LOWER RESISTANCE = HIGHER FREQUENCY

    - +

    ### Parts Needed @@ -186,7 +187,7 @@ Here are some questions you can use to test understanding of the concepts involv You can use this schematic for reference to make sure they are doing their circuiting right:

    - +

    ### Part 2 diff --git a/docs/_pages/potentiometer-blink.md b/_projects/microcontrollers.md similarity index 92% rename from docs/_pages/potentiometer-blink.md rename to _projects/microcontrollers.md index 733a32f..0a2afe1 100644 --- a/docs/_pages/potentiometer-blink.md +++ b/_projects/microcontrollers.md @@ -1,13 +1,14 @@ --- -permalink: /potentiometer-blink/ -title: "Intro to Arduino: Potentiometer Blink" +title: "4: Microcontrollers" excerpt: "An introduction to Arduino with a fun and easy project." -last_modified_at: 2021-02-14T14:07:54-04:00 toc: true +order: 4 +header: + teaser: /assets/images/arduino.jpg ---

    - +

    ## About this Project @@ -17,7 +18,7 @@ In this project, you will be working with microcontrollers which is just a fancy ### Prerequisites -* [Turning on an LED](../turn-on-led) +* [Turning on an LED](/turn-on-led) ### Skills Learned @@ -38,7 +39,7 @@ In this project, you will be working with microcontrollers which is just a fancy | Mini USB Cable | 1 | $2.00 | [Mouser](https://www.mouser.com/ProductDetail/Qualtek/3021003-03/?qs=sGAEpiMZZMsnDbBzJh6VGJdPZmg6V0p2) | -**Total estimated cost:** $8.73 per member +**Total estimated cost:** $8.73 per member *If reusing Breadboard/Arduino/MiniUSB:* $1.23 per member ## Background @@ -53,10 +54,10 @@ In this project, you will be working with microcontrollers which is just a fancy * Vout = V2 = I * R2 * We can plug in I found previously into this equation since current through R1 has the same value as R2 to get: Vout = Vin * (R2/(R1+R2))

    - +

    - +

    ### Potentiometers @@ -69,11 +70,11 @@ In this project, you will be working with microcontrollers which is just a fancy * Always check this before doing anything else.

    - +

    Physical potentiometer and its 3 terminals

    - +

    Symbolic representation of a potentiometer as 2 variable resistances

    @@ -92,7 +93,7 @@ In this project, you will be working with microcontrollers which is just a fancy 3. Digital PWM OUTPUT pins * To output an analog-like signal, PWM(pulse width modulation) pins are used. More on this in later projects. This is not used in this project.

    - +

    ### The Arduino IDE @@ -137,7 +138,7 @@ There are two parts to the schematic below. On the left side, you can see the po On the right side, you can see the LED circuit consisting of an LED and resistor in series (to limit the current going through the LED). The resistor R1 is connected to the digital pin D7 which you will program in the Arduino IDE to output 5V(turn on the LED) or 0V(turn off the LED).

    - +

    ## Project Specification Part 2 (Writing the Arduino Program) @@ -151,7 +152,7 @@ On the right side, you can see the LED circuit consisting of an LED and resistor * Note: there are 1000 milliseconds in 1 second

    - +

    ## Checkoff Questions diff --git a/docs/_pages/capstone.md b/_projects/pid-and-motor-control.md similarity index 96% rename from docs/_pages/capstone.md rename to _projects/pid-and-motor-control.md index 2ceddc5..3779554 100644 --- a/docs/_pages/capstone.md +++ b/_projects/pid-and-motor-control.md @@ -1,15 +1,18 @@ --- -permalink: /capstone/ -title: "Capstone" +title: "9: PID and Motor Control" excerpt: "Use the skills you have learned to make a path-following rodent or an RC car!" -last_modified_at: 2021-04-01T14:07:54-04:00 toc: true +order: 9 +header: + teaser: /assets/images/rodent.png ---

    - +

    +### [Lecture Slides](https://docs.google.com/presentation/d/1LQoQPmcH95rTSIBplJn-w9iuIVvoQFx8bOY2leiMXvk/edit?usp=sharing) + ## About this Project This project will be a culmination of all the skills you have learned in OPS. There are two possible tracks you can go down: @@ -19,7 +22,7 @@ This project will be a culmination of all the skills you have learned in OPS. Th To do this, you will design your own PCB, and implement a PID controller in software. This project will be more challenging than the previous ones, but the design constraints are more open ended, allowing you to make some design decisions yourself. ### Prerequisites -* [Radio Red Light Green Light & IMU Brightness Indicator](../radio-redlight-greenlight) +* [Radio Red Light Green Light & IMU Brightness Indicator](/radio-redlight-greenlight) ### Skills Learned * Basic PCB design @@ -36,7 +39,7 @@ Since this project is open ended, different groups will likely use a variety of | Wheels | 2 | $7.98 | [Pololu](https://www.pololu.com/product/980) | | Gear Motors | 2 | $12.08 | [Amazon](https://www.amazon.com/gp/product/B01EW8NCGO/ref=ox_sc_act_title_1?smid=A1B3N72XIXC3UJ&psc=1) | -**Total estimated cost assuming part reuse:** $23.05 per team of 2 +**Total estimated cost assuming part reuse:** $23.05 per team of 2 Additionally, this project requires custom PCBs to be ordered. Here are some potential vendors: * [JLCPCB](https://jlcpcb.com/) @@ -163,7 +166,7 @@ An H-Bridge is a class of motor driver circuits, and we have an IC version that IN1, IN2, IN3, and IN4 signals control the direction of rotation. To control the speed of the motors, send PWM signals to the EN (enable) pins (in other words, disregard what the image says about PWM).

    - +

    ### Using a 9V Battery diff --git a/docs/_pages/redgreen.md b/_projects/serial-communication.md similarity index 96% rename from docs/_pages/redgreen.md rename to _projects/serial-communication.md index 4bb0b50..72a0ccf 100644 --- a/docs/_pages/redgreen.md +++ b/_projects/serial-communication.md @@ -1,13 +1,14 @@ --- -title: "Red Light, Green Light Game" -permalink: /redlight-greenlight/ +title: "7: Serial Communication" excerpt: "Implement a 2-Arduino game called Red Light, Green Light!" -last_modified_at: 2020-05-14T14:07:54-04:00 toc: true +order: 7 +header: + teaser: /assets/images/RedLightGreenLight.png ---

    - +

    ## About this Project @@ -17,7 +18,7 @@ In this project, you will be implementing a 2-Arduino game called Red Light, Gre ### [Lecture Slides](https://docs.google.com/presentation/d/1LQoQPmcH95rTSIBplJn-w9iuIVvoQFx8bOY2leiMXvk/edit?usp=sharing) ### Prerequisites -* [Intro to Arduino: Potentiometer Blink](../potentiometer-blink) +* [Intro to Arduino: Potentiometer Blink](/potentiometer-blink) ### Skills Learned * Pull-up/pull-down resistor @@ -38,7 +39,7 @@ In this project, you will be implementing a 2-Arduino game called Red Light, Gre | 10kOhm Resistor | 2 | $0.10 | [DigiKey](https://www.digikey.com/product-detail/en/yageo/CFR-25JB-52-10K/10KQBK-ND/338) | | 100nF(0.1uf) Capacitor | 2 | $0.45 | [DigiKey](https://www.digikey.com/product-detail/en/kemet/C320C104J5R5TA7301/399-9867-1-ND/3726105) | -**Total estimated cost:** $16.89 per team of 2 +**Total estimated cost:** $16.89 per team of 2 *If reusing Arduino/MiniUSB/Breadboard:* $2.29 per team of 2 ## Project Specification @@ -73,11 +74,11 @@ You will need to hook up 2 different output LEDs (choose between red, yellow and **Arduino Device 2: Pressing on the gas or break using buttons** Your Carduino will have 2 push button inputs, one representing the gas pedal and one representing your brake. If the Green Light is flashed, you’ll press on the gas button. When the Red Light is flashed, you’ll press on the brake. Grab these buttons from the OPS parts drawers. Use this pinout to help you in selecting pins for your Arduino. -> **NOTE: Button Debouncing.** +> **NOTE: Button Debouncing.** When you press or release a button, it will “bounce” several times before reaching its final state, which means several button presses will be registered. One way to avoid this is to put a capacitor in series with the button, so that the button release will not register until after the capacitor is fully discharged over time. If the capacitor’s value has been appropriately chosen, this will be after the button has finished bouncing, such that only one press will be registered. Below is the basic circuit for button debouncing:

    - +

    Vout is the voltage read by the microcontroller input pin, and Vdd is +5V. Use a 10k resistor and a 100nF capacitor for your debouncing circuit, so that you achieve an RC time constant of 1ms (time constant = resistance * capacitance). diff --git a/_site/404.html b/_site/404.html new file mode 100644 index 0000000..4bd634f --- /dev/null +++ b/_site/404.html @@ -0,0 +1,211 @@ + + + + + + +OPS 2.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + +
    +
    +
    + + +
    + + +
    +

    404

    + +

    Page not found :(

    +

    The requested page could not be found.

    +
    + +
    + + + + + + + + + + + + + + + + + + + diff --git a/docs/_site/about/index.html b/_site/about/index.html similarity index 50% rename from docs/_site/about/index.html rename to _site/about/index.html index 911a943..40918de 100644 --- a/docs/_site/about/index.html +++ b/_site/about/index.html @@ -1,6 +1,6 @@ About - OPS 2.0 - + + @@ -23,37 +24,17 @@ - - - - - + - - - - - - - - - - - - - - - - @@ -67,8 +48,7 @@ "@type": "Person", "name": "IEEE at UCLA", - "url": "http://localhost:4000/", - "sameAs": ["https://twitter.com/mmistakes","https://www.facebook.com/michaelrose"] + "url": "http://localhost:4000/" } @@ -80,10 +60,13 @@ + - + + + @@ -94,38 +77,21 @@ + + - + - - - - - - - - + + +