Search found 7 matches

by kumart
Tue Feb 13, 2018 6:14 pm
Forum: General Discussion
Topic: ESP32 & Shift register
Replies: 6
Views: 13200

Re: ESP32 & Shift register

Hey guys Thanks for your answers! Yes, i know that 74HC595 is not an SPI-device, but i heard that SPI can be used to create a bitstream for the shift register. @kolban: I would like to trigger a sound module with buttons and via Webserver-option. To select the sound which I want to play I must trigg...
by kumart
Fri Feb 02, 2018 5:29 pm
Forum: General Discussion
Topic: ESP32 & Shift register
Replies: 6
Views: 13200

ESP32 & Shift register

Hey guys

I would like to connect a 74HC595 shift register to my ESP32 Thing.
Has anyone of you had any experience with ESP32 and a shift register? Is it possible to connect it via HSPI or VSPI?

Thanks for your help.
by kumart
Mon Dec 25, 2017 8:18 pm
Forum: General Discussion
Topic: ESP32 - Pin14 LED
Replies: 5
Views: 13438

Re: ESP32 - Pin14 LED

Wow, thank you for your efforts!
You were right! It works if i set gpio_14 to low and enable hold before going to deep sleep. After waking up, i have to disable the hold so that the LED works again.
That's fine for me, thanks a lot!
by kumart
Mon Dec 25, 2017 6:34 pm
Forum: General Discussion
Topic: ESP32 - Pin14 LED
Replies: 5
Views: 13438

Re: ESP32 - Pin14 LED

Thanks a lot, urbanze. But that does not seem to be the case...
I added the following code to my main:
rtc_gpio_force_hold_dis_all();
This should disable rtc hold on any rtc-pins. But nothing changed. Any other ideas?
According to the schematic, Pin 14 is also HSPI_CLK. What about this?
by kumart
Sun Dec 24, 2017 2:34 pm
Forum: General Discussion
Topic: ESP32 - Pin14 LED
Replies: 5
Views: 13438

ESP32 - Pin14 LED

Hey guys I am using ESP32 with esp-idf on a ESP32 Thing from Sparkfun. I have a rgb-LED on pins 12-14. Now i have the Problem that during deep sleep the red led (pin 14) is always slightly shining. Pin 14 is configured as GPIO --> PIN_FUNC_SELECT(GPIO_PIN_MUX_REG[14], PIN_FUNC_GPIO); Why is this the...
by kumart
Fri Dec 01, 2017 8:50 am
Forum: General Discussion
Topic: ESP32 deep sleep
Replies: 3
Views: 5583

Re: ESP32 deep sleep

Thanks for your Reply. The important thing is that i don't loose my time value when ESP32 goes to sleep. I'm using the following code in main: struct timeval current_time; current_time.tv_sec = 1511791969; current_time.tv_usec = 0; settimeofday(¤t_time, NULL); //to set the current date/time va...
by kumart
Fri Dec 01, 2017 7:23 am
Forum: General Discussion
Topic: ESP32 deep sleep
Replies: 3
Views: 5583

ESP32 deep sleep

Hey guys I am using ESP32 with esp-idf on a ESP32 Thing from Sparkfun. I‘d like to put the ESP32 into deep sleep when the device is not used, to save energy. The RTC should continue. Once that worked well, but now if I wake it up with a special GPIO Pin, it makes a reset and I can‘t find the reason ...