I'm designing a generic board to use in my cars (or other projects) that the inputs/outputs of the Teensy will be protected.
Just want to make sure I haven't over looked things, or have the resisters on the correct side.
Teensy 3.6
ESP8266 Wifi, CAN, and RS232

Power
Have two power sources incase of failure. Or from different sources (Key ON vs Key ACC)

Analog in
Most of the car sensors are 5V. Using the MCP6404 and voltage divider seems to be the safest way to bring values down to 3.3V

Analog out (PWM)
I read the 74HCT245 is good for PWM speeds. This will drive LED or Servo's.

Digital in
These will just be ground switches. I don't know if I need external pull up or just use the internal instead? Is there an IC chip that can replace this?

Digital out
Some will be able to sink a Relay, while others are just 5V for Led, SPI, etc. 1K resister on the teensy side ok ?

I can attach the whole eagle project file if that helps.
Just want to make sure I haven't over looked things, or have the resisters on the correct side.
Teensy 3.6
ESP8266 Wifi, CAN, and RS232

Power
Have two power sources incase of failure. Or from different sources (Key ON vs Key ACC)

Analog in
Most of the car sensors are 5V. Using the MCP6404 and voltage divider seems to be the safest way to bring values down to 3.3V

Analog out (PWM)
I read the 74HCT245 is good for PWM speeds. This will drive LED or Servo's.

Digital in
These will just be ground switches. I don't know if I need external pull up or just use the internal instead? Is there an IC chip that can replace this?

Digital out
Some will be able to sink a Relay, while others are just 5V for Led, SPI, etc. 1K resister on the teensy side ok ?

I can attach the whole eagle project file if that helps.
