.. note:: Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts. **Why Join?** - **Expert Support**: Solve post-sale issues and technical challenges with help from our community and team. - **Learn & Share**: Exchange tips and tutorials to enhance your skills. - **Exclusive Previews**: Get early access to new product announcements and sneak peeks. - **Special Discounts**: Enjoy exclusive discounts on our newest products. - **Festive Promotions and Giveaways**: Take part in giveaways and holiday promotions. 👉 Ready to explore and create with us? Click [|link_sf_facebook|] and join today! .. _basic_projects: Basic Projects ======================== This chapter is used to learn how to control electronic circuits using Arduino. Depending on the components, the basic control methods of Arduino can be divided into four types: * :ref:`ar_digital_write`: Set the output voltage of the pin to be high or low, which can be used to turn the light on and off. * :ref:`ar_analog_write`: Write the analog value (`PWM wave `_) to the pin, which can be used to adjust the brightness of the light. * :ref:`ar_digital_read`: Read the level signal of the digital pin, which can be used to read the working condition of the switch. * :ref:`ar_analog_read`: Read the voltage of the analog pin, which can be used to read the working condition of the knob. There are also some components that require additional libraries for use, and these are grouped under the section :ref:`install_libraries_ar`. Finally, the kit also provides some :ref:`ar_funny_project`, which includes many simple and useful manipulations. Try this section of code and you will understand how most simple projects work. .. toctree:: :maxdepth: 2 ard_digital_write ard_analog_write ard_digital_read ard_analog_read ard_more_syntax ard_funny_project