Search found 11 matches

by bbx10node
Fri Jul 28, 2017 3:30 am
Forum: ESP32 Arduino
Topic: How to use a "Standalone" html page for this example (ESP32 Arduino)
Replies: 5
Views: 8472

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

C++ raw string literals can be used to embed HTML in a string constant without the annoying backslashes. const char INDEX_HTML[] = R"======( HTTP/1.1 200 OK Content-type:text/html <html> <head><title>Test Led http protocol</title></head> <body> <center><h1><b>ESP32 Web Control!!</b></h1></center> <c...
by bbx10node
Thu Jun 29, 2017 9:20 am
Forum: ESP32 Arduino
Topic: 2nd Serial Port Access
Replies: 10
Views: 25762

Re: 2nd Serial Port Access

See if the following works to enable all 3 UARTs. I have used Serial and Serial1 at the same time but have not tried all 3 at once. Post if you get all working at the same time. /* ESP32 3 UARTs */ HardwareSerial Serial1(1); HardwareSerial Serial2(2); // Choose two free pins #define SERIAL1_RXPIN 12...
by bbx10node
Thu Jun 29, 2017 5:55 am
Forum: ESP32 Arduino
Topic: httpclient post method
Replies: 2
Views: 6951

Re: httpclient post method

Try a trivial JSON string. I think you need the double quotes around the name as well as the value assuming you sending a string.

Code: Select all

   int httpCode = http.POST("{\"name\":\"value\"}");
by bbx10node
Wed May 17, 2017 1:28 am
Forum: ESP-IDF
Topic: tcp socket speed 10Mbps only. How can I speed up?
Replies: 12
Views: 20866

Re: tcp socket speed 10Mbps only. How can I speed up?

Some results from the tcp_perf program included in the IDF running on an Adafruit Huzzah ESP32 STA TCP test. Of course, you may get different results depending on your AP, network congestion on your network, etc. TCP send from ESP32. 2-3 Mbits/s. I (16459) tcp_perf:: start sending... I (19359) tcp_p...
by bbx10node
Sat Oct 08, 2016 5:33 am
Forum: ESP-IDF
Topic: Raspberry Pi JTAG
Replies: 4
Views: 6246

Re: Raspberry Pi JTAG (switched to FT2232 JTAG board)

Summary: I was never able to completely solve the random resets using the Raspberry Pi 2.

I purchased an FT2232 JTAG board (TIAO) which works fine.
by bbx10node
Mon Oct 03, 2016 5:52 am
Forum: General Discussion
Topic: ESP32 and ESP8266 freely downloadable book
Replies: 12
Views: 25924

Re: ESP32 and ESP8266 freely downloadable book

Example I2S projects for the ESP8266 are available.

MP3 player using non-OS SDK: https://github.com/espressif/ESP8266_MP3_DECODER

There is Arduino ESP8266 support for I2S. Play WAV files from SPIFFS: https://github.com/bbx10/SFX-I2S-web-trigger
by bbx10node
Sun Oct 02, 2016 10:32 pm
Forum: ESP-IDF
Topic: Raspberry Pi JTAG
Replies: 4
Views: 6246

Re: Raspberry Pi JTAG

Thanks, I tried 100 and 50 kHz and removed the 100K pull ups. But spontaneous core and debug controller resets still occur. I made two changes so openocd can now get device IDs reliably. 1. On the RasPi2, I switched from USB WiFi to Ethernet. Having two WiFi radios a few inches apart seems like a ba...
by bbx10node
Sun Oct 02, 2016 7:18 am
Forum: ESP-IDF
Topic: Raspberry Pi JTAG
Replies: 4
Views: 6246

Raspberry Pi JTAG

I used this https://github.com/espressif/esp-idf/blob/master/docs/openocd.rst to setup openocd on a Raspberry Pi 2. I do not have a JTAG dongle so I am trying the RasPi bit bang method. The RasPi connected to an Arduino Due via JTAG works fine. I used JTAG on a Due before so I used the Due to make s...
by bbx10node
Sat Oct 01, 2016 2:58 am
Forum: ESP-IDF
Topic: I2C example wanted
Replies: 9
Views: 15543

Re: I2C example wanted

I am looking at I2C to get a better idea of how things work at the low level. I suspect Expressif will release i2c drivers before I get anything useful working. I noticed the 0.9 release adds the following to enable/disable controllers/modules. Does leaving unused modules disabled save power? Versus...
by bbx10node
Thu Sep 29, 2016 9:48 am
Forum: ESP-IDF
Topic: I2C example wanted
Replies: 9
Views: 15543

Re: I2C example wanted

Thanks, enabling the clock helps a lot! Configuring/writing the i2c controller registers works. I will hook up scope later and see if there is any transitions on the i2c SCL pin. Of course, at lot could still be going wrong in my code. Here is my pin muxing code. gpio_config_t io_conf; io_conf.intr_...

Go to advanced search