Search found 24 matches

by deepakt
Tue Jul 16, 2019 4:35 pm
Forum: ESP32 Arduino
Topic: Bluetooth pairing in "client" mode
Replies: 5
Views: 14703

Re: Bluetooth pairing in "client" mode

Thankyou Toni for replying. The link you referred to was for BLE, while we're using BT Classic. Moving to BLE would take a lot of effort for us at this stage. I'm not even sure if BT Classic on Arduino supports master/socket server configuration currently. The library does not have any examples for ...
by deepakt
Wed Jul 10, 2019 9:42 am
Forum: ESP32 Arduino
Topic: Bluetooth pairing in "client" mode
Replies: 5
Views: 14703

Re: Bluetooth pairing in "client" mode

Hi,

Anyone out there who could help?
by deepakt
Tue Jul 09, 2019 10:43 am
Forum: ESP32 Arduino
Topic: Bluetooth pairing in "client" mode
Replies: 5
Views: 14703

Re: Bluetooth pairing in "client" mode

Going through the file arduino-esp32/tools/sdk/include/bt/esp_spp_api.h, I came across this piece of code. Would this help me achieve what I am looking for? typedef enum { ESP_SPP_ROLE_MASTER = 0, /*!< Role: master */ ESP_SPP_ROLE_SLAVE = 1, /*!< Role: slave */ } esp_spp_role_t;
by deepakt
Tue Jul 09, 2019 10:35 am
Forum: ESP32 Arduino
Topic: Bluetooth pairing in "client" mode
Replies: 5
Views: 14703

Bluetooth pairing in "client" mode

Experts! In my project, I'm using BT SPP to communicate between ESP32 and an Android device. I'm using the Arduino IDE and currently works fine. When the ESP32 comes up, I connect the Android device to the already paired ESP32 over BT. I use a Bluetooth Serial Terminal app on the Android. Data is se...
by deepakt
Sat May 18, 2019 6:57 am
Forum: ESP32 Arduino
Topic: Looking for a ESP32 TouchScreen Library
Replies: 9
Views: 21647

Re: Looking for a ESP32 TouchScreen Library

Looks like the TFT_eSPI library is now updated and supports ESP32 as well for use of touch.

https://forum.arduino.cc/index.php?topic=616515.0

https://github.com/Bodmer/TFT_eSPI

Regards,
Deepak
by deepakt
Fri May 17, 2019 5:47 pm
Forum: ESP32 Arduino
Topic: Looking for a ESP32 TouchScreen Library
Replies: 9
Views: 21647

Re: Looking for a ESP32 TouchScreen Library

Hi, Has anyone got this working lately? Also, based on the pins, I suppose that the CLK, MISO, MOSI pins would remain common for both LCD and Touch while the CS/SS will be different and independent for LCD and Touch? Would be great if someone can share a correct and tested pinout? I'm working with a...
by deepakt
Mon Mar 11, 2019 6:45 pm
Forum: ESP32 Arduino
Topic: Unable to upload ESP32 code - Invalid head of packet (0x1B)
Replies: 18
Views: 33701

Re: Unable to upload ESP32 code - Invalid head of packet (0x1B)

This one is the FET based shifter and doesn't have an OE pin. Next time I'll use an IC based level shifter and hope this problem doesn't happen again.
by deepakt
Mon Mar 11, 2019 10:58 am
Forum: ESP32 Arduino
Topic: Unable to upload ESP32 code - Invalid head of packet (0x1B)
Replies: 18
Views: 33701

Re: Unable to upload ESP32 code - Invalid head of packet (0x1B)

When the LV connection of the level shifter is connected t the 3V3 pin of ESP32, I see this problem. When I disconnect the LV connection from ESP32 3V3 pin, everything works fine.

Atleast now I'm sure it is the level shifter which is a problem.
by deepakt
Fri Mar 08, 2019 7:10 am
Forum: ESP32 Arduino
Topic: Unable to upload ESP32 code - Invalid head of packet (0x1B)
Replies: 18
Views: 33701

Re: Unable to upload ESP32 code - Invalid head of packet (0x1B)

I see what the problem is here - the logic level shifter. I have D2 and D19 coming from ADE7763 via the logic level shifter. When I disconnect those pins, then the code gets uploaded. But while these two pins are connected on the ESP32, I get those errors mentioned. Surprisingly, once the code is lo...
by deepakt
Thu Mar 07, 2019 9:04 am
Forum: ESP32 Arduino
Topic: Unable to upload ESP32 code - Invalid head of packet (0x1B)
Replies: 18
Views: 33701

Re: Unable to upload ESP32 code - Invalid head of packet (0x1B)

Some information that might help is that the peripheral device currently is a power meter IC ADE7763 running on SPI bus. Since ADE is 5V powered, there's a logic level shifter connected between the ADE and ESP32. I use the Vin pin to power the ADE. I do see that the vtg on Vin pin drops to about 4.5...