

The LGT_RF_NANO is a versatile microcontroller board developed by Makefun, featuring the LGT8F328P chip. This board is similar to the Arduino Nano but comes with enhanced capabilities, including RF communication. It is designed for a wide range of applications, from simple DIY projects to more complex IoT systems.








| Specification | Value |
|---|---|
| Microcontroller | LGT8F328P |
| Operating Voltage | 5V |
| Input Voltage | 7-12V |
| Digital I/O Pins | 14 (of which 6 provide PWM) |
| Analog Input Pins | 8 |
| Flash Memory | 32 KB (LGT8F328P) |
| SRAM | 2 KB |
| EEPROM | 1 KB |
| Clock Speed | 16 MHz |
| RF Communication | Integrated RF module |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | D0/RX | Digital I/O, UART RX |
| 2 | D1/TX | Digital I/O, UART TX |
| 3 | D2 | Digital I/O |
| 4 | D3 | Digital I/O, PWM |
| 5 | D4 | Digital I/O |
| 6 | D5 | Digital I/O, PWM |
| 7 | D6 | Digital I/O, PWM |
| 8 | D7 | Digital I/O |
| 9 | D8 | Digital I/O |
| 10 | D9 | Digital I/O, PWM |
| 11 | D10 | Digital I/O, PWM |
| 12 | D11 | Digital I/O, SPI MOSI |
| 13 | D12 | Digital I/O, SPI MISO |
| 14 | D13 | Digital I/O, SPI SCK |
| 15 | A0 | Analog Input |
| 16 | A1 | Analog Input |
| 17 | A2 | Analog Input |
| 18 | A3 | Analog Input |
| 19 | A4 | Analog Input, I2C SDA |
| 20 | A5 | Analog Input, I2C SCL |
| 21 | A6 | Analog Input |
| 22 | A7 | Analog Input |
| 23 | GND | Ground |
| 24 | 5V | 5V Power Supply |
| 25 | 3.3V | 3.3V Power Supply |
| 26 | VIN | Input Voltage (7-12V) |
| 27 | RST | Reset |
| 28 | RF_TX | RF Transmit |
| 29 | RF_RX | RF Receive |
Powering the Board:
Connecting Digital and Analog I/O:
RF Communication:
Here is an example code to demonstrate basic usage of the LGT_RF_NANO with an Arduino UNO for RF communication:
#include <SPI.h>
#include <RF24.h>
// Define the RF24 object with CE and CSN pins
RF24 radio(9, 10);
const byte address[6] = "00001"; // Define the address
void setup() {
Serial.begin(9600);
radio.begin();
radio.openWritingPipe(address);
radio.setPALevel(RF24_PA_MIN);
radio.stopListening();
}
void loop() {
const char text[] = "Hello World";
radio.write(&text, sizeof(text));
Serial.println("Sent: Hello World");
delay(1000);
}
Board Not Powering On:
RF Communication Not Working:
Digital/Analog Pins Not Responding:
By following this documentation, users can effectively utilize the LGT_RF_NANO in their projects, leveraging its enhanced features for a wide range of applications.