Search found 90 matches

by tele_player
Tue Aug 01, 2017 12:23 am
Forum: ESP32 Arduino
Topic: Can't connect ESP32 to MQTT Broker (Mosquitto)
Replies: 2
Views: 13160

Re: Can't connect ESP32 to MQTT Broker (Mosquitto)

I just tried the code from the tutorial, modified only to comment out the DHT code, and use a random number for temperature. Installed mosquitto on a Raspberry Pi. Installed android app on my phone. Works fine here, temperature updates display correctly on my phone. No error messages in serial monit...
by tele_player
Wed Jul 26, 2017 5:05 am
Forum: ESP32 Arduino
Topic: How to use a "Standalone" html page for this example (ESP32 Arduino)
Replies: 5
Views: 14656

Re: How to use a "Standalone" html page for this example (ESP32 Arduino)

Yes, you can serve HTML files. Of course, you'll need to learn how to use the file system, and how to handle file operations like create,read,write,etc. There's a lot to learn, and you won't learn it all by asking on forums. School is good, and books. Probably easier to start with a real OS, Raspber...
by tele_player
Wed Jul 26, 2017 1:43 am
Forum: ESP32 Arduino
Topic: Interrupts being triggered by AC Load when pull resistor is connected
Replies: 12
Views: 19842

Re: Interrupts being triggered by AC Load when pull resistor is connected

Is the assumption that this is caused by electromagnetic interference, and NOT by noise or sag in the power line?
by tele_player
Tue Jul 25, 2017 5:21 am
Forum: ESP32 Arduino
Topic: Problem to get the ip address on this example.
Replies: 4
Views: 6339

Re: Problem to get the ip address on this example.

Just to be clear - are you saying it isn't getting to the loop checking WiFi status?

Works at home, not at office? Different make/model of WiFi access points?
by tele_player
Fri Jul 21, 2017 2:45 pm
Forum: ESP32 Arduino
Topic: Simple audio with DAC
Replies: 7
Views: 28673

Re: Simple audio with DAC

Going back to your first attempt, exactly how were you doing delay of .125? That should work, if you use delayMicroseconds(125).

If you use delay(0.125), the float 0.125 will be silently converted to int 0 , and it won't work.
by tele_player
Mon Jul 17, 2017 1:29 am
Forum: ESP32 Arduino
Topic: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
Replies: 3
Views: 6247

Re: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network

I'd try running WiFiScan to verify that radio reception works, then try connecting to an open AP.
But, of course, your device may be defective.
by tele_player
Sat Jul 15, 2017 6:05 pm
Forum: ESP32 Arduino
Topic: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network
Replies: 3
Views: 6247

Re: Wifi - SimpleWifiServer hangs upon trying to connect to wifi network

I just ran SimpleWiFiServer here, works as expected.

Did you set your ssid and password correctly?
by tele_player
Thu Jul 13, 2017 2:46 pm
Forum: ESP32 Arduino
Topic: Preference fetchString not working..... user error?
Replies: 2
Views: 5531

Re: Preference fetchString not working..... user error?

At the very least, your final snippet doesn't allocate any space for
char * s;

So, s is a pointer which doesn't point to any storage.
by tele_player
Fri Jul 07, 2017 5:35 am
Forum: ESP32 Arduino
Topic: Capacitive touch.
Replies: 2
Views: 8669

Re: Capacitive touch.

Reading a capacitive touch pin returns an analog value which varies with capacitance. To use it, compare that value to a threshold.

Note: they don't all return the same value when not being touched, so I'd use a few reads to calibrate the threshold value.
by tele_player
Sun Jul 02, 2017 3:44 am
Forum: ESP32 Arduino
Topic: ESP32 I2C not setting up
Replies: 3
Views: 8239

Re: ESP32 I2C not setting up

Have you tried any other pins?

I just got a Nodemcu 32S a few days ago, and have had success using I2C on 33=SDA, 32= SCL, running an SSD1306 128x64 OLED display.

-Robert