Search found 9 matches

by paddynoob
Wed Feb 24, 2021 5:57 pm
Forum: General Discussion
Topic: ESP32 uart event example not able to compile as CPP
Replies: 3
Views: 4350

Re: ESP32 uart event example not able to compile as CPP

Hello

thank you for your answer. I know c++ in not C and there are reasons I want to use c++ instead.
But I don't understand why there are warnings related to
enumeratuon value not handled

They occur even if I add them and even if there is a default case. From my knowledge this should work.
by paddynoob
Wed Feb 24, 2021 2:24 pm
Forum: General Discussion
Topic: ESP32 uart event example not able to compile as CPP
Replies: 3
Views: 4350

ESP32 uart event example not able to compile as CPP

Hello, I use uart events in one of my projects and was able to build it using c, but it fails when using cpp. I tried the same with the official example found here https://github.com/espressif/esp-idf/tree/master/examples/peripherals/uart/uart_events It compiles well if using it as is. But as soon a...
by paddynoob
Wed Feb 03, 2021 2:10 pm
Forum: Hardware
Topic: UART read until CR \n
Replies: 1
Views: 2866

UART read until CR \n

Hello, I use ESP32 as a bridge between Arduino based Robot and ROS2 on PC. Arduino provides sensor data of robot by sending data via UART to ESP32 ESP32 needs to read each single line and process/translate this message for ROS2. Currently, I read UART like this uart_config_t uart_config = { .baud_ra...
by paddynoob
Thu Oct 17, 2019 6:21 pm
Forum: Hardware
Topic: bare PCB with common pinout of Devkit V1
Replies: 1
Views: 3216

bare PCB with common pinout of Devkit V1

Hi there, for a battery powered solution, I want to switch from a ESP32 dev board (DOIT Devkit V1, 30 GPIO) so a bare ESP32 to save power. Because I don't want to rebuild the entire hardware (there is a PCB with all sensors and I can stack DevKit V1 on it), I'm looking for a bare PCB which provides ...
by paddynoob
Thu Oct 17, 2019 5:34 pm
Forum: Hardware
Topic: LDO for ESP32 DEVKIT V1
Replies: 2
Views: 8120

Re: LDO for ESP32 DEVKIT V1

Hi, because it is a battery powered solution, I want to save as much current as possible. Too bad that MCP1702 could not handle that high current. Now it runs with a MCP1826S-3302. It has a quiscent current of 120uA which is much higher than 2uA of 1702 but it can deliver up to 1A. I need to save so...
by paddynoob
Wed Oct 02, 2019 6:48 pm
Forum: Hardware
Topic: LDO for ESP32 DEVKIT V1
Replies: 2
Views: 8120

LDO for ESP32 DEVKIT V1

Hi everyone, I plan to use an ESP32 DEVKIT V1 (30 GPIO version) at a battery powered setup. It gets feed by 3x AA NiMh battery As power regulator, I use a MCP1702 LDO which converts battery voltage to 3.3. I added some electrolyte capacitors (220uF) at battery and at output of LDO. Also I use cerami...
by paddynoob
Thu Sep 26, 2019 7:16 am
Forum: ESP32 Arduino
Topic: [SOLVED]ULP count example with Arduino IDE
Replies: 3
Views: 10240

Re: [SOLVED]ULP count example with Arduino IDE

I want to share my code again as a working example. After copyig the example into a fresh project, I was able to get it working. The only difference I see so far is this line. In my first, non-working code it was err = ulp_run((&ulp_entry - RTC_SLOW_MEM)/ sizeof(uint32_t)); now it looks like this er...
by paddynoob
Tue Sep 24, 2019 6:55 pm
Forum: ESP32 Arduino
Topic: [SOLVED]ULP count example with Arduino IDE
Replies: 3
Views: 10240

[SOLVED]ULP count example with Arduino IDE

Hello to all, I need a counter while ESP is in deep sleep. I've found the ULP count example, which seems to work with ESP-IDF (not tested by me). I tried to convert this example to Arduino IDE, because I'm more familiar with that. Thanks to duff2013, we can upload ULP code with Arduino IDE. I've tes...
by paddynoob
Tue Sep 24, 2019 10:34 am
Forum: General Discussion
Topic: Pulse Counting and sleeping
Replies: 20
Views: 35692

Re: Pulse Counting and sleeping

Hi there, sorry for bringing up this old thread, but it fits best to my question. Thanks to you guys to provide ULP pulse count example. I tried it out and it worked like expected. However, I need to count two GPIOs instead of just one meaning I need to count two distinct inputs while ESP32 sleeps. ...