0312-400-2221
LGT8F328P-LQFP32 MiniEVB is an Alternative Arduino Nano V3.0 ATMeag328P with serial HT42B534-1 SOP16 USB Driver. It is an improved ATMega328P with this cheap clone Logic Green LGT8F328P
Now we're going to look at the 32MHz Nano-sized drop-in replacement
1 Download the LogicGreen zipped resources here
https://github.com/LGTMCU/Larduino_HSP
There's a copy of this zipped folder right here on my GitHub
2 Extract the download (unzip it)
and move the unzipped LGT/avr folder to under the hardware folder in your Arduino sketch folder. If you do not have a hardware folder in your Arduino Sketches folder, just create one.
Your structure should look like this:
3 Replace the boards.txt
In the Hardware -> LGT -> AVR folder delete the boards.txt.
Then copy the boards.txt in this GitHub there in place of the one you just deleted.
4 Fire up the Arduino IDE (or restart it if already running)
5 Select the right board
Go to Tools, Board and scroll down until you see the next set of LGT8F boards, one of which will be 32MHz variant you just added. The original LGT8F328P board will now be described as (16MHz)
Remember, in your future sketches, always add in the #include for the <avr/power.h> as shown in the video.
Finally, add in this statement before anything else in the setup().
6 Load the Prime Numer Test sketch from this GitHub, build and run.
In the Serial Monitor window you should see this:
If you get this instead (and your Serial Monitor is set to the correct speed)
then your board might not be running at 32MHz. Is your Serial Monitor speed set to 9600? Did you select the 32MHz variant of the board? Did you restart your Arduino IDE after replacing the boards.txt file? Did you put the unzipped folder under the correct hardware folder in the Arduino Sketches?
Each LGT8F328P has a unique GUID (serial number) built in. Useful for encrypting things.
To retrieve the number (it's read-only) do this in your sketch setup():
uint32_t guid = (uint32_t)&GUID0;
To display that number in its intended HEX format do this:
Serial.println(guid, HEX);
Simples, right?
Buy LGT8F328P-LQFP32 MiniEVB Alternative Arduino Nano V3.0 ATMEGA328P at pakistan's Best Online Shopping store in cheap price.Here you get best LGT8F328P-LQFP32 MiniEVB which replace Replace ATMega328P. We Deliver in Gujranwala, Karachi, Lahore, Islamabad, Rawalpindi, Multan, Quetta , Faisalabad and all over Pakistan.
1xLGT8F328P-LQFP32 MiniEVB Alternative Arduino Nano V3.0 ATMEGA328P
No posts found