Search found 184 matches

by tommeyers
Tue Nov 13, 2018 2:33 pm
Forum: ESP32 Arduino
Topic: Technical Parameters of ESP-WROOM-32
Replies: 3
Views: 5604

Re: Technical Parameters of ESP-WROOM-32

I think *you* need to do some work; begin to reading the technical specifications!

Then post again when you have done that; and post a list of what you have read and if any questions still remain this is a good place to ask for help.

Tom Meyers
by tommeyers
Tue Nov 13, 2018 2:24 pm
Forum: ESP-IDF
Topic: IO output
Replies: 5
Views: 6113

Re: IO output

Take a look at this: https://www.arduino.cc/en/Tutorial/DigitalPins

Yes, it applies beyond Arduino.

Tom Meyers
by tommeyers
Tue Nov 13, 2018 2:21 pm
Forum: ESP-IDF
Topic: IO output
Replies: 5
Views: 6113

Re: IO output

Is it floating high on start-up (probably). Meaning it is not set high but it has a value that makes it appear high.

In that case I think you can: use a pull-down on that line to make it low on power-up.

To see if it is floating high look at it on a 'scope.

Tom Meyers
by tommeyers
Mon Nov 12, 2018 2:23 pm
Forum: ESP32 Arduino
Topic: ESP32 Large Array Fails
Replies: 8
Views: 12119

Re: ESP32 Large Array Fails

Here is more info on the encoding: http://www.dspguide.com/ch27/4.htm

Tom Meyers
by tommeyers
Mon Nov 12, 2018 2:08 pm
Forum: ESP32 Arduino
Topic: ESP32 Large Array Fails
Replies: 8
Views: 12119

Re: ESP32 Large Array Fails

First, it sounds like you are getting 32bit floating point values from your ADC or are you getting 12bit, 10bit, ... values and converting to floatingpoint and then storing? in that case store the 12, 10, ... bit values. Second, for storing large array of big numbers numbers store instead d = (measu...
by tommeyers
Sat Nov 10, 2018 3:04 pm
Forum: ESP32 Arduino
Topic: ESP32 Large Array Fails
Replies: 8
Views: 12119

Re: ESP32 Large Array Fails

Storing 32 bit numbers is one way but can you store a smaller difference value instead? (measure=n-1 - measure-n) in 16 bits with sign? That would cut memory demand in-half.

Tom Meyers
by tommeyers
Sat Nov 10, 2018 2:54 pm
Forum: General Discussion
Topic: Storing a strucutre insde NVS
Replies: 8
Views: 13337

Re: Storing a strucutre insde NVS

Why do you *need* to store it as a struct? What happened when you tried that? What else have you tried?

I recommend you begin here: https://math.hawaii.edu/home/pdf/putnam ... olveIt.pdf

Seriously, Tom Meyers
by tommeyers
Wed Oct 31, 2018 5:32 pm
Forum: ESP-IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 10423

Re: Slow WiFi Scan

I intended to supply an example of similar working code. Not so much the individual functtion calls but structure; e.g. cycling through the channels, ...

Tom Meyers
by tommeyers
Tue Oct 30, 2018 6:50 pm
Forum: ESP-IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 10423

Re: Slow WiFi Scan

here is my scanner that worked OK, supporting files attached: #include <WiFi.h> #include <WiFiClient.h> #include <WiFiServer.h> #include "./functions.h" #define disable 0 #define enable 1 #define ACTIVITYLED 13 // GPIO13/D7 #define SWITCHPIN 0 // GPIO00/D3 unsigned int channel = 1; const char *ssid ...
by tommeyers
Tue Oct 30, 2018 12:07 am
Forum: ESP-IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 10423

Re: Slow WiFi Scan

Yes, multiple scanner hardware and divide-up the work.

Not intended to be a blunt/impolite reply. It is a method actually used by MIT Sensable Cities Lab (my son is the researcher doing that).

Tom Meyers