I have 6 inputs and 8 outputs that are isolated using ild213 optocouplers and the emi is affecting all of the inputs and 1 output. I'm using 2s LiPo battery that powers the external circuits. All of the pin modes are input_pullup. No extra pull up resisters were used and i haven't added capacitors any where. The environment is a VW beetle drag car with a multispark MSD ignition that is causing the EMI. The teensy is enclosed in metal container . I'm using separate battery for car and teensy. I thought by using insulated cables to all the switches and relays through the optocoupler circuits would eliminate the noise but it's no better than without them..maybe even worse.
I connect via WiFi to a esp32s3 chip that is wired to Serial2 on the Teensy.
The optocouplers are on a separate pcb.
The esp32 handle some data collection besides operating as bridge.
I'm using Arduino IDE 2.3.5, Teensy 4.1
Someone please help me!
I connect via WiFi to a esp32s3 chip that is wired to Serial2 on the Teensy.
The optocouplers are on a separate pcb.
The esp32 handle some data collection besides operating as bridge.
I'm using Arduino IDE 2.3.5, Teensy 4.1
Someone please help me!
Attachments
Last edited: