Search found 63 matches

by tommeyers
Tue Nov 13, 2018 2:24 pm
Forum: ESP32 IDF
Topic: IO output
Replies: 5
Views: 651

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: ESP32 IDF
Topic: IO output
Replies: 5
Views: 651

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: 1452

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: 1452

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: 1452

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: 7
Views: 1286

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: ESP32 IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 1318

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: ESP32 IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 1318

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: ESP32 IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 1318

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
by tommeyers
Sun Oct 28, 2018 4:48 pm
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 18
Views: 8980

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

You might try a BT sniffer to get more info.

I used BT Serial library and my esp32 presented SPP.

I also used a BT Sniffer in the process.

Go to advanced search