Version 1.6.4 of the Arduino IDE introduced official support for adding third party boards (like the OSOYOO LGT-Nano) to the new Board Manager. This addition is great news, because it allows users to quickly add new boards with the click of a button. Previously the addition of new boards required a cumbersome manual installation process, or in certain cases, the download of a completely separate version of the IDE with the new boards added.
The new Board Manager solves those issues. We can now add new boards just as easily using officially supported methods. Let’s get started.
The first thing you will need to do is to download the latest release of the Arduino IDE. You will need to be using version 1.8.2 or higher for this guide.
After you have downloaded and installed the latest version of Arduino IDE, you will need to start the IDE and navigate to the Preferences menu. You can access it from the File menu in Windows or Linux, or the Arduino menu on OS X.
Start the Arduino-IDE.
A dialog will pop up just like the one shown below.
In File->Preferences, Settings tab,
We will be adding a URL to the new Additional Boards Manager URLs option. The list of URLs is comma separated, and you will only have to add each URL once. New OSOYOO boards and updates to existing boards will automatically be picked up by the Board Manager each time it is opened. The URLs point to index files that the Board Manager uses to build the list of available & installed boards.
To find the most up to date list of URLs you can add, you can visit the list of third party board URLs on the Arduino IDE wiki. We will only need to add one URL to the IDE in this example, but you can add multiple URLS by separating them with commas. Copy and paste the link below into the Additional Boards Manager URLs option in the Arduino IDE preferences.
as an Additional Boards Manager URL.
If the above website does not open, try another one：
Now that you have added the appropriate URLs to the Arduino IDE preferences, you can open the Boards Manager by navigating to the Tools->Board menu.
Open Tools->Board:…->Boards Manager
Once the Board Manager opens, click on the search menu on the top right hand side of the window and type osoyoo. You will then be able to select and install the boards supplied by the URLs added to the prefrences. In the example below, we are installing support for OSOYOO AVR Compatible Boards, but the same applies to all boards installed with the Board Manager.
- Click on the list entry
- Click on Install.
Next, quit and reopen the Arduino IDE to ensure that all of the boards are properly installed. You should now be able to select and upload to the new boards listed in the Tools->Board menu.
Another Method : Manual installation
1. Directly download the latest software support package
2. Unzip and change the name to …\arduino-ide\hardware\arduino_OSOYOO-masteravr to see the boards.txt and platform.txt files
3. Re-open the Arduino IDE application
4. Development board selection
OSOYOO AVR Compatible Boards is a 3rd party hardware support package for the LGT8F core based arduino boards. The backend of the HSP is fork from offical arduino distribution. We have try to keep all the standard features compatible with arduino world. So feel free to resuse all of the libraries which designed for arduino platform.
Microcontroller based on LGT8F, e.g LGT8F328P has more advanced features which not covered in standard arduino implementation. so there are also many new features merged to this 3rd party package. Important update and new features as following:
External/Internal crystal can be selected at runtime
Fast_IO interface for fast I/O speed and small code size
Full configurable PWM features, including complementary and dead-band control
Differential Amplifier front-end for 12bit Analog-to-Digital converter
1/2 channel 8bit Digtial-to-Analog output, campatible with
More standalone I/Os
Hardware Reference design
The LGT8F328P bootloader is based on optiboot. Source can be found inside the bootloader directory
- Bootloader upload baudrate: 115200bps
- Fix CH340G download unstabitily
Docs & links
Introduction of OSOYOO LGT-NANO
Quick Start of OSOYOO LGT-Nano
How to download bootloader for LGT-NANO
Arduino Hardware Support Package for LGT-NANO
Datasheet of LGT8FX8P
Datasheet (English) LGT8FX8P_databook_V1.05 By Watterrott
To explore more information about LGT8F328P, please click here, thanks to dbuezas for organizing and contributing
That’s it! Please let us know if you encounter any problems with OSOYOO products.