Logo

Lessons

  • 0. Getting set up
  • 1. Prototyping electronic devices
  • 2. A tour of Ardiuno Uno and the solderless breadboard
  • 3. Hello, world. (a.k.a. Blink)
  • 4. Schematics
  • 5. Programming Arduino
  • 6. Practice programming Arduino
  • 7. ADC and USART
  • 8. Pulse width modulation
  • 9. Asynchrony and blocking
  • 10. Serial communication with Python
  • 11. Controlling Arduino with widgets
  • 12. Requesting and receiving data from Arduino
  • 13. Streaming data from Arduino
  • 14. Asynchronously receiving data from Arduino
  • 15. Streaming plots with Bokeh
  • 16. Control panels
  • 17. Libraries, DAC, and I2C
  • 18. Using a liquid crystal display
  • 19. Voltage dividers
  • 20. Introduction to filters
  • 21. Photoresistors, trimming, and ADC
  • 22. Operational amplifiers
  • 23. Op-amps as mathematical operators
  • 24. Transistors
  • 25. Sample-and-hold circuits
  • 26. Active filters
  • 27. Digital filters

Exercises

  • Thinking exercises
  • Follow-along exercises
  • Do-it-yourself exercises

Projects

  • Spectrophotometer
  • Pulse oximetry

Schedule

  • Schedule overview
  • Due dates
  • Weekly activities

Resources

  • Software
  • Books
  • Online resources

Policies

  • Meetings
  • Course structure
  • Course communications
  • Equipment
  • Submission of exercises and project write-ups
  • Exercises
  • Project write-ups
  • Collaboration policy
  • Grading

Components

  • Components
BE/EE/MedE 189 a
    Archive of the Fall 2022 edition
  • View page source

Follow-along exercises

Follow-along exercises are embedded in lessons. For convenience here are links to the respective exercises.

  • Follow-along exercise 0: Testing Arduino (submission not required)

  • Follow-along exercise 1: Blink

  • Follow-along exercise 2: Alien contact (submission not required)

  • Follow-along exercise 3: Serial data and the serial monitor (submission not required)

  • Follow-along exercise 4: PWM demo

  • Follow-along exercise 5: Serial output without delay

  • Follow-along exercise 6: Tactile control of an LED (submission not required)

  • Follow-along exercise 7: Electronic control of an LED

  • Follow-along exercise 8: omitted

  • Follow-along exercise 9: Controlling Arduino with Bokeh

  • Follow-along exercise 10: Streaming data (submission not required)

  • Follow-along exercise 11: Plotting streaming data

  • Follow-along exercise 12: DAC with MCP4725

  • Follow-along exercise 13: Using an LCD display

  • Follow-along exercise 14: Empirical voltage division

  • Follow-along exercise 15: BJTs as switches

  • Follow-along exercise 16: Building a sample-and-hold circuit

  • Follow-along exercise 17: Sallen-Key filters

Previous Next

Last updated on Mar 23, 2023.

© 2022 Justin Bois. With the exception of pasted graphics, where the source is noted, this work is licensed under a Creative Commons Attribution License CC-BY 4.0. All code contained herein is licensed under an MIT license.

This document was prepared at Caltech with financial support from the Donna and Benjamin M. Rosen Bioengineering Center.



Built with Sphinx using a theme provided by Read the Docs.