I have a strange issue. I have an esp32-s2 lolin s2 mini that sets up wifi in ap mode. It was working fine untill i plugged in a ds3132 rtc module. Without even the code the ap doesnt broadcast or even set up. I have eliminated every possible situation. I have changed boards with different code doing the same thing sta mode seems to work but i want to use the ap mode. Anyone seen anything similar. I have not posted code because its not necessary as just simply plugging it in breaks it. Only thing i havnt tried is two different power sources for each product which i will try later today.
Please post schematics! "Plugged in" can be just anything.
it turns out sta mode doesnt work either. with wifi manager it tries to start in ap mode even though i previously save the ssid. ill just try a different rtc
Are you sure your DS3231 is meant for 3.3V?
Which pins did you use for SCL and SDA ?
Does your ESP requiees external pull-ups for I2C?
its on the 5v vin for now and im using pin 16 and 18 for sda and scl. not sure about the pullups because it stops wifi with or without any code for the clock.
also can confirm that all is fine with a ds1302 rtc so ill just use that instead. just thought it was strange.
I'm not familiar with a DS3132. Did you mean a DS3231? Is this the module you're having trouble with?
Your so-called RTC DS3231 is perhaps actually the infamous ZS-042? Loads of issues re pullups, traces needing cut etc. Get a real DS3231 like a Chronodot. There are maybe three versions floating around, V2.0, V2.1, V3.0. Check the website for differences. Here is what I have. Notice the absence of all the crazy stuff.
DS3231 on Amazon.ca
Yes this is it
And you supplied 5V to its Vcc line? Then you may have been passing 5V level signals back to your ESP32. It won't have appreciated that and it may explain why simply hooking it up ground everything to a halt. That module may work with 3.3-5V, but the ESP32 I/O is 3.3V only.
As @sonofcy has already noted, there's some issues with that particular module. If you're married to using it, and you are populating the coin cell with a CR2032, remove at least one of R5 and D2 as shown in the schematic below. That's part of a charging circuit that's intended for a rechargeable coin cell. The CR2032 isn't. And if memory serves, the charging circuit only really works at 3.3V anyhow, but I could be remembering that incorrectly.
And just as a "by the way", it's always a good idea (and it's in the forum guidelines) to specify up front exactly what hardware you're using. That way we don't get more than 10 replies into a topic before finding out what hardware's in play. Specifying what's being used from the start results in quicker answers for you and less annoyance for people trying to help out.
Never thought of the 3.3 data issue. Ive switched to ds1307 anyway
Then you might want to mark the topic as solved so that people don't continue to try helping you out with a problem that you're no longer interested in solving.
The DS1307 still has some issues unless you purchased a raw chip. Also, it is not nearly as accurate as a modern Chronodot DS3231 V3.0
https://docs.macetech.com/doku.php/chronodot_v3.0
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.



