Search found 1460 matches

by kolban
Sun May 27, 2018 4:17 am
Forum: ESP32 IDF
Topic: Programming in C++ and using esp_wifi
Replies: 12
Views: 3619

Re: Programming in C++ and using esp_wifi

Ive seen a similar message when trying to rename main.c to main.cpp. For me, the result was to remove the local build directory and rebuild all and then it "magically" worked.
by kolban
Sat May 26, 2018 4:51 am
Forum: ESP32 IDF
Topic: Programming in C++ and using esp_wifi
Replies: 12
Views: 3619

Re: Programming in C++ and using esp_wifi

One options for consideration is using Arduino as a component in an ESP32 ESP-IDF application ... see the following:

https://github.com/espressif/arduino-es ... mponent.md
by kolban
Fri May 25, 2018 5:45 pm
Forum: General Discussion
Topic: esp32 with ULP and RTC using AA batteries for a year
Replies: 5
Views: 561

Re: esp32 with ULP and RTC using AA batteries for a year

At the highest level, my thinking is: 1 year = 8760 hours 4AA at 2500mAh per battery is 10000mAh This means we need an average of 10000/8760 = 1.14mA consumption per hour (or less). My loose understanding is that when the ESP32 is in deep sleep mode, it is ticking along at the microAmp level which i...
by kolban
Fri May 25, 2018 5:36 pm
Forum: ESP32 Arduino
Topic: ESP32 not recognized by PC. No COM port problem!
Replies: 1
Views: 49

Re: ESP32 not recognized by PC. No COM port problem!

If it were me, the first thing I would do is list my USB devices and serial ports using Windows device manager. I would then plugin (or pull) the ESP32 connector and see if anything changes. If nothing, I would try a different USB cable and see if that changes any of the stories.
by kolban
Fri May 25, 2018 4:11 pm
Forum: Hardware
Topic: Current Limits
Replies: 7
Views: 150

Re: Current Limits

Looking at the ESP32 data sheet, it seems that the output current (source) on a GPIO should typically be about 40ma.

See:

https://www.espressif.com/sites/default ... eet_en.pdf
by kolban
Fri May 25, 2018 4:06 pm
Forum: General Discussion
Topic: SoftAp with Domain Name
Replies: 2
Views: 83

Re: SoftAp with Domain Name

Howdy Franck, My loose understanding is that the domain name system is like a database which maps symbolic names (http://www.xxx.com) to their IP addresses. The registration of which name maps to which IP address is not performed by the device that has that IP address but is rather done by the netwo...
by kolban
Fri May 25, 2018 4:00 pm
Forum: ESP32 Arduino
Topic: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment
Replies: 5
Views: 70

Re: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment

Just thinking out loud ... but based on your design description (thank you for that), do you really need to use both cores? Let's think about it ... Imagine that when a dog crosses the finish line, it is detected. This is logically an "event" and an event happens at a given point in time. ...
by kolban
Fri May 25, 2018 2:48 pm
Forum: General Discussion
Topic: generate log file
Replies: 2
Views: 61

Re: generate log file

My notes seem to say that all debug/logging is written by calling the function that is registered with the esp_log_set_vprintf() ESP-IDF function. By default this writes to serial but looks like it could be used to write to an arbitrary location.
by kolban
Fri May 25, 2018 2:45 pm
Forum: ESP32 Arduino
Topic: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment
Replies: 5
Views: 70

Re: is it possible to work with 2 setup() functions and 2 loop() within the ESP32-Arduino enviroment

This is just a loose thought ... but is there a threading/task based package/library for the ESP32 Arduino? If there is, then one could create a task/thread that loosely looks like: void taskEntry() { setup(); while(1) { loop(); } } and then in your REAL setup() create two (or more) instances of thi...
by kolban
Fri May 25, 2018 2:41 pm
Forum: Hardware
Topic: OLED spi - question to Mr Neil
Replies: 2
Views: 58

Re: OLED spi - question to Mr Neil

Its been a long while since I looked at this code but they should work with SPI. In fact, if I remember correctly, when we got this library working, it was only SPI and some other chap needed to get them working with I2C and he managed that and then contributed his changes to the code base. The high...

Go to advanced search