Search found 1683 matches

by kolban
Mon Feb 13, 2017 5:45 am
Forum: Sample Code
Topic: [Video] ESP32 - DS1307 real time clock
Replies: 14
Views: 31074

Re: [Video] ESP32 - DS1307 real time clock

Howdy, I fully agree ... a real time clock attached to an ESP32 does seem redundant since the ESP32 has a real time clock in it. However, that said, the DS1307 module can apparently remember time for years on a simple coin cell battery whereas the ESP32 will "forget" the time if the power is removed...
by kolban
Mon Feb 13, 2017 12:06 am
Forum: General Discussion
Topic: problem developing http server
Replies: 5
Views: 7795

Re: problem developing http server

Another possibility is to use the "xxd" tool. This takes an arbitrary file as input (binary or text) and can produce a header file that contains the data in the file that is safe to include in your other C programs. See:

http://linuxcommand.org/man_pages/xxd1.html
by kolban
Sun Feb 12, 2017 9:06 pm
Forum: Sample Code
Topic: [Video] ESP32 - Using displays and the U8g2 library
Replies: 8
Views: 15664

[Video] ESP32 - Using displays and the U8g2 library

The U8g2 library is an open source project for driving monochrome displays. This video tutorial illustrates how to use that library on an ESP32 using ESP-IDF. The video can be found here: https://www.youtube.com/watch?v=MipOGBStBbI In the video we reference a hardware abstraction layer that maps U8g...
by kolban
Sun Feb 12, 2017 5:20 pm
Forum: ESP-IDF
Topic: ESP32 as stanalone Webserver
Replies: 25
Views: 46148

Re: ESP32 as stanalone Webserver

Howdy Cornelis, I think the clue in your post is the "stack overflow". In an ESP32, we run "tasks" (which in other environments can be thought of as threads). A task is a function that is executed concurrently to other tasks. When we create a task, we allocate to that task the maximum stack size it ...
by kolban
Sat Feb 11, 2017 6:59 pm
Forum: ESP-IDF
Topic: WSS, Libwebsockets
Replies: 8
Views: 16992

Re: WSS, Libwebsockets

See also this relatively current issue:

https://github.com/warmcat/libwebsockets/issues/776
by kolban
Sat Feb 11, 2017 4:52 am
Forum: Sample Code
Topic: [Video] ESP32 - DS1307 real time clock
Replies: 14
Views: 31074

[Video] ESP32 - DS1307 real time clock

In this tutorial video we illustrate the attachment of a DS1307 real time clock module to an ESP32 and how to read and write from it using I2C.

https://www.youtube.com/watch?v=irtxFEZPRrg
by kolban
Sat Feb 11, 2017 12:40 am
Forum: General Discussion
Topic: GPIO bit-banging - what are the actual limitations and sources of interference?
Replies: 3
Views: 9484

Re: GPIO bit-banging - what are the actual limitations and sources of interference?

Howdy, My 2 cents ... I would imagine that if you are running just "one core" then interrupts are occurring all the time. When an interrupt occurs, the code that was running is preempted and control is given to another section of code which runs until it releases and then we return back to the origi...
by kolban
Fri Feb 10, 2017 4:06 pm
Forum: General Discussion
Topic: ADC speed?
Replies: 29
Views: 82331

Re: ADC speed?

Howdy, Many thanks for the response. Can I assume that by saying that the sample frequency is 6kHz then we sample ADC 6000 times a second? Does that mean that there are 6000 results a second? If i was to be a masochist, then the minimum time I should read new values is 1/6000th of a second? Does the...
by kolban
Fri Feb 10, 2017 1:41 am
Forum: General Discussion
Topic: Coredump info is incomplete
Replies: 3
Views: 6401

Re: Coredump info is incomplete

Might this help? It is a tutorial on using the core dump functions to determine where within code a panic occurred.

http://esp32.com/viewtopic.php?f=18&t=1111
by kolban
Fri Feb 10, 2017 1:40 am
Forum: Sample Code
Topic: [Video] ESP32 - Using time based functions and SNTP
Replies: 0
Views: 3379

[Video] ESP32 - Using time based functions and SNTP

Here is a technical video tutorial on using time based functions. Primarily it is the POSIX items that are covered but some discussion is had on SNTP.

https://www.youtube.com/watch?v=HIf_V0dfv5U