Skip to content

blinking ESP32 led while core and ULP are asleep most of the time

Notifications You must be signed in to change notification settings

joba-1/Blink-ULP-Sleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ULP blink and sleep

Me trying to make an esp32 blink via ULP and even ULP sleeping most of the time.

Build - Flash - Monitor

. ~/esp32/env.sh
  • Fetch and build this example, flash it and open serial console (adapt ESPPORT and ESPBAUD to your setup. Can be configured in sdkconfig file)
mkdir /tmp/blink-$$ && \
cd /tmp/blink-$$ && \
git clone https://github.com/joba-1/Blink-ULP-Sleep.git && \
cd Blink-ULP-Sleep && \
make -j8 flash monitor ESPPORT=/dev/ttyUSB0 ESPBAUD=115200

A led connected to gnd (kathode) and gpio2 (anode) should blink now. After 10s the blink pattern changes when main core goes to sleep

Exit the monitor with [Ctrl]-] (which is [Strg]-[Alt-Gr]-] on german keyboard)

JoBa1

About

blinking ESP32 led while core and ULP are asleep most of the time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages