Logo

FNK0082

  • C language
    • Important Information
      • Getting Started
      • Get Support and Offer Input
      • Safety and Precautions
      • About Freenove
      • Copyright
    • Preface
      • ESP32-S3 WROOM
      • Extension board of the ESP32-S3 WROOM
      • CH343 (Importance)
        • Windows
          • Check whether CH343 has been installed
          • Installing CH343
        • MAC
      • Programming Software
      • Environment Configuration
      • Notes for GPIO
        • Strapping Pin
        • PSRAM Pin
        • SDcard Pin
        • USB Pin
        • Cam Pin
    • 0. Chapter LED
      • Project 0.1 Blink
        • Component List
          • Power
        • Sketch
          • Option 1:
          • Option 2:
          • Sketch_01.1_Blink
            • Reset()
          • Reference
    • 1. Chapter LED
      • 1.1. Project Blink
        • 1.1.1. Component List
        • 1.1.2. Component knowledge
          • 1.1.2.1. LED
          • 1.1.2.2. Resistor
          • 1.1.2.3. Breadboard
          • 1.1.2.4. Power
        • 1.1.3. Circuit
        • 1.1.4. Sketch
          • 1.1.4.1. Sketch_Blink
    • 2. Chapter Button & LED
      • 2.1. Project Button & LED
        • 2.1.1. Component List
        • 2.1.2. Component knowledge
          • 2.1.2.1. Push button
        • 2.1.3. Circuit
        • 2.1.4. Sketch
          • 2.1.4.1. Sketch_ButtonAndLed
          • 2.1.4.2. Reference
      • 2.2. Project MINI table lamp
        • 2.2.1. Debounce for Push Button
        • 2.2.2. Sketch
          • 2.2.2.1. Sketch_Tablelamp
    • 3. Chapter LED Bar
      • 3.1. Project Flowing Light
        • 3.1.1. Component knowledge
          • 3.1.1.1. LED bar
        • 3.1.2. Circuit
        • 3.1.3. Sketch
          • 3.1.3.1. Sketch_FlowingLight
    • 4. Chapter Analog & PWM
      • 4.1. Project Breathing LED
        • 4.1.1. Component List
        • 4.1.2. Related knowledge
          • 4.1.2.1. Analog & Digital
          • 4.1.2.2. PWM
          • 4.1.2.3. ESP32-S3 and PWM
        • 4.1.3. Circuit
        • 4.1.4. Sketch
          • 4.1.4.1. Sketch_BreathingLight
      • 4.2. Project Meteor Flowing Light
        • 4.2.1. Component List
        • 4.2.2. Circuit
        • 4.2.3. Sketch
          • 4.2.3.1. Sketch_FlowingLight2
    • 5. Chapter RGB LED
      • 5.1. Project Random Color Light
        • 5.1.1. Component List
        • 5.1.2. Related knowledge
        • 5.1.3. Circuit
        • 5.1.4. Sketch
          • 5.1.4.1. Sketch_ColorfulLight
      • 5.2. Project Gradient Color Light
        • 5.2.1. Code
          • 5.2.1.1. Sketch_05.2_SoftColorfulLight
    • 6. Chapter LEDPixel
      • 6.1. Project LEDPixel
        • 6.1.1. Component List
        • 6.1.2. Related knowledge
          • 6.1.2.1. Freenove 8 RGB LED Module
          • 6.1.2.2. Pin description:
        • 6.1.3. Circuit
        • 6.1.4. Sketch
          • 6.1.4.1. How to install the library
          • 6.1.4.2. Sketch_LEDPixel
          • 6.1.4.3. Reference
            • Freenove_ESP32_WS2812()
      • 6.2. Project Rainbow Light
        • 6.2.1. Sketch
          • 6.2.1.1. Sketch_RainbowLight
    • 7. Chapter Buzzer
      • 7.1. Project Doorbell
        • 7.1.1. Component List
        • 7.1.2. Component knowledge
          • 7.1.2.1. Buzzer
          • 7.1.2.2. Transistor
        • 7.1.3. Sketch
          • 7.1.3.1. Sketch_Doorbell
      • 7.2. Project Alertor
        • 7.2.1. Sketch
          • 7.2.1.1. Sketch_Alertor
          • 7.2.1.2. Reference
    • 8. Chapter Serial Communication
      • 8.1. Project Serial Print
        • 8.1.1. Component List
        • 8.1.2. Related knowledge
          • 8.1.2.1. Serial communication
          • 8.1.2.2. Serial port on ESP32-S3
        • 8.1.3. Circuit
        • 8.1.4. Sketch
          • 8.1.4.1. Sketch_SerialPrinter
          • 8.1.4.2. Reference
      • 8.2. Project Serial Read and Write
        • 8.2.1. Sketch
          • 8.2.1.1. Sketch_SerialRW
          • 8.2.1.2. Reference
    • 9. Chapter AD Converter
      • 9.1. Project Read the Voltage of Potentiometer
        • 9.1.1. Component List
        • 9.1.2. Related knowledge
          • 9.1.2.1. ADC
          • 9.1.2.2. ADC on ESP32-S3
        • 9.1.3. Component knowledge
          • 9.1.3.1. Potentiometer
          • 9.1.3.2. Rotary potentiometer
        • 9.1.4. Circuit
        • 9.1.5. Sketch
          • 9.1.5.1. Sketch_ADC
          • 9.1.5.2. Reference
    • 10. Chapter Touch Sensor
      • 10.1. Project Read Touch Sensor
        • 10.1.1. Component List
        • 10.1.2. Related knowledge
          • 10.1.2.1. Touch sensor
        • 10.1.3. Circuit
        • 10.1.4. Sketch
          • 10.1.4.1. Sketch_TouchRead
          • 10.1.4.2. Reference
      • 10.2. Project Touch Lamp
        • 10.2.1. Component List
        • 10.2.2. Circuit
        • 10.2.3. Sketch
          • 10.2.3.1. Sketch_TouchLamp
    • 11. Chapter Potentiometer & LED
      • 11.1. Project Soft Light
        • 11.1.1. Component List
        • 11.1.2. Circuit
        • 11.1.3. Sketch
          • 11.1.3.1. Sketch_Softlight
      • 11.2. Project Soft Colorful Light
        • 11.2.1. Component List
        • 11.2.2. Circuit
        • 11.2.3. Sketch
          • 11.2.3.1. Sketch_SoftColorfulLight
      • 11.3. Project Soft Rainbow Light
        • 11.3.1. Component List
        • 11.3.2. Circuit
        • 11.3.3. Sketch
          • 11.3.3.1. Sketch_Soft_Rainbow_Light
    • 12. Chapter Photoresistor & LED
      • 12.1. Project NightLamp
        • 12.1.1. Component List
        • 12.1.2. Component knowledge
          • 12.1.2.1. Photoresistor
        • 12.1.3. Circuit
        • 12.1.4. Sketch
          • 12.1.4.1. Sketch_Nightlamp
          • 12.1.4.2. Reference
            • constrain()
    • 13. Chapter Thermistor
      • 13.1. Project Thermometer
        • 13.1.1. Component List
        • 13.1.2. Component knowledge
          • 13.1.2.1. Thermistor
        • 13.1.3. Circuit
        • 13.1.4. Sketch
          • 13.1.4.1. Sketch_Thermometer
    • 14. Chapter Joystick
      • 14.1. Project Joystick
        • 14.1.1. Component List
        • 14.1.2. Component knowledge
          • 14.1.2.1. Joystick
        • 14.1.3. Circuit
        • 14.1.4. Sketch
          • 14.1.4.1. Sketch_Joystick
    • 15. Chapter 74HC595 & LED Bar Graph
      • 15.1. Project Flowing Water Light
        • 15.1.1. Component List
        • 15.1.2. Related knowledge
          • 15.1.2.1. 74HC595
        • 15.1.3. Circuit
        • 15.1.4. Sketch
          • 15.1.4.1. Sketch_FlowingLight2
          • 15.1.4.2. Reference
    • 16. Chapter 74HC595 & 7-Segment Display
      • 16.1. Project 7-Segment Display.
        • 16.1.1. Component List
        • 16.1.2. Component knowledge
          • 16.1.2.1. 7-segment display
        • 16.1.3. Circuit
        • 16.1.4. Sketch
          • 16.1.4.1. Sketch_7_Segment_Display
      • 16.2. Project 4-Digit 7-Segment Display
        • 16.2.1. Component List
        • 16.2.2. Component knowledge
          • 16.2.2.1. 4 Digit 7-Segment Display
        • 16.2.3. Circuit
        • 16.2.4. Sketch
          • 16.2.4.1. Sketch_4_Dight_7-Segment_Display
    • 17. Chapter 74HC595 & LED Matrix
      • 17.1. Project LED Matrix
        • 17.1.1. Component List
        • 17.1.2. Component knowledge
          • 17.1.2.1. LED Matrix
        • 17.1.3. Circuit
        • 17.1.4. Sketch
          • 17.1.4.1. Sketch_LED_Matrix
    • 18. Chapter Relay & Motor
      • 18.1. Project Relay & Motor
        • 18.1.1. Component List
        • 18.1.2. Component knowledge
          • 18.1.2.1. Relay
          • 18.1.2.2. Inductor
          • 18.1.2.3. Motor
        • 18.1.3. Circuit
        • 18.1.4. Sketch
          • 18.1.4.1. Sketch_Control_Motor_by_Relay
    • 19. Chapter Motor & Driver
      • 19.1. Project Control Motor with Potentiometer
        • 19.1.1. Component List
        • 19.1.2. Component knowledge
          • 19.1.2.1. L293D
        • 19.1.3. Circuit
        • 19.1.4. Sketch
          • 19.1.4.1. Sketch_Control_Motor_by_L293D
    • 20. Chapter Servo
      • 20.1. Project Servo Sweep
        • 20.1.1. Component List
        • 20.1.2. Component knowledge
          • 20.1.2.1. Servo
        • 20.1.3. Circuit
        • 20.1.4. Sketch
          • 20.1.4.1. Sketch_Servo_Sweep
      • 20.2. Project Servo Knop
        • 20.2.1. Component List
        • 20.2.2. Circuit
        • 20.2.3. Sketch
          • 20.2.3.1. Sketch_Servo_Sweep
    • 21. Chapter Stepper Motor
      • 21.1. Project Stepper Motor
        • 21.1.1. Component List
        • 21.1.2. Component knowledge
          • 21.1.2.1. Stepper Motor
          • 21.1.2.2. ULN2003 Stepper motor driver
        • 21.1.3. Circuit
        • 21.1.4. Sketch
          • 21.1.4.1. Sketch_Drive_Stepper_Motor
    • 22. Chapter LCD1602
      • 22.1. Project LCD1602
        • 22.1.1. Component List
        • 22.1.2. Component knowledge
          • 22.1.2.1. I2C communication
        • 22.1.3. LCD1602 communication
        • 22.1.4. Circuit
        • 22.1.5. Sketch
          • 22.1.5.1. How to install the library
          • 22.1.5.2. Sketch_Display_the_string_on_LCD1602
          • 22.1.5.3. Reference
    • 23. Chapter Ultrasonic Ranging
      • 23.1. Project Ultrasonic Ranging
        • 23.1.1. Component List
        • 23.1.2. Component Knowledge
        • 23.1.3. Circuit
        • 23.1.4. Sketch
          • 23.1.4.1. Sketch_Ultrasonic_Ranging
      • 23.2. Project Ultrasonic Ranging
        • 23.2.1. Component List and Circuit
        • 23.2.2. Sketch
          • 23.2.2.1. How to install the library
          • 23.2.2.2. Sketch_Ultrasonic_Ranging
          • 23.2.2.3. Reference
    • 24. Chapter Matrix Keypad
      • 24.1. Project Matrix Keypad
        • 24.1.1. Component List
        • 24.1.2. Component knowledge
          • 24.1.2.1. 4x4 Matrix Keypad
        • 24.1.3. Circuit
        • 24.1.4. Sketch
          • 24.1.4.1. How to install the library
          • 24.1.4.2. Sketch_Get_Input_Characters
          • 24.1.4.3. Reference
      • 24.2. Project Keypad Door
        • 24.2.1. Component List
        • 24.2.2. Circuit
        • 24.2.3. Sketch
          • 24.2.3.1. Sketch_Keypad_Door
    • 25. Chapter Infrared Remote
      • 25.1. Project Infrared Remote Control
        • 25.1.1. Component List
        • 25.1.2. Component knowledge
          • 25.1.2.1. Infrared Remote
          • 25.1.2.2. Infrared receiver
        • 25.1.3. Circuit
        • 25.1.4. Sketch
          • 25.1.4.1. How to install the library
          • 25.1.4.2. Sketch_Infrared_Remote_Control
          • 25.1.4.3. Reference
      • 25.2. Project Control LED through Infrared Remote
        • 25.2.1. Component List
        • 25.2.2. Circuit
        • 25.2.3. Sketch
          • 25.2.3.1. Sketch_Control_LED_through_Infrared_Remote
    • 26. Chapter Hygrothermograph DHT11
      • 26.1. Project Hygrothermograph
        • 26.1.1. Component List
        • 26.1.2. Component knowledge
        • 26.1.3. Circuit
        • 26.1.4. Sketch
          • 26.1.4.1. How to install the library
          • 26.1.4.2. Sketch_Temperature_and_Humidity_Sensor
          • 26.1.4.3. Reference
      • 26.2. Project Hygrothermograph
        • 26.2.1. Component List
        • 26.2.2. Circuit
        • 26.2.3. Sketch
          • 26.2.3.1. Sketch_Temperature_and_Humidity_Sensor
    • 27. Chapter Infrared Motion Sensor
      • 27.1. Project Infrared Motion Detector with LED Indicator
        • 27.1.1. Component List
        • 27.1.2. Component knowledge
        • 27.1.3. Circuit
        • 27.1.4. Sketch
          • 27.1.4.1. Sketch_Infrared_Motion_Sensor
    • 28. Chapter Attitude Sensor MPU6050
      • 28.1. Project Read a MPU6050 Sensor Module
        • 28.1.1. Component List
        • 28.1.2. Component knowledge
          • 28.1.2.1. MPU6050
        • 28.1.3. Circuit
        • 28.1.4. Sketch
          • 28.1.4.1. How to install the library
          • 28.1.4.2. Sketch_Acceleration_Detection
          • 28.1.4.3. Reference
    • 29. Chapter Bluetooth
      • 29.1. Project Bluetooth Low Energy Data Passthrough
        • 29.1.1. Component List
        • 29.1.2. Component knowledge
          • 29.1.2.1. Master mode
          • 29.1.2.2. Slave mode
        • 29.1.3. Circuit
        • 29.1.4. Sketch
          • 29.1.4.1. Lightblue
      • 29.2. Project Bluetooth Control LED
        • 29.2.1. Component List
        • 29.2.2. Circuit
        • 29.2.3. Sketch
          • 29.2.3.1. Sketch_Bluetooth_Control_LED
          • 29.2.3.2. Reference
    • 30. Chapter Read and Write the SDcard
      • 30.1. Project SDMMC Test
        • 30.1.1. Component List
        • 30.1.2. Component knowledge
          • 30.1.2.1. SD card read and write method
        • 30.1.3. Format SD card
          • 30.1.3.1. Windows
          • 30.1.3.2. MAC
        • 30.1.4. Circuit
        • 30.1.5. Sketch
          • 30.1.5.1. Sketch_SDMMC_Test
    • 31. Chapter Play SD card music
      • 31.1. Project SDMMC Music
        • 31.1.1. Component List
        • 31.1.2. Circuit
        • 31.1.3. Sketch
          • 31.1.3.1. How to install the library
          • 31.1.3.2. Sketch_PlayMP3FromSD
      • 31.2. Project SDMMC Music
        • 31.2.1. Component List
        • 31.2.2. Component knowledge
        • 31.2.3. Circuit
        • 31.2.4. Sketch
          • 31.2.4.1. How to install the library
          • 31.2.4.2. Sketch_SDMMC_Music
    • 32. Chapter WiFi Working Modes
      • 32.1. Project Station mode
        • 32.1.1. Component List
        • 32.1.2. Component knowledge
          • 32.1.2.1. Station mode
        • 32.1.3. Circuit
        • 32.1.4. Sketch
          • 32.1.4.1. Sketch_Station_mode
          • 32.1.4.2. Reference
      • 32.2. Project AP mode
        • 32.2.1. Component List & Circuit
        • 32.2.2. Component knowledge
          • 32.2.2.1. AP mode
        • 32.2.3. Circuit
        • 32.2.4. Sketch
          • 32.2.4.1. Sketch_AP_mode
          • 32.2.4.2. Reference
      • 32.3. Project AP+Station mode
        • 32.3.1. Component List
        • 32.3.2. Component knowledge
          • 32.3.2.1. AP+Station mode
        • 32.3.3. Circuit
        • 32.3.4. Sketch
          • 32.3.4.1. Sketch_AP_Station_mode
    • 33. Chapter TCP/IP
      • 33.1. Project As Client
        • 33.1.1. Component List
        • 33.1.2. Component knowledge
          • 33.1.2.1. TCP connection
          • 33.1.2.2. Install Processing
          • 33.1.2.3. Use Server mode for communication
        • 33.1.3. Circuit
        • 33.1.4. Sketch
          • 33.1.4.1. Sketch_As_Client
          • 33.1.4.2. Reference
      • 33.2. Project As Server
        • 33.2.1. Component List
        • 33.2.2. Circuit
        • 33.2.3. Sketch
          • 33.2.3.1. Sketch_As_Server
          • 33.2.3.2. Reference
    • 34. Chapter Camera Web Server
      • 34.1. Project Camera Web Server
        • 34.1.1. Component List
        • 34.1.2. Circuit
        • 34.1.3. Sketch
          • 34.1.3.1. Sketch_As_CameraWebServer
          • 34.1.3.2. Reference
      • 34.2. Project Video Web Server
        • 34.2.1. Component List
        • 34.2.2. Circuit
        • 34.2.3. Sketch
          • 34.2.3.1. Sketch_As_VideoWebServer
      • 34.3. Project Camera and SDcard
        • 34.3.1. Component List
        • 34.3.2. Circuit
        • 34.3.3. Sketch
          • 34.3.3.1. How to install the library
          • 34.3.3.2. Sketch_Camera_SDcard
    • 35. Chapter Camera Tcp Server
      • 35.1. Project Camera Tcp Server
        • 35.1.1. Component List
        • 35.1.2. Install Freenove app
          • 35.1.2.1. Method 1
          • 35.1.2.2. Method 2
          • 35.1.2.3. Method 3
          • 35.1.2.4. Menu
          • 35.1.2.5. Freenove 4WD Car for Raspberry Pi
        • 35.1.3. Circuit
        • 35.1.4. Sketch
          • 35.1.4.1. Method 1:
          • 35.1.4.2. Method 2:
          • 35.1.4.3. Sketch_Camera_Tcp_Server
    • 36. Chapter USB
      • 36.1. Project USB Serial Example
        • 36.1.1. Component List
        • 36.1.2. Power
        • 36.1.3. Component knowledge
          • 36.1.3.1. Difference between USB-OTG and USB-UART Interfaces
          • 36.1.3.2. Enabling USB-OTG
        • 36.1.4. Sketch
          • 36.1.4.1. Sketch USBSerial
      • 36.2. Project USB Mouse Example
        • 36.2.1. Component List
          • 36.2.1.1. Power
        • 36.2.2. Circuit
        • 36.2.3. Sketch
          • 36.2.3.1. Sketch_MouseControl
      • 36.3. Project USB Keypad Example
        • 36.3.1. Component List
          • 36.3.1.1. Power
        • 36.3.2. Circuit
        • 36.3.3. Sketch
          • 36.3.3.1. Sketch_KeyboardControl
      • 36.4. Project USB Control Device Example
        • 36.4.1. Component List
          • 36.4.1.1. Power
        • 36.4.2. Circuit
        • 36.4.3. Sketch
          • 36.4.3.1. Sketch_ConsumerControl
    • 37. Chapter Soldering Circuit Board
      • 37.1. Project Soldering a Buzzer
        • 37.1.1. Component List
        • 37.1.2. Circuit
        • 37.1.3. Soldering the Circuit
        • 37.1.4. Testing circuit
      • 37.2. Project Soldering a Flowing Water Light
        • 37.2.1. Component List
        • 37.2.2. Circuit
        • 37.2.3. Soldering the Circuit
        • 37.2.4. Connecting the Circuit
        • 37.2.5. Sketch
    • What’s next?(82)
    • End of the Tutorial
  • Python language
    • Important Information
      • Getting Started
      • Get Support and Offer Input
      • Safety and Precautions
      • About Freenove
      • Copyright
    • Remove the Chips
    • Preface
      • ESP32-S3 WROOM
      • Extension board of the ESP32-S3 WROOM
      • CH343 (Importance)
        • Windows
          • Check whether CH343 has been installed
          • Installing CH343
        • MAC
      • Programming Software
        • Downloading Thonny
        • Installing on Windows
      • Basic Configuration of Thonny
      • Burning Micropython Firmware (Important)
        • Downloading Micropython Firmware
        • Install python3
        • Burning a Micropython Firmware
          • Window
          • Mac
      • Testing codes (Important)
        • Testing Shell Command
        • Running Online
        • Running Offline(Importance)
      • Thonny Common Operation
        • Uploading Code to ESP32S3
        • Downloading Code to Computer
        • Deleting Files from ESP32S3’s Root Directory
        • Deleting Files from your Computer Directory
        • Creating and Saving the code
      • Notes for GPIO
        • Strapping Pin
        • PSRAM Pin
        • SDcard Pin
        • USB Pin
        • Cam Pin
    • 1. Chapter LED (Important)
      • 1.1. Project Blink
        • 1.1.1. Component List
          • 1.1.1.1. Power
        • 1.1.2. Code
          • 1.1.2.1. Blink
          • 1.1.2.2. Uploading code to ESP32S3
          • 1.1.2.3. How to import python files
          • 1.1.2.4. Reference
      • 1.2. Project Blink
        • 1.2.1. Component List
        • 1.2.2. Component knowledge
          • 1.2.2.1. LED
          • 1.2.2.2. Resistor
          • 1.2.2.3. Breadboard
          • 1.2.2.4. Power
        • 1.2.3. Circuit
        • 1.2.4. Code
          • 1.2.4.1. Blink
          • 1.2.4.2. Uploading code to ESP32S3
    • 2. Chapter Button & LED
      • 2.1. Project Button & LED
        • 2.1.1. Component List
        • 2.1.2. Component knowledge
          • 2.1.2.1. Push button
        • 2.1.3. Circuit
        • 2.1.4. Code
          • 2.1.4.1. ButtonAndLed
      • 2.2. Project MINI table lamp
        • 2.2.1. Debounce for Push Button
        • 2.2.2. Code
          • 2.2.2.1. Tablelamp
          • 2.2.2.2. Upload code to ESP32S3
    • 3. Chapter LED Bar
      • 3.1. Project Flowing Light
        • 3.1.1. Component knowledge
          • 3.1.1.1. LED bar
        • 3.1.2. Circuit
        • 3.1.3. Code
          • 3.1.3.1. FlowingLight
          • 3.1.3.2. Reference
    • 4. Chapter Analog & PWM
      • 4.1. Project Breathing LED
        • 4.1.1. Component List
        • 4.1.2. Related knowledge
          • 4.1.2.1. Analog & Digital
          • 4.1.2.2. PWM
          • 4.1.2.3. ESP32-S3 and PWM
        • 4.1.3. Circuit
        • 4.1.4. Code
          • 4.1.4.1. BreatheLight
          • 4.1.4.2. Reference
      • 4.2. Project Meteor Flowing Light
        • 4.2.1. Component List
        • 4.2.2. Circuit
        • 4.2.3. Code
          • 4.2.3.1. FlowingLight
          • 4.2.3.2. How to import a custom python module
    • 5. Chapter RGB LED
      • 5.1. Project Random Color Light
        • 5.1.1. Component List
        • 5.1.2. Related knowledge
        • 5.1.3. Circuit
        • 5.1.4. Code
          • 5.1.4.1. RandomColorLight
          • 5.1.4.2. Reference
      • 5.2. Project Gradient Color Light
        • 5.2.1. Code
          • 5.2.1.1. GradientColorLight
    • 6. Chapter LEDPixel
      • 6.1. Project LEDPixel
        • 6.1.1. Component List
        • 6.1.2. Related knowledge
          • 6.1.2.1. Freenove 8 RGB LED Module
          • 6.1.2.2. Pin description:
        • 6.1.3. Circuit
        • 6.1.4. Code
          • 6.1.4.1. Neopixel
          • 6.1.4.2. Reference
      • 6.2. Project Rainbow Light
        • 6.2.1. Code
          • 6.2.1.1. Rainbow_light
    • 7. Chapter Buzzer
      • 7.1. Project Doorbell
        • 7.1.1. Component List
        • 7.1.2. Component knowledge
          • 7.1.2.1. Buzzer
          • 7.1.2.2. Transistor
        • 7.1.3. Code
          • 7.1.3.1. 07.1_Doorbell
      • 7.2. Project Alertor
        • 7.2.1. Code
          • 7.2.1.1. Alertor
          • 7.2.1.2. Reference
    • 8. Chapter Serial Communication
      • 8.1. Project Serial Print
        • 8.1.1. Component List
        • 8.1.2. Related knowledge
          • 8.1.2.1. Serial communication
          • 8.1.2.2. Serial port on ESP32-S3
        • 8.1.3. Circuit
        • 8.1.4. Code
          • 8.1.4.1. 08.1_Serial_Print
          • 8.1.4.2. Reference
      • 8.2. Project Serial Read and Write
        • 8.2.1. Code
          • 8.2.1.1. Serial_Read_and_Write
    • 9. Chapter AD Converter
      • 9.1. Project Read the Voltage of Potentiometer
        • 9.1.1. Component List
        • 9.1.2. Related knowledge
          • 9.1.2.1. ADC
          • 9.1.2.2. ADC on ESP32-S3
        • 9.1.3. Component knowledge
          • 9.1.3.1. Potentiometer
          • 9.1.3.2. Rotary potentiometer
        • 9.1.4. Circuit
        • 9.1.5. Code
          • 9.1.5.1. AnalogRead
          • 9.1.5.2. Reference
    • 10. Chapter Potentiometer & LED
      • 10.1. Project Soft Light
        • 10.1.1. Component List
        • 10.1.2. Circuit
        • 10.1.3. Code
          • 10.1.3.1. Soft_LED
      • 10.2. Project Soft Colorful Light
        • 10.2.1. Component List
        • 10.2.2. Circuit
        • 10.2.3. Code
          • 10.2.3.1. Soft_Colorful_Light
      • 10.3. Project Soft Rainbow Light
        • 10.3.1. Component List
        • 10.3.2. Circuit
        • 10.3.3. Code
          • 10.3.3.1. Soft_Rainbow_Light
    • 11. Chapter Photoresistor & LED
      • 11.1. Project NightLamp
        • 11.1.1. Component List
        • 11.1.2. Component knowledge
          • 11.1.2.1. Photoresistor
        • 11.1.3. Circuit
        • 11.1.4. Code
          • 11.1.4.1. Nightlamp
    • 12. Chapter Thermistor
      • 12.1. Project Thermometer
        • 12.1.1. Component List
        • 12.1.2. Component knowledge
          • 12.1.2.1. Thermistor
        • 12.1.3. Circuit
        • 12.1.4. Code
          • 12.1.4.1. Thermometer
    • 13. Chapter Joystick
      • 13.1. Project Joystick
        • 13.1.1. Component List
        • 13.1.2. Component knowledge
          • 13.1.2.1. Joystick
        • 13.1.3. Circuit
        • 13.1.4. Code
          • 13.1.4.1. 13.1_Joystick
    • 14. Chapter 74HC595 & LED Bar Graph
      • 14.1. Project Flowing Water Light
        • 14.1.1. Component List
        • 14.1.2. Related knowledge
          • 14.1.2.1. 74HC595
        • 14.1.3. Circuit
        • 14.1.4. Code
          • 14.1.4.1. Flowing_Water_Light
          • 14.1.4.2. Reference
    • 15. Chapter 74HC595 & 7-Segment Display
      • 15.1. Project 7-Segment Display.
        • 15.1.1. Component List
        • 15.1.2. Component knowledge
          • 15.1.2.1. 7-segment display
        • 15.1.3. Circuit
        • 15.1.4. Code
          • 15.1.4.1. 74HC595_and_7_segment_display
      • 15.2. Project 4-Digit 7-Segment Display
        • 15.2.1. Component List
        • 15.2.2. Component knowledge
          • 15.2.2.1. 4 Digit 7-Segment Display
        • 15.2.3. Circuit
        • 15.2.4. Code
          • 15.2.4.1. 4_Digit_7_Segment_Display
    • 16. Chapter 74HC595 & LED Matrix
      • 16.1. Project LED Matrix
        • 16.1.1. Component List
        • 16.1.2. Component knowledge
          • 16.1.2.1. LED Matrix
        • 16.1.3. Circuit
        • 16.1.4. Code
          • 16.1.4.1. 16.1_LED_Matrix
          • 16.1.4.2. Reference
    • 17. Chapter Relay & Motor
      • 17.1. Project Relay & Motor
        • 17.1.1. Component List
        • 17.1.2. Component knowledge
          • 17.1.2.1. Relay
          • 17.1.2.2. Inductor
          • 17.1.2.3. Motor
        • 17.1.3. Circuit
        • 17.1.4. Code
          • 17.1.4.1. Relay_And_Motor
    • 18. Chapter Motor & Driver
      • 18.1. Project Control Motor with Potentiometer
        • 18.1.1. Component List
        • 18.1.2. Component knowledge
          • 18.1.2.1. L293D
        • 18.1.3. Circuit
        • 18.1.4. Code
          • 18.1.4.1. Motor_And_Driver
    • 19. Chapter Servo
      • 19.1. Project Servo Sweep
        • 19.1.1. Component List
        • 19.1.2. Component knowledge
          • 19.1.2.1. Servo
        • 19.1.3. Circuit
        • 19.1.4. Code
          • 19.1.4.1. Servo_Sweep
          • 19.1.4.2. Reference
      • 19.2. Project Servo Knop
        • 19.2.1. Component List
        • 19.2.2. Circuit
        • 19.2.3. Code
          • 19.2.3.1. Servo_Knop
    • 20. Chapter Stepper Motor
      • 20.1. Project Stepper Motor
        • 20.1.1. Component List
        • 20.1.2. Component knowledge
          • 20.1.2.1. Stepper Motor
          • 20.1.2.2. ULN2003 Stepper motor driver
        • 20.1.3. Circuit
        • 20.1.4. Code
          • 20.1.4.1. Stepping_Motor
          • 20.1.4.2. Reference
    • 21. Chapter LCD1602
      • 21.1. Project LCD1602
        • 21.1.1. Component List
        • 21.1.2. Component knowledge
          • 21.1.2.1. I2C communication
        • 21.1.3. LCD1602 communication
        • 21.1.4. Circuit
        • 21.1.5. Code
          • 21.1.5.1. I2C_LCD1602
          • 21.1.5.2. Reference
    • 22. Chapter Ultrasonic Ranging
      • 22.1. Project Ultrasonic Ranging
        • 22.1.1. Component List
        • 22.1.2. Component Knowledge
        • 22.1.3. Circuit
        • 22.1.4. Code
          • 22.1.4.1. 21.1_Ultrasonic_Ranging
      • 22.2. Project Ultrasonic Ranging
        • 22.2.1. Component List and Circuit
        • 22.2.2. Code
          • 22.2.2.1. Ultrasonic_Ranging
          • 22.2.2.2. Reference
    • 23. Chapter Matrix Keypad
      • 23.1. Project Matrix Keypad
        • 23.1.1. Component List
        • 23.1.2. Component knowledge
          • 23.1.2.1. 4x4 Matrix Keypad
        • 23.1.3. Circuit
        • 23.1.4. Code
          • 23.1.4.1. Matrix_Keypad
          • 23.1.4.2. Reference
      • 23.2. Project Keypad Door
        • 23.2.1. Component List
        • 23.2.2. Circuit
        • 23.2.3. Code
          • 23.2.3.1. Keypad_Door
    • 24. Chapter Infrared Remote
      • 24.1. Project Infrared Remote Control
        • 24.1.1. Component List
        • 24.1.2. Component knowledge
          • 24.1.2.1. Infrared Remote
          • 24.1.2.2. Infrared receiver
        • 24.1.3. Circuit
        • 24.1.4. Code
          • 24.1.4.1. Infrared_Remote
          • 24.1.4.2. Reference
      • 24.2. Project Control LED through Infrared Remote
        • 24.2.1. Component List
        • 24.2.2. Circuit
        • 24.2.3. Code
          • 24.2.3.1. Control_LED_through_Infrared_Remote
    • 25. Chapter Hygrothermograph DHT11
      • 25.1. Project Hygrothermograph
        • 25.1.1. Component List
        • 25.1.2. Component knowledge
        • 25.1.3. Circuit
        • 25.1.4. Code
          • 25.1.4.1. Hygrothermograph
          • 25.1.4.2. Reference
      • 25.2. Project Hygrothermograph
        • 25.2.1. Component List
        • 25.2.2. Circuit
        • 25.2.3. Code
          • 25.2.3.1. Hygrothermograph
    • 26. Chapter Infrared Motion Sensor
      • 26.1. Project Infrared Motion Detector with LED Indicator
        • 26.1.1. Component List
        • 26.1.2. Component knowledge
        • 26.1.3. Circuit
        • 26.1.4. Code
          • 26.1.4.1. Infrared_Motion_Detector
    • 27. Chapter Attitude Sensor MPU6050
      • 27.1. Project Read a MPU6050 Sensor Module
        • 27.1.1. Component List
        • 27.1.2. Component knowledge
          • 27.1.2.1. MPU6050
        • 27.1.3. Circuit
        • 27.1.4. Code
          • 27.1.4.1. MPU6050
          • 27.1.4.2. Reference
    • 28. Chapter Bluetooth
      • 28.1. Project Bluetooth Low Energy Data Passthrough
        • 28.1.1. Component List
        • 28.1.2. Component knowledge
          • 28.1.2.1. Master mode
          • 28.1.2.2. Slave mode
        • 28.1.3. Circuit
        • 28.1.4. Code
          • 28.1.4.1. Lightblue
          • 28.1.4.2. BLE
      • 28.2. Project Bluetooth Control LED
        • 28.2.1. Component List
        • 28.2.2. Circuit
        • 28.2.3. Code
          • 28.2.3.1. BLE_LED
    • 29. Chapter WiFi Working Modes
      • 29.1. Project Station mode
        • 29.1.1. Component List
        • 29.1.2. Component knowledge
          • 29.1.2.1. Station mode
        • 29.1.3. Circuit
        • 29.1.4. Code
          • 29.1.4.1. Station_mode
          • 29.1.4.2. Reference
      • 29.2. Project AP mode
        • 29.2.1. Component List & Circuit
        • 29.2.2. Component knowledge
          • 29.2.2.1. AP mode
        • 29.2.3. Circuit
        • 29.2.4. Code
          • 29.2.4.1. AP_mode
          • 29.2.4.2. Reference
      • 29.3. Project AP+Station mode
        • 29.3.1. Component List
        • 29.3.2. Component knowledge
          • 29.3.2.1. AP+Station mode
        • 29.3.3. Circuit
        • 29.3.4. Code
          • 29.3.4.1. AP+STA_mode
    • 30. Chapter TCP/IP
      • 30.1. Project As Client
        • 30.1.1. Component List
        • 30.1.2. Component knowledge
          • 30.1.2.1. TCP connection
          • 30.1.2.2. Install Processing
          • 30.1.2.3. Use Server mode for communication
        • 30.1.3. Circuit
        • 30.1.4. Code
          • 30.1.4.1. TCP_as_Client
          • 30.1.4.2. Reference
      • 30.2. Project As Server
        • 30.2.1. Component List
        • 30.2.2. Circuit
        • 30.2.3. Code
          • 30.2.3.1. TCP_as_Server
    • 31. Chapter Camera Web Server
      • 31.1. Project 30.1 Camera Web Server
        • 31.1.1. Component List
        • 31.1.2. Circuit
        • 31.1.3. Code
          • 31.1.3.1. 30.1_Camera_WebServer
          • 31.1.3.2. Reference
    • 32. Chapter Soldering Circuit Board
      • 32.1. Project Soldering a Buzzer
        • 32.1.1. Component List
        • 32.1.2. Circuit
        • 32.1.3. Soldering the Circuit
        • 32.1.4. Testing circuit
      • 32.2. Project Soldering a Flowing Water Light
        • 32.2.1. Component List
        • 32.2.2. Circuit
        • 32.2.3. Soldering the Circuit
        • 32.2.4. Connecting the Circuit
        • 32.2.5. Code
    • What’s next?
    • End of the Tutorial
  • Processing language
    • Welcome
      • Getting Started
      • Get Support and Offer Input
      • Safety and Precautions
      • About Freenove
      • Copyright
    • Preface
      • Processing Software
      • Install ControlP5
      • First Use
      • Communication protocol
    • 1. Chapter Oscilloscope
      • 1.1. Project Oscilloscope
        • 1.1.1. Component List
        • 1.1.2. Circuit
        • 1.1.3. Sketch
          • 1.1.3.1. Sketch Oscilloscope
    • 2. Chapter Control 2D and 3D Figures
      • 2.1. Project Ellipse
        • 2.1.1. Component list
        • 2.1.2. Circuit
        • 2.1.3. Sketch
          • 2.1.3.1. Sketch Ellipse
      • 2.2. Project Box 3D
        • 2.2.1. Component list
        • 2.2.2. Circuit
        • 2.2.3. Sketch
          • 2.2.3.1. Sketch Box_3D
    • 3. Chapter Snake Game
      • 3.1. Project Snake Game
        • 3.1.1. Component list
        • 3.1.2. Circuit
        • 3.1.3. Sketch
          • 3.1.3.1. Sketch Snake_Game
      • 3.2. Project Snake Game 3D
        • 3.2.1. Component list
        • 3.2.2. Circuit
        • 3.2.3. Sketch
          • 3.2.3.1. Sketch Snake_Game_3D
    • 4. Chapter Pick Apples
      • 4.1. Project Pick Apples
        • 4.1.1. Component list
        • 4.1.2. Circuit
        • 4.1.3. Sketch
          • 4.1.3.1. Sketch Pick Apples
    • 5. Chapter Pong Game
      • 5.1. Project Pong Game
        • 5.1.1. Component List
        • 5.1.2. Circuit
        • 5.1.3. Sketch
          • 5.1.3.1. Sketch Pong_Game
      • 5.2. Project Pong Game 3D
        • 5.2.1. Component list
        • 5.2.2. Circuit
        • 5.2.3. Sketch
          • 5.2.3.1. Sketch Pong_Game_3D
    • 6. Chapter Tetris
      • 6.1. Project Tetris
        • 6.1.1. Component list
        • 6.1.2. Circuit
        • 6.1.3. Sketch
          • 6.1.3.1. Sketch Tetris
    • What’s next?
fnk0082-docs
  • Search