Conceptos Básicos

1

Qué aprenderás sobre Internet of Things

2

Espectro electromagnético y qué es radiofrecuencia

3

Clasificacion de radiofrecuencia

4

Regulación de la radiofrecuencia

5

¿Qué son las Telecomunicaciones?

6

Halfduplex y Fullduplex

7

Clasificación de transmisiones: Upstream y Downstream

8

Link budget

9

Con ciertas características, ¿Habría conexión en el sistema?

Alto data rate

10

Wi-fi

11

Bluetooth

12

Redes celulares

LPWANs

13

NB-IoT

14

Consideraciones para implementación de NB-IoT

15

LoRaWAN

Reto 2

16

¿Qué usarías para monitorear la posición GPS de un vehículo? y ¿Qué usarías para monitorear datos en campo?

Diseño

17

Arquitectura de nodos

Introducción a la práctica

18

Instalación de framework ESP32 e instalación de framework SAMD21

19

Qué es una interrupción

Práctica de WiFi

20

Prueba de señal Wi-fi

21

Protocolo HTTP desde un microcontrolador

22

Conectando sensores y actuadores al microcontrolador

23

Preparación de aplicación para recibir datos

24

Programación por eventos de un microcontrolador

25

Configuración de eventos del microcontrolador

26

Conexión de aplicación

Práctica con LoRa

27

¿Cuál es el stack de LoRaWAN?

28

Creando tu propio gateway

29

Ensamblado de gateway

30

Pon a andar tu gateway de LoRa

31

Creando tu Stack de LoRa

32

Conecta tu nodo a internet

33

Integrando datos a un dashboard

34

Terminando de implementar nuestro stack de LoRa

35

BugFixing nuestro stack de LoRa

36

Ensamblando el nodo de LoRa

37

Probando LoRa en nuestro Dashboard

38

Prácticas con tarjetas MKR

Cierre del curso

39

Cierre del curso

You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

1 Días
17 Hrs
5 Min
12 Seg

BugFixing nuestro stack de LoRa

35/39
Resources

How to solve typical programming errors?

When we are creating or debugging our code, it is common to encounter errors that the compiler points out to us. Learning to identify and correct them is essential for the success of any project. Here we will discuss some of the most frequent errors and ways to solve them.

Why is the semicolon important in declarations?

One of the most common mistakes when writing code is forgetting to end declarations with a semicolon. This is crucial, since the compiler requires it to correctly interpret the instructions. If the compiler displays a syntax error, checking for the presence of semicolons is a good first step to fix it.

// Example of incorrect declarationint number
// Correctionint number;

How to handle incorrect capitalization in functions and variables?

Improper use of upper and lower case can cause the compiler to not recognize functions or variables. It is essential to follow the same pattern throughout your code and remember that many programming languages are case sensitive.

// Example of an unrecognized functionvoid printMessage() { // Code}
// Error: calling the function incorrectlyprintMessage();

What to do when an argument is wrong or missing?

Another common error is not providing the necessary arguments to a function. Functions must receive the correct number and type of arguments to work correctly.

// Example of function expecting an argumentvoid sendData(int data) { // Code}
// Calling the function without argumentssendData(); // Error.

Be sure to check the function signature and provide the correct arguments.

How to avoid errors when naming variables?

Variable names must match exactly throughout the code. Using consistent names avoids compilation errors. A typo can cause the compiler to not recognize a variable.

// Incorrect variable name usageint previosMillis;previosMillis = 1000;
// Incorrect usagepreviosMillis = 2000; // Variable name error

Carefully review each variable usage to ensure that all names are correct and consistent.

How to improve modularization and event handling in a program?

Modularization and proper event handling are critical to creating efficient and maintainable programs. Implementing a modular design allows you to divide the program into more manageable and reusable parts.

  • Clearly define variables: Make sure variables are well defined and organized.

  • Use libraries properly: Choose the right libraries to handle specific tasks, such as connecting to RF modules.

  • Structure event handling: Implements clear mechanisms for event handling, ensuring that the program responds appropriately to different conditions.

By applying these recommendations, you can significantly simplify the process of debugging and optimizing code, making it easier to run and maintain in the long run. Keep learning and improving your skills to become a more skilled and efficient developer!

Contributions 2

Questions 2

Sort by:

Want to see more contributions, questions and answers from the community?

Recomiendo usar el VS Code para editar el codigo, usando el IDE de Arduino para compilar mediante la opcion de uso de editor externo, resulta muy util!

Cuando cargo el programa al ttgo tengo este problema:
Arduino:1.8.9 (Windows 10), Tarjeta:“TTGO LoRa32-OLED V1, 80MHz, 921600, None”

El Sketch usa 216888 bytes (16%) del espacio de almacenamiento de programa. El máximo es 1310720 bytes.
Las variables Globales usan 14220 bytes (4%) de la memoria dinámica, dejando 280692 bytes para las variables locales. El máximo es 294912 bytes.
esptool.py v2.6
Serial port COM7
Connecting……_____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.