Lucebra
Lucebra Doanh nghiệp
CNTT & Phần mềm/CNTT & Phần mềm khác

Xây dựng Thư viện Arduino của riêng bạn: Hướng dẫn từng bước

Eleve-se ao próximo nível da Programação Profissional em Arduino Automatizando e Simplificando tarefas usando um Arduino

Tất cả các cấp độ • 16 Bài giảng • Truy cập trọn đời
Educational Engineering Team

Giảng viên chính đã được xác minh

Crie Sua Própria Biblioteca Arduino: Guia Passo a Passo
ĐOẠN PHIM GIỚI THIỆU
Gặp người hướng dẫn của bạn: Educational Engineering Team

19 ms

5.0 / 5.0
Đánh giá toàn cầu
1
Sinh viên tích cực
Tiếng Anh (Mỹ)
99 ngôn ngữ phụ đề
2 giờ 8 phút
Tổng số nội dung

Bạn sẽ học được gì

Domine a programação Arduino usando bibliotecas para organizar códigos
Aprenda a criar uma biblioteca e publicá-la para que todos possam usar
Conheça os principais benefícios de usar bibliotecas
Mova sua Biblioteca Arduino

Nội dung khóa học

7 phần • 16 bài giảng • 02:08:35 tổng chiều dài

Introduction

02:23

Educational Engineering Team - Who we are?

05:46

What is A Library.

05:47

Arduino Libraries

Libraries are files written in Cor C++ (.c, .cpp) which provide your sketches with extra functionality (e.g. the ability to control an LED matrix, or read an encoder, etc.). They were introduced in Arduino 0004.


To use an existing library in a sketch simply go to the Sketch menu, choose "Import Library", and pick from the libraries available. This will insert an #include statement at the top of the sketch for each header (.h) file in the library's folder. These statements make the public functions and constants defined by the library available to your sketch. They also signal the Arduino environment to link that library's code with your sketch when it is compiled or uploaded.


User-created libraries as of version 0017 go in a subdirectory of your default sketch directory. For example, on OSX, thenew directory would be ~/Documents/Arduino/libraries/. On Windows, it would be My Documents\Arduino\libraries\. To add your own library, create a new directory in the libraries directory with the name of your library. The folder should contain a C or C++ file with your code and a header file with your function and variable declarations. It will then appear in the Sketch | Import Library menu in the Arduino IDE.


Note: for users of versions previous to 0017, libraries belong in a subdirectory of the Arduino application directory: ARDUINO/lib/targets/libraries. For version 0017, the libraries directory was moved to make them more convenient to install and use.


Because libraries are uploaded to the board with your sketch, they increase the amount of space used by the ATmega8 on the board. See the FAQ for an explanation of various memory limitations and tips on reducing program size. If a sketch no longer needs a library, simply delete its #include statements from the top of your code. This will stop the Arduino IDE from linking the library with your sketch and decrease the amount of space used on the Arduino board.


To get started writing libraries, download this test library. It should provide a basic template for creating a new library. After you've made changes to your library, in order to get it to recompile, you will have to delete the .o file generated in the library's directory.

Your First Library Creation Steps

03:10

Create the Header File

04:19

Coding the Header File

14:01

Creating the Source File

13:40

Create Keyword File and Readme File

10:27

Create an Example and Use the Library Part1

05:03

Create an Example and Use the Library Part2

03:07

See Your Library in Action

07:58
Kế Hoạch Học Hàng Tuần
Lên kế hoạch học tập của bạn
AI tạo lịch trình cá nhân theo thời gian của bạn

Yêu cầu

Experiência básica em Eletrônica

Uma Vontade de aplicar, não apenas assistir

Đối tượng mục tiêu

Electronics Geeks

Arduino Geeks

Anyone Interested in Learning New Things about Arduino

Anyone Interested in Learning More about Arduino Libraries

Về khóa học này

