Part 1: Introduction to Arduino
1.1 Origin and Development of Arduino
1.1.1 Origin
1.1.2 Development
1.1.3 Features of Arduino
-
Open Source: The hardware design and software code of Arduino are open source, allowing users to modify, customize, and share freely, greatly promoting innovation and development. -
Ease of Use: The design of the Arduino IDE and programming language is simple and easy to understand, enabling beginners to quickly get started with project development. -
Community Support: Arduino has a large user community where users can share experiences, ask questions, provide answers, and gain inspiration. -
Compatibility and Expandability: Various modules and accessories in the Arduino ecosystem are compatible with each other, making it easy for users to expand and combine. -
Low Cost: Arduino development boards and their peripheral modules are relatively inexpensive, allowing more people to try and engage in project development.
1.1.4 Future Development of Arduino
With the rapid development of technologies such as the Internet of Things and artificial intelligence, the application prospects of Arduino are broad. The Arduino project will continue to release new development boards, modules, and programming libraries to meet the needs of various application scenarios. Meanwhile, the Arduino community will continue to grow, providing more resources and support to empower various projects globally.
1.2 Relationship between LY-F3 Development Board and Arduino
1.2.1 Firmware Based on Arduino Uno
1.2.3 Integrated Common External Devices
1.2.4 User-Friendly Design for Beginners
1.3 Installation and Configuration of Arduino IDE
1.3.1 Download Arduino IDE
1.3.2 Install Arduino IDE
Follow the steps below to install Arduino IDE based on your operating system:
-
Windows: Run the downloaded installer and follow the prompts to complete the installation. It is recommended to use the default settings for compatibility.
-
macOS: Unzip the downloaded “.zip” file, then drag the “Arduino.app” file to the “Applications” folder.
-
Linux: Unzip the downloaded “.tar.xz” file, place the extracted folder in a suitable location. Enter the folder and run the “install.sh” script to complete the installation.
1.3.3 Configure Arduino IDE
-
Select Board: Click on the “Tools” menu > “Board”, then select “Arduino Uno” from the pop-up submenu, as the LY-F3 development board uses the same firmware as the Arduino Uno. -
Select Port: Connect the LY-F3 development board to the USB port of your computer, then click on the “Tools” menu > “Port”, and select the corresponding port for the LY-F3 development board from the pop-up submenu. For Windows users, the port usually appears as “COMx”; for macOS and Linux users, the port usually appears as “/dev/cu.xxx” or “/dev/tty.xxx”.
1.3.4 Test Arduino IDE
-
Open Example Program: Click on the “File” menu > “Examples” > “01.Basics” > “Blink”. This will open an example program named “Blink” to control the LED light on the LY-F3 development board to blink. -
Upload Program: Click the “Upload” button (an icon with a right arrow) on the toolbar, and the Arduino IDE will automatically compile and upload the program to the LY-F3 development board. -
Observe Results: If everything goes well, you will see the LED light on the LY-F3 development board start to blink, indicating that the program has been successfully uploaded and is running.
1.4 Hardware Features of the LY-F3 Development Board
The LY-F3 development board has the following hardware features:
1.4.1 LED
1.4.2 Photoresistor
1.4.3 Microphone
1.4.4 Low-Level Active Button
1.4.5 Passive Buzzer
1.4.6 Integrated Infrared Receiver
1.4.7 WS2812 RGB Lights
1.4.8 USB to Serial Converter
1.4.9 Reset Button
1.5 Interfaces and Peripherals of the LY-F3 Development Board
1.5.1 Reserved Pin Locations for Ports
1.5.2 I2C Interface Terminals
1.5.3 Identifiers
Leave a Comment
Your email address will not be published. Required fields are marked *