Search found 110 matches

by Archibald
Tue Mar 20, 2018 11:35 am
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 92477

Re: ESP32 on Batteries - your setup

I've now connected my board (from the same supplier) to a 3.3V supply. It is drawing 10.8mA in deep sleep. The red LED is drawing 1.5mA so I expect most of the remainder is being drawn by the UART bridge and perhaps by back-powering of the regulator. Anyway with 10.8mA being drawn, the batteries sho...
by Archibald
Mon Mar 19, 2018 10:50 pm
Forum: General Discussion
Topic: SPIFFS fast enough for a one second data logger?
Replies: 8
Views: 12842

Re: SPIFFS fast enough for a one second data logger?

I've just tried writing 60 bytes to flash and timed it using the micros() function (before and after). It took 212μs (including some time taken by the 'micros' function calls, but excluding opening of file). I wonder if it may sometimes take longer, such as if the filing system sometimes needs to re...
by Archibald
Sun Mar 18, 2018 8:31 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 92477

Re: ESP32 on Batteries - your setup

If your booster is getting alarmingly hot it's not going to be a small current from your batteries.

Do you have something else such as a display connected?
by Archibald
Sun Mar 18, 2018 6:14 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 92477

Re: ESP32 on Batteries - your setup

Kazuya91 makes a good point about the AMS1117 regulator wasting current. The datasheet says the quiescent current is typically 5mA, possibly 11mA (when the voltage drop is 1.5V). As you are now using the 3V3 pin, hopefully there will be no wasted current through the regulator, but it's possible ther...
by Archibald
Sun Mar 18, 2018 1:16 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 92477

Re: ESP32 on Batteries - your setup

The Vin pin goes to the input of the low drop-out (LDO) regulator. The drop-out voltage (input to output differential) for that regulator is in the range 1.0V to 1.3V. So the regulator needs a supply to the Vin pin of at least 4.3V, possibly 4.6V. You need to use the 3V3 pin to avoid the regulator, ...
by Archibald
Thu Mar 15, 2018 8:40 pm
Forum: Report Bugs
Topic: Different kind of symbol
Replies: 6
Views: 10463

Re: Different kind of symbol

Thanks for the information Angus.

I suggest we now treat this issue as closed.
by Archibald
Wed Mar 14, 2018 10:02 am
Forum: Report Bugs
Topic: Different kind of symbol
Replies: 6
Views: 10463

Re: Different kind of symbol

Thanks Sprite,

I was expecting anything that compiles for an Arduino should compile for the ESP32. I still think that should be the case (unless impossible due to hardware differences).

According to Wikipedia (here) in a standard library for C it should be tgamma, not gamma.
by Archibald
Tue Mar 13, 2018 6:55 pm
Forum: General Discussion
Topic: How would I interface with this bus switch
Replies: 3
Views: 4917

Re: How would I interface with this bus switch

The datasheet says the control inputs are TTL compatible. That means anything over 2.0V should be recognised as 'high'. So I would say that there's no need for a MOSFET circuit.

BTW: as the 'on' resistance of each switch is about 4Ω, I don't understand how this device can do level shifting.
by Archibald
Tue Mar 13, 2018 11:24 am
Forum: Report Bugs
Topic: Different kind of symbol
Replies: 6
Views: 10463

Re: Different kind of symbol

Many thanks.

So there is quite a large number of extra 'reserved words' when compiling for an ESP32. I was expecting only the usual C++ reserved words and the Arduino extras such as "delay".
by Archibald
Tue Mar 13, 2018 10:06 am
Forum: Report Bugs
Topic: Different kind of symbol
Replies: 6
Views: 10463

Different kind of symbol

When I compile this code within the Arduino IDE . . . . float gamma; void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: } . . . . I get the warning message "float gamma redeclared as different kind of symbol". I don't get the warni...