Search found 16 matches

by Hexman64
Wed Mar 28, 2018 2:33 pm
Forum: ESP-IDF
Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
Replies: 28
Views: 33043

Re: I2C crash with release/v3.0 - what's an effective way to debug this?

I'm not exactly sure which I2C problems you guys are discussing here, but I found a solution / workaround for mine on another forum. Links can be found here:
viewtopic.php?f=19&t=5094&p=22403#p22403
by Hexman64
Wed Mar 28, 2018 2:28 pm
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 45368

Re: ESP32 I2C power/distance problem?

Well, I decided to make my project even more stable yesterday evening and copied over only the 5 files 'stickbreaker' mentioned. That gave a bunch of compiler errors, so I replaced the whole Wire library with this one: https://github.com/stickbreaker/arduino-esp32 It has been running for about 20 ho...
by Hexman64
Mon Mar 26, 2018 7:39 pm
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 45368

Re: ESP32 I2C power/distance problem?

Wire.setClock(10000) definitely works here. The command is accepted, but with no effect - I guess you DO observe a change in frequency after changing the clock speed with this command. Strange, I don't. As my problem is resolved for the moment (I reset the bus as soon as the RTClock returns impossi...
by Hexman64
Fri Mar 23, 2018 5:11 pm
Forum: General Discussion
Topic: ESP-WROOM-32 / GPIO16/17
Replies: 12
Views: 26567

Re: ESP-WROOM-32 / GPIO16/17

The story continued here:

viewtopic.php?f=19&t=5094&start=20

and seems to come to an end finally.
by Hexman64
Fri Mar 23, 2018 4:34 pm
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 45368

Re: ESP32 I2C power/distance problem?

I would have wished for even clearer rectangle signals. As I'm only reading a RTClock and writing to the displays every second, I would not mind if that would run at only 10kHz, but like I said, I cannot observe any change on my scope after using Wire.setClock(10000); :( On the other hand, the probl...
by Hexman64
Fri Mar 23, 2018 11:04 am
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 45368

Re: ESP32 I2C power/distance problem?

That was here: https://github.com/espressif/arduino-esp32/issues/912
See what 'stickbreaker' writes.
by Hexman64
Thu Mar 22, 2018 9:38 pm
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 45368

Re: ESP32 I2C power/distance problem?

The compiler (only) accepts Wire.setClock(xxx), but with my cheap DSO138 oscilloscope I cannot see a difference no matter what speed I set. I'm using the DS3231.h, LiquidCrystal_I2C.h and "Adafruit_LEDBackpack.h" (which are then using wire.h) and do not need to include the Wire.h to run them. So I'm...
by Hexman64
Thu Mar 22, 2018 8:29 pm
Forum: Hardware
Topic: integrating the ESP32 into my own PCB
Replies: 4
Views: 7201

Re: integrating the ESP32 into my own PCB

On my ESP32's board, an AMS1117 is installed. It's current limit is typ. 1100mA when Vin-Vout=1.5V.
The biggest SMD capacitor reads "J107", but I could not measure or find out its value.
by Hexman64
Thu Mar 22, 2018 1:36 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 91432

Re: ESP32 on Batteries - your setup

Ok, so I missed that you're eliminating your power converter(s) already. Alkalines should be able to provide 1A, by far enough to initialize Wifi (I read up to 800mA somewhere. Never measured >400mA, but I might have missed 800mA peaks which could drop the batteries' voltage below a working value). ...
by Hexman64
Thu Mar 22, 2018 12:56 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 91432

Re: ESP32 on Batteries - your setup

I'm using a 3.3V Arduino Mini (8MHz) with ripped-off voltage regulator and power led, which I supply by two Alkaline batteries connected to the 3.3V VCC pin directly. In deep-sleep, this should last for 57 years. When waking up, it powers a step-up-module via mosfet to send a high-power 433MHz ping,...