Embedded System Design Inquiry

The required series resistance is:
R=4 V2.1 V2 mA=950  ΩR = \frac{4\text{ V} - 2.1\text{ V}}{2\text{ mA}} = 950\;\Omega
A standard 1 kΩ (0603) resistor is the closest E-series value.
Shall I add a 1 kΩ 0603 resistor to your schematic for the LED?
@library add a 1 kΩ 0603 resistor to the LED’s series branch.
I can add the following component to your schematic:
@library add CRG0603F1K0 as the LED series resistor R16
I can add the following component:

To get started, talk to Flux or create a New Document.

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    Assets are files uploaded to this project which can be used in various ways.

    UnCamera-based Red/Green Light Detection Unit with Photodiodes & ESP32-S3 thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $14.53–$14.89

    Digi-Key

    $17.63

    LCSC

    $40.33–$40.38

    Mouser

    $17.33

    TME

    $1.05

    Verical

    $14.38–$16.70

    Controls