ESP32-S3 TFT Feather output pin only 2.2v

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

I was using an adafruit fona board with an arduino mega board (5v) for several years until they discontinued the FONA boards. I found a new 4G LTE board 3.3v and used it with the Adafruit ESP32-S3 TFT Feather. I am using an output pin to control a solid state relay to toggle the conditioner on my boat (120 VAC) The SSR says 3-32v DC input but when I tried it on the boat the SSR would not activate. I measured the pin voltage on the ESP32 and it was only 2.2v. As a workaround I used this Adafruit QT 3V to 5V Level Booster Breakout Product ID: 5649 which boosted the pin voltage to 4.4v, enough to trigger the SSR.

My question is why is the ESP32 pin voltage so low ? I thought it was a 3.3v device but searching around I found articles that say it can vary from 2.2 to 3.3v. Do different pins provide higher voltages ?

Here is how I defined the pin on the esp32

#define AirCondRelayPin 15 // solid state relay, black GND, orange to pin 15

pinMode(AirCondRelayPin, OUTPUT); // this is a solid state relay

digitalWrite(AirCondRelayPin, LOW); // turn off airCond solid state relay 120v

digitalWrite(AirCondRelayPin, HIGH);

thanks

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by Franklin97355 »

Have you tested the pin unconnected or tested the current drawn? It might be the SSR is drawing too much for the pin to supply.

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

I think it was disconnected from the ssr when I was troubleshooting, unfortunately, the boat is over an hour away, making testing more challenging, buying a second board so I can confirm here at home, thanks

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by Franklin97355 »

I'll see if anyone knows if there is a fix.

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by adafruit2 »

are you using an oscilloscope? probably the SSR current was high and it was drooping the voltage, the current output from a pin is only 3mA or so

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

sorry I don't have an oscilloscope. I did buy duplicate hardware to repro at home but noticed when I measured the + and - on the SSR when i set the pin high it read 3.3v. next step I was going to swap my new esp32-s3 with the one the boat and see if it is different.

In the meantime the Adafruit QT 3V to 5V Level Booster Breakout seems to be working.
thanks

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by adafruit2 »

did the swap fix it?

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

I did build a duplicate setup at home since the original esp32-s3 tft board is on a boat over an hour away and it work fine, I measured the voltage on the SSD from the ESP32 and watched it go from 0 to 3.3v when I had the code turn it on.

I assume it is the specific board on the boat and I will need to swap it out.
thanks

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by adafruit2 »

whats the impedance of the SSR - it could be it works now but the pin will be damaged from driving a low impedance load. its not uncommon to have a driver/buffer for an SSR!

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

Apologies, not an engineer and not sure what you mean by impedance and needing a driver ? Does Adafruit sell a breakout board for this ?

This same setup worked for years on mega board but that was 5v based

Thanks

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by adafruit2 »

the SSR may require more power than the pin can provide. you can look at the SSR datasheet, ESP32 pins can provide maybe 5mA but atmega can do 10-20mA

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

thank you

is there a board that adafruit sells to do this ?

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

I found this on the desc of the SSR:
Trigger Current: 7.5mA/12V
Control Voltage: 24-380V AC
Input Voltage: 3-32V DC
Zero Cross

User avatar
jimk123
 
Posts: 708
Joined: Sun Dec 26, 2010 7:04 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by jimk123 »

would something like this work to drive the SSR ?
Adafruit MOSFET Driver - For Motors, Solenoids, LEDs, etc - STEMMA JST PH 2mm Product ID: 5648

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: ESP32-S3 TFT Feather output pin only 2.2v

Post by adafruit2 »

thats a 'drive low' mosfet, you probably need to drive it high to turn on the SSR right?

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”