Skip to content

Using the FreeRTOS Queue, read the ADC data from the voltage divider with a photoresistor and control the LED with PWM.

Notifications You must be signed in to change notification settings

jazz-2/ESP32-RTOS-Queue-VoltageDivider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

github.com/jazz-2

ESP32 with FreeRTOS Queue and Voltage Divider

Demonstration

Changing the ambient brightness changes the brightness of the LED

photoresistor


Description:

Using ESP32 with Arduino Framework the FreeRTOS Queue pass struct Sensor{}; data between the tasks. Choose the amount of samples samplesAmount and read the ADC data from the voltage divider with a photoresistor. Make calculations and control the LED with PWM. Calculate the desired resistors ratio values for the voltage divider with VoltageDividerCalc.ods.

About

Using the FreeRTOS Queue, read the ADC data from the voltage divider with a photoresistor and control the LED with PWM.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages