Search found 13 matches

by hellraise007
Wed Dec 18, 2019 7:57 am
Forum: ESP32 Arduino
Topic: ESP32 MTDI Pin consideration.
Replies: 1
Views: 498

ESP32 MTDI Pin consideration.

I have an ESP32D0WDQ5 (revision 1). I have been reading up on the strapping pins but I cant find a reliable documentation for this part of this chipset. 1) Can I use MTDI pin as an input (Deep sleep Wakeup). 2) If not can I use it as output? 3) Should I consider keeping it pulled up? Any advantage/d...
by hellraise007
Fri Nov 01, 2019 1:03 pm
Forum: ESP32 Arduino
Topic: Ext1 Wake up using input only pins
Replies: 0
Views: 1202

Ext1 Wake up using input only pins

Hi,
Is it possible to use the input only pins, 34 to 39 as ext1 wake up sources and be able to detect which pin was used to wake up? esp_sleep_get_ext1_wakeup_status(); seem to return 0 for these pins.
by hellraise007
Sun Oct 27, 2019 1:22 pm
Forum: ESP32 Arduino
Topic: WiFi RSSI to percentage
Replies: 2
Views: 1634

Re: WiFi RSSI to percentage

Using a percentage is misleading, most people recognize the "bars" for signal strength better than a number. https://www.netspotapp.com/what-is-rssi-level.html It is better to send the strength as collected, and let the server (or consumer) on the other end do the conversion. Raw data is more accur...
by hellraise007
Sat Oct 26, 2019 11:11 am
Forum: ESP32 Arduino
Topic: WiFi RSSI to percentage
Replies: 2
Views: 1634

WiFi RSSI to percentage

I would like to send the WiFi signal strength as percentage via mqtt. What is the conversion factor of RSSI value to percentage?

Please correct me if I am using a wrong method.
by hellraise007
Sat Oct 19, 2019 6:02 am
Forum: ESP32 Arduino
Topic: How to get current WiFi Status
Replies: 3
Views: 1485

Re: How to get current WiFi Status

lbernstone wrote:
Sat Oct 19, 2019 3:59 am
WiFi.getMode();

https://docs.espressif.com/projects/esp ... ifi_mode_t
What is WIFI_MODE_MAX & WIFI_MODE_NULL difference?
by hellraise007
Sat Oct 19, 2019 3:24 am
Forum: ESP32 Arduino
Topic: How to get current WiFi Status
Replies: 3
Views: 1485

How to get current WiFi Status

How do I ascertain what mode WiFi is on: OFF, AP, AP-STA or STA
by hellraise007
Wed Sep 04, 2019 7:02 pm
Forum: ESP32 Arduino
Topic: SSID and PASSWORD read from SPIFFS file contain newline
Replies: 2
Views: 957

SSID and PASSWORD read from SPIFFS file contain newline

#include "SPIFFS.h" #include <WiFi.h> void setup(){ File file; Serial.begin(115200); if(!SPIFFS.begin(true)){ Serial.println("An Error has occurred while mounting SPIFFS"); return; } file = SPIFFS.open("/test.txt", FILE_WRITE); if(!file){ Serial.println("There was an error opening the file for writ...
by hellraise007
Mon Aug 26, 2019 11:05 am
Forum: ESP32 Arduino
Topic: External wakeup pin detect issue
Replies: 4
Views: 1178

Re: External wakeup pin detect issue

What are all the conditions that can cause esp_sleep_get_ext1_wakeup_status() to return 0, other than woken up by another source. I have only ext1 wakeup enabled.
by hellraise007
Fri Aug 23, 2019 10:26 am
Forum: ESP32 Arduino
Topic: RTC_DATA_ATTR and struct
Replies: 3
Views: 1270

Re: RTC_DATA_ATTR and struct

Yes. Thanks for the reply. What is the correct syntax for this. This is illegal RTC_DATA_ATTR struct Button { const uint8_t PIN; volatile uint32_t numberKeyPresses; volatile bool pressed; }; struct Button { RTC_DATA_ATTR const uint8_t PIN; RTC_DATA_ATTR volatile uint32_t numberKeyPresses; RTC_DATA_...
by hellraise007
Thu Aug 22, 2019 9:18 am
Forum: ESP32 Arduino
Topic: RTC_DATA_ATTR and struct
Replies: 3
Views: 1270

RTC_DATA_ATTR and struct

Is it possible to store data under struct like the one below in RTC memory so I can retain the values of all the objects on wake up

Code: Select all

struct Button {
  const uint8_t PIN;
  volatile uint32_t numberKeyPresses;
  volatile bool pressed;
};

Go to advanced search