Já precisou alterar ou automatizar uma tarefa usando um Arduino? Sim? Bem, já precisou simplificar o código necessário para essa tarefa em uma coleção organizada de funções fáceis de usar? Eleva-se ao próximo nível da Programação Profissional em Arduino Automatizando e Simplificando tarefas usando um Arduino.


Então este curso é para você! Você aprenderá a criar uma biblioteca para inicializar e controlar um pequeno circuito alimentado por Arduino.


O que você aprenderá:


  • O que é uma biblioteca
  • Como Escrever Sua Própria Biblioteca Arduino
  • Como Adicionar uma Biblioteca ao Seu Projeto Arduino
  • Levante a Programação Arduino ao Próximo Nível com um Guia Passo a Passo sobre Como Construir sua própria Biblioteca Arduino do Zero.


Por que você deve fazer este curso:


  • Este curso ensinará como usar o Editor de Esboços do Arduino, que é o IDE (ambiente de desenvolvimento integrado) usado para programar placas Arduino que executam esta versão do Software Arduino.
  • Aprenda a gerenciar seu código com Bibliotecas Arduino para automatizar tarefas e simplificar a codificação.
  • Crie sua própria biblioteca de código para esboços comumente usados, incluindo controle de pinos digitais, controle de entrada analógica, controle de temporizador PWM e muito mais.
  • Economize tempo na programação automatizando tarefas com bibliotecas para Controle de Comunicação Serial, Controle de Cartão SD, Controle de LCD, Controle de Entrada Analógica, Controle de Pino Digital.
  • Adquira uma compreensão mais profunda da linguagem de programação Arduino.


Bem-vindo a Este Curso:

Você aprenderá o princípio de funcionamento real das Bibliotecas e começará a codificar suas próprias bibliotecas. Você também aprenderá o que pode fazer com elas e como usá-las para melhorar seu próprio estilo de codificação Arduino. As bibliotecas são arquivos escritos em C ou C++ (.c,.cpp) que fornecem aos seus esboços funcionalidades extras (por exemplo, a capacidade de controlar uma matriz de LED ou ler um codificador, etc.).


Tenho certeza de que este curso levará seus Projetos Arduino ao próximo nível e abrirá sua mente para novas possibilidades.


Meta deste curso:


  • Automatizar e Simplificar tarefas usando um Arduino e elevar-se ao próximo nível da Programação Profissional em Arduino.


Materiais Necessários:


  • Arduino ou uma placa clone do Arduino (freeduino), ou você pode fazer seu próprio Ardu
Cơ hội Nghề nghiệp & Vị trí Mục tiêu

Xây dựng kỹ năng thực tế sẵn sàng làm việc và ứng tuyển vào các vị trí được săn đón

Chương trình Sẵn sàng Làm việc
Vị trí Công việc Bạn có thể Ứng tuyển

Embedded Systems Engineer

IoT Firmware Developer

Automation & SCADA Engineer

PCB & Circuit Layout Designer

Mức Lương Ước tính Hàng năm
$85,000 – $135,000 / yr
Nhu cầu Thị trường Toàn cầu

Top 5% Growing Engineering Segment

Kỹ năng Nòng cốt Bạn sẽ Nắm vững
Microcontroller Architecture
Hardware-Software Integration
Industrial Protocols & Fieldbus Comms
Schematic & Circuit Diagnostics
* Ước tính dựa trên tiêu chuẩn tuyển dụng công nghệ toàn cầu.
Gặp gỡ giảng viên của bạn
Educational Engineering Team
5.0 Xếp hạng
99 Sinh viên
Nhập tin nhắn của bạn...
Educational Engineering Team
Giảng viên chính
Educational Engineering Team is a Leading Team in Microcontroller Industry, with over 13 Years of Experience in Teaching and Doing Practical Projects.

Educational Engineering Team is a group of skilled engineers dedicated to sharing practical knowledge with learners worldwide. Founded by Ashraf Said Al-Madhoun, the team has worked in programming, microcontrollers, electronics, and engineering education since 2007.

