Search found 1683 matches

by kolban
Tue Aug 14, 2018 4:54 pm
Forum: ESP32 IDF
Topic: Sending payload to AWS IOT using MQTT causes an error
Replies: 11
Views: 4626

Re: Sending payload to AWS IOT using MQTT causes an error

If I were to guess, the puzzle is a memory over-run. If I am reading your code correctly, "param" is an input string which you then create an alias called "payload" to point to it. You then copy the string pointed to by "payload" into an array called "cPayload". This is all guess work based on looki...
by kolban
Mon Aug 13, 2018 8:17 pm
Forum: ESP32 IDF
Topic: HTTP server simple example
Replies: 13
Views: 4830

Re: HTTP server simple example

If it were me, I'd try a set of permutations starting with alternate access points. Many cell phones these days provide the capability to be an access point. If so, configure your ESP32 to be a station to an alternate access point and see if different symptoms show up.
by kolban
Sun Aug 12, 2018 4:45 am
Forum: ESP32 IDF
Topic: How to use PCNT with no CTRL pin
Replies: 1
Views: 1918

How to use PCNT with no CTRL pin

As I study the Pulse Counter (PCNT) functions, I find that a Pulse Counter has a data pin and a control pin. The data pin is used as the sense input for pulses and the control pin is used as a control to determine a set of rules for how to change the counter. If the control pin is high, one set of r...
by kolban
Sun Aug 12, 2018 4:35 am
Forum: Hardware
Topic: pulse counter ncrement decrement two channels
Replies: 1
Views: 1899

Re: pulse counter ncrement decrement two channels

From my reading ... yes we can do this. At the highest level, pick one of the 8 pulse counter units available to us. We will then find that the single unit has two channels. Each channel has a data pin. For channel 0 indicate that a pulse on the data pin should increment the unit counter while for c...
by kolban
Sun Aug 12, 2018 4:30 am
Forum: General Discussion
Topic: Range Extension of the Pulse Counter (PCNT)
Replies: 4
Views: 2223

Re: Range Extension of the Pulse Counter (PCNT)

Unfortunately, I think the puzzle is worse than you think. The value of the counter is a signed 16bit value which means that it can count from -32767 to + 32767. That means it overflows after 15bits. If you are only counting "up" then I would suggest setting a high value of (say) 30000. When the hig...
by kolban
Sun Aug 12, 2018 4:25 am
Forum: ESP32 IDF
Topic: Is there any way to set the current count of the PCNT?
Replies: 3
Views: 1886

Re: Is there any way to set the current count of the PCNT?

There is an API called pcnt_counter_clear() that will reset the counter to zero.
by kolban
Sat Aug 11, 2018 3:00 pm
Forum: ESP32 Arduino
Topic: Unable to use all ram available?
Replies: 7
Views: 2977

Re: Unable to use all ram available?

When you attempt to allocate an array of bytes ... static char myData[240*320*3] You are asking for a contiguous chunk of storage. Whether that storage is allocated from the stack, from .data, form .bss or from the heap ... the request is still contiguous storage. While the ESP32 has 512K of storage...
by kolban
Sat Aug 11, 2018 5:12 am
Forum: ESP32 Arduino
Topic: How many volts can feed esp32s
Replies: 5
Views: 3319

Re: How many volts can feed esp32s

If we look at the top left of the schematic diagram found here:

https://dl.espressif.com/dl/schematics/ ... 80607a.pdf

It would appear that we can supply an external source of 5V. This appears to enter a voltage regulator that drops the output to 3.3V.
by kolban
Fri Aug 10, 2018 11:31 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 16
Views: 21193

Re: Run linux on the ESP32?

There is a super detailed ESP32 manual called the ESP32 Technical Reference. In chapter "26 - PID/MPU/MMU" there are descriptions of the hardware support for these areas of functions. What I would suggest is to have a good slow read of that section and see how much of it makes sense. I had to read i...
by kolban
Fri Aug 10, 2018 9:06 pm
Forum: General Discussion
Topic: Run linux on the ESP32?
Replies: 16
Views: 21193

Re: Run linux on the ESP32?

Typically memory isolation is used for robustness. In a privileged address space (ESP32 default), an error in an application or subroutine or task could merrily step all over the memory of other applications. By leveraging process isolation, one adds an extra degree of resiliency to a solution. Assu...

Go to advanced search