Search found 77 matches

by tommeyers
Wed Oct 31, 2018 5:32 pm
Forum: ESP32 IDF
Topic: Slow WiFi Scan
Replies: 7
Views: 1714

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

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

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

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

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

This worked for me: #include "BluetoothSerial.h" //===== Preferences Manager: (hack so that I can return a preference data type) // see: https://playground.arduino.cc/Code/Struct#Creation #include "name.h" BluetoothSerial SerialBT; void setup() { //add: PreferenceAdd(preferenceName,preferenceLabel,d...
by tommeyers
Mon Oct 22, 2018 3:49 pm
Forum: ESP32 Arduino
Topic: Examples for many serials ports
Replies: 4
Views: 1606

Re: Examples for many serials ports

I explored that recently. Here is how I quickly tested them: Connected (tx+rx) to (rx+tx) then sent messages between them. The test was < 10 lines of code. I don't remember exactly but I think those 3 use a UART and one is connected to USB. I also don't remember if there are serial libraries for sof...
by tommeyers
Sun Oct 21, 2018 3:52 pm
Forum: ESP32 Arduino
Topic: Examples for many serials ports
Replies: 4
Views: 1606

Re: Examples for many serials ports

How many do you need?

Tom Meyers
by tommeyers
Thu Oct 11, 2018 4:52 pm
Forum: Hardware
Topic: ESP32 with a tons of switch
Replies: 16
Views: 2957

Re: ESP32 with a tons of switch

Don't give-up. 1) use 148 to read 7 switches 2) See below for reading more Reading More: Take a look here: https://www.embeddedrelated.com/showarticle/519.php For more than 8 buttons you can use a matrix and easily get to 64 buttons. HC138 for polling rows (0..8) while reading from am HC148 columns....
by tommeyers
Thu Oct 11, 2018 4:24 pm
Forum: Hardware
Topic: ESP32 with a tons of switch
Replies: 16
Views: 2957

Re: ESP32 with a tons of switch

Yosuke, In the diagram above it appears that the 138 is being used for 2 output purposes: 1) to send a polling signal to each of the 8 columns (of 2 switches) and combined with led0/1 to light 1 of the 16 leds (8 columns 2 rows). The switch values are presented to the long connector which chooses wh...
by tommeyers
Wed Oct 10, 2018 1:56 pm
Forum: Hardware
Topic: ESP32 with a tons of switch
Replies: 16
Views: 2957

Re: ESP32 with a tons of switch

esp sprite,thanks for jumping in. I have not used the 138 nor 148. I am curious about how just 0 button pressed and no buttons pressed will be sorted-out. Do they both return 0? The 3 bit value has 8 possible key values and the switches have 9: none,0,1,2,3,4,5,6,7,8 . Here is the TI functional diag...

Go to advanced search