Rather than offering superficial explanations, the team breaks down complex topics into clear, step-by-step lessons supported by practical projects and bite-sized videos. This hands-on approach helps learners understand technical concepts and apply them directly to their studies, careers, and personal projects.

Ashraf is a Mechatronics Engineer, educator, author, electronics and programming enthusiast, and maker. As Chief Educational Engineer, he specializes in explaining challenging concepts in a simple, structured, and accessible way. He has extensive teaching experience and has authored four books about microcontrollers.

Educational Engineering Team has created more than 100 online courses covering circuit design, electronics simulation, PCB fabrication, Arduino, PIC microcontrollers, Raspberry Pi, C, Python, PLC programming, industrial automation, 3D design, ESP boards, embedded systems, and the Internet of Things.

In addition to producing courses, bootcamps, articles, and tutorials, the team supports electronics and programming enthusiasts, STEM students, educators, and aspiring engineers. Its members also provide engineering consultation and guidance for student graduation projects, helping learners develop practical skills and prepare for careers in the technology industry.

...
Các khóa học khác của
Educational Engineering Team

Sinh viên cũng mua

Những người học đã xem khóa học này cũng đã đăng ký vào các khóa học được xếp hạng hàng đầu này

Program ESP32 without Coding
MIỄN PHÍ
Tendencia
CNTT & Phần mềm | Phần cứng

Program ESP32 Board without writing a single code in A Professional Environment

5.0
2 giờ 30 phút
18 Tất cả
Tất cả các cấp độ
Tiếp tục học
Tiếp tục học
Using Al to Code: Your Step-by-Step Guide
CNTT & Phần mềm | Phần cứng

Revolutionize Your Coding Skills with Al: A Comprehensive Guide for Beginners

5.0
2 giờ
11 Tất cả
Tất cả các cấp độ
$10.99

$19.99

ISO 27001 Certification Process – A Step-by-Step Guide
CNTT & Phần mềm | Bảo mật thông tin

Master ISO 27001: Achieve Certification, Build Security, and Ensure Compliance for Your Organization

5.0
1 giờ 30 phút
10 Tất cả
Người mới bắt đầu
$39.99

$54.99

Implement GRC (Governance, Risk, Compliance) Step by Step
CNTT & Phần mềm | Được chứng nhận về Quản trị, Rủi ro và Tuân thủ (CGRC)

Master GRC: Step-by-Step Guide to Implementing Governance, Risk, and Compliance for Business Success

5.0
2 giờ 30 phút
35 Tất cả
Trung cấp
$39.99

$64.99

Mastering Arduino Data Streaming to Excel
CNTT & Phần mềm | Arduino

Seamlessly Stream and Visualize Real-Time Data from Arduino into Excel with Ease

5.0
1 giờ 30 phút
6 Tất cả
Tất cả các cấp độ
$9.99

$34.99

Blogger: Make A Professional Website For Free With No Coding
CNTT & Phần mềm | CNTT & Phần mềm khác

Learn how to create and customize a website with no prior coding experience.

5.0
1 giờ 30 phút
12 Tất cả
Tất cả các cấp độ
$9.99

$19.99

Frequently Bought Together

Learners who enrolled in this course also frequently purchased these complementary courses together.

7-Day Money Back Guarantee for all bundle items

Total price for selected items:

$87.98

$109.97

🎉 Save 20% when bought together

Câu hỏi thường gặp

Tìm câu trả lời cho những câu hỏi phổ biến nhất về khóa học này.

Đúng! Sau khi hoàn thành 100% các bài giảng và bài tập của khóa học, bạn có thể tải xuống ngay Chứng chỉ Hoàn thành kỹ thuật số đã được xác minh trực tiếp từ hồ sơ Lucebra của mình.

Khám phá thêm trong Technology

Mở rộng hành trình học tập với chứng chỉ uy tín, sách điện tử liên quan và lớp học trực tiếp tương tác.