EasyManuals Logo

SunFounder ESP32 User Manual

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #542 background imageLoading...
Page #542 background image
SunFounder ESP32 Starter Kit
4.13.2 You Will Learn
• Fill the sprite with colors
• Touch between the sprites
4.13.3 Build the Circuit
A photoresistor or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with
increasing incident light intensity.
Build the circuit according to the following diagram.
Connect one end of the photoresistor to 5V, the other end to pin35, and connect a 10K resistor in series with GND at
this end.
So when the light intensity increases, the resistance of a photoresistor decreases, the voltage division of the 10K resistor
increases, and the value obtained by pin35 becomes larger.
536 Chapter 4. Play with Scratch

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish