Now that my box is finished and I tested all lights I discovered that the LED lights on the pushbutton with green LED, pushbutton with red LED and the "engine start" pushbutton with red LED are very faint. Does anyone know what causes that?
Don't all pins on the Teensy 3.5 deliver 3.3 volts? If so they should in theory light up just as much as when I used my psu to test, which also delivers 3.3 volts.
In any case, I'm a bit tempted to just remove the resistors on those three LED lights. Because very low current seems to be flowing through them. (These values were measured with the psu, not the Teensy.):
Pushbutton with green LED: Rating: N/A
100ohm --> 0.45mA
120ohm --> 0.44mA
150ohm --> 0.43mA
Pushbutton with red LED: Rating: N/A
100ohm --> 0.65mA
120ohm --> N/A (forgot to measure)
150ohm --> 0.63mA
Engine start button with red LED: Rating: N/A
100ohm --> 0.65mA
120ohm --> 0.65mA
150ohm --> 0.43mA
Do they have some sort of built-in resistor you think? They are designed for 12V originally.
In contrast, here are the values for the red rocker switch, which is rated at max 10mA. As you can see this clearly needs a resistor. I now use 150ohm when connected to the Teensy, which gives lower mA than what you see below (those are measured with the psu).
100ohm --> 12.15mA
120ohm --> 10.27mA
150ohm --> 8.09mA
180ohm --> 7.06mA
Don't all pins on the Teensy 3.5 deliver 3.3 volts? If so they should in theory light up just as much as when I used my psu to test, which also delivers 3.3 volts.
In any case, I'm a bit tempted to just remove the resistors on those three LED lights. Because very low current seems to be flowing through them. (These values were measured with the psu, not the Teensy.):
Pushbutton with green LED: Rating: N/A
100ohm --> 0.45mA
120ohm --> 0.44mA
150ohm --> 0.43mA
Pushbutton with red LED: Rating: N/A
100ohm --> 0.65mA
120ohm --> N/A (forgot to measure)
150ohm --> 0.63mA
Engine start button with red LED: Rating: N/A
100ohm --> 0.65mA
120ohm --> 0.65mA
150ohm --> 0.43mA
Do they have some sort of built-in resistor you think? They are designed for 12V originally.
In contrast, here are the values for the red rocker switch, which is rated at max 10mA. As you can see this clearly needs a resistor. I now use 150ohm when connected to the Teensy, which gives lower mA than what you see below (those are measured with the psu).
100ohm --> 12.15mA
120ohm --> 10.27mA
150ohm --> 8.09mA
180ohm --> 7.06mA