cac1837 /
LAB_6
El objetivo era probar la configuración de los pines GPIO de la tiva. La idea es que utilice los Leds y Switches que trae la Tivautilizando programación en C con la ayuda de la librería DriverLib de TivaWare.
Loading repository data…
carlcopilot / repository
Configuración de pines, variante de PlatformIO y guía de conexión para crear un nodo Meshtastic de bajo consumo usando un ESP32-C3 SuperMini y el módulo LoRa DX-LR30 (SX1262).
Este repositorio contiene los archivos de configuración necesarios (variant.h, pins_arduino.h y platformio.ini) para compilar el firmware de Meshtastic en un nodo DIY construido con:
Esta combinación es económica, muy pequeña y eficiente energéticamente.
This repository hosts the necessary configuration files to compile Meshtastic firmware for a custom DIY node built with:
⚠️ WARNING: The DX-LR30 module works at 3.3V. Do not connect to 5V.
| Function | DX-LR30 Pin | ESP32-C3 Pin (GPIO) | Notes |
|---|---|---|---|
| Power | VCC | 3.3V | |
| Ground | GND | GND | Common ground |
| SPI Clock | SCK | GPIO 4 | |
| SPI Miso | MISO | GPIO 5 | |
| SPI Mosi | MOSI | GPIO 6 | |
| Chip Select | NSS / CS | GPIO 7 | |
| Reset | RST | GPIO 10 | |
| DIO1 | DIO1 | GPIO 3 | IRQ |
| Busy | BUSY | GPIO 2 | Mandatory for SX1262 |
Clone the official Meshtastic firmware repository:
git clone [https://github.com/meshtastic/firmware.git](https://github.com/meshtastic/firmware.git)
cd firmware
Create a new folder inside variants:
firmware/variants/diy_c3_lr30Copy the files variant.h and pins_arduino.h from this repository into that new folder.
Edit the platformio.ini file in the root of the firmware folder. Add the following environment block at the end:
[env:diy-c3-lr30]
extends = esp32c3_base
board = esp32-c3-devkitm-1
board_build.variants_dir = variants
board_build.variant = diy_c3_lr30
build_flags =
${esp32c3_base.build_flags}
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-I variants/diy_c3_lr30
lib_deps =
${esp32c3_base.lib_deps}
Open PlatformIO, select the environment env:diy-c3-lr30, Clean, and then Upload.
SX126X_CS was not declared: This is fixed in the provided variant.h by mapping standard pin names to the specific variables required by the SX126x library driver.pins_arduino.h not found: Ensure you copied the pins_arduino.h provided in this repo to the variant folder.Happy Meshing!
Selected from shared topics, language and repository description—not editorial ratings.
cac1837 /
El objetivo era probar la configuración de los pines GPIO de la tiva. La idea es que utilice los Leds y Switches que trae la Tivautilizando programación en C con la ayuda de la librería DriverLib de TivaWare.
gerson-diestra /
BUTTON LIBRARY es una función que anula a través de software, los rebotes causados al presionar un pulsador o un botón, de esta manera el microcontrolador que se utilice tendrá un lectura más estable en los pines donde esté colocado el pulsador/botón. El código está hecho en MikroC for PIC y el diseño de la simulación en Proteus 8.8 SP1. Estoy utilizando el MCU PIC12F1572. Se puede seguir el link del video donde muestro la configuración de los fuses