Arduino Nano running at 32Mhz (WAVGAT)

  Рет қаралды 8,127

Indrek

Indrek

Күн бұрын

Пікірлер: 29
@albertfernandes7846
@albertfernandes7846 9 ай бұрын
Mr. Luuk I have an issue. For the first few days it was working great and was giving good visual output but one day, suddenly the the output was okay but I was getting coloured lines along the edges of the objects i was pointing at
@nikosadie
@nikosadie 5 жыл бұрын
I have many Wavgat Nano's. I use them for very simple projects. Mainly for sensors and alarms and they work perfectly. I do not know how they perform with more complex systems, but for me they are fine and very cheap. I used to build my own Arduino with the chip, but the Wavgat nano's are so cheap and compact that I cannot make one cheaper.
@codebeat4192
@codebeat4192 4 жыл бұрын
I have two WAVGAT PRO MINI's and discovered that the MCU is not fully compatible with the AVR ATMEGA328 code because the extra features it provides. You need to download a WAVGAT Arduino library, the "Logic Green Arduino AVR Compatible boards" library available on github. There are two others I found however they don't work properly. It is a very handy library because you can set the clock speed, variant of board and the crystal source before compiling. There are still some weird things, for example you need to set the analog resolution to 10 at setup to be compatible with standard Arduino code. AnalogWrite() is on some pins in bytes and not ints. The library supports: LGT8F328 (the one you have) variants and the LGT8F88. Search for "github dbuezas lgt8fx" on google to find it and take the latest zip. Have fun.
@IndrekL
@IndrekL 4 жыл бұрын
Hey! Thank you for the info!
@tctn
@tctn Жыл бұрын
I cannot order it to Australia. Any reason why?
@EvandsonDantas
@EvandsonDantas 6 жыл бұрын
Very nice!
@IndrekL
@IndrekL 6 жыл бұрын
Thanks!
@wi_zeus6798
@wi_zeus6798 6 жыл бұрын
How did you upload the code? Did you simply select the Arduino Nano 328p 5V board?
@IndrekL
@IndrekL 6 жыл бұрын
Yes with the latest Arduino IDE (1.8.7). Board: "Arduino Nano" Processor: "ATmega 328P (old Bootloader)"
@wi_zeus6798
@wi_zeus6798 6 жыл бұрын
@@IndrekLAitäh!
@codebeat4192
@codebeat4192 4 жыл бұрын
I have two WAVGAT PRO MINI's and discovered that the MCU is not fully compatible with the AVR ATMEGA328 code because the extra features it provides. You need to download a WAVGAT Arduino library, the "Logic Green Arduino AVR Compatible boards" library available on github. There are two others I found however they don't work properly. It is a very handy library because you can set the clock speed, variant of board and the crystal source before compiling. There are still some weird things, for example you need to set the analog resolution to 10 at setup to be compatible with standard Arduino code. AnalogWrite() is on some pins in bytes and not ints. The library supports: LGT8F328 (the one you have) variants and the LGT8F88. Search for "github dbuezas lgt8fx" on google to find it and take the latest zip. Have fun.
@wi_zeus6798
@wi_zeus6798 4 жыл бұрын
@@codebeat4192 thanks :)
@ВячеславР-р8у
@ВячеславР-р8у 6 жыл бұрын
good try. it is a pity that the modules broke, maybe because of static electricity .. I think that these are the CH340G chips that need to be replaced. I came across in new adapters USB TTL ch340g out of 10 faulty. I just bought 10 of these microcircuits ch340g, and I’m changing if that. Sketch 1 to 1 will not work, I think , there are other ports. In general, if I have time, I will try to repeat your experience.
@IndrekL
@IndrekL 6 жыл бұрын
I also thought that maybe I should try to replacing the CH340G chip on the dead unit, but I don't have proper tools to get a chip off of a PCB board. Since the boards are quite cheap I ordered a bunch of new ones. 2 from e-bay and an another set of 5 from Aliexpress. So for the next experiment I have plenty of extra WAVGAT Nanos to try with.
@ВячеславР-р8у
@ВячеславР-р8у 6 жыл бұрын
kzbin.info/www/bejne/i3TdaX2MgphqeK8 Maybe you will like this project, it has already been done, and sketches are written for WAVGAT and atmega328 .
@IndrekL
@IndrekL 6 жыл бұрын
I did a little more experimentation and at least PORTD (pins 0..7) and PORTC (pins 8..13) on WAVGAT work exactly the same as with ordinary Arduino (ATmega328P). Hopefully I can get it working with Ov7670Live with minimal required modifications. Unfortunately I can't understand Russian. Did he need to use WAVGAT for the extra speed or did he use WAVGAT just to see if he can use that instead of ATmega328P?
@thevoice4758
@thevoice4758 4 жыл бұрын
Hello, I understood that these boards have there own microprocessor (LGT8F328P). However I want to test them because they are fast and cheap. Do you need to make "special" actions to program these boards ? Do you have to install a WAVGAT library ? Do you have to install special software or drivers ? How to program ? selecting a "normal" arduino nano in the IDE
@IndrekL
@IndrekL 4 жыл бұрын
Hey! These are mostly Arduino Nano compatible. Original Arduinos use FTDI USB to serial chip. The WAVGAT Nano uses ch340 (just like all the other Atmel based Nano clones). So first you need to install the ch340 driver if you haven't already. In the IDE you have to select: Board: Arduino Nano Processor: ATmega 328P (Old Bootloader)
@thevoice4758
@thevoice4758 4 жыл бұрын
@@IndrekL I will use the WAVGAT pro mini. So in my case I have to select the board Pro Mini and select ATmega (old bootloader). In fact there is almost no difference to use these boards in comparison with the other clones. In some video they explain that you have to put some additional code into your sketch to put the WAVGAT on 32Mhz. What code do you use ?
@IndrekL
@IndrekL 4 жыл бұрын
Add this to the setup() function: CLKPR = 0x80; // enter clock rate change mode CLKPR = 0; // set prescaler to 0. WAVGAT MCU has it 3 by default. This makes the WAVGAT to run at 32Mhz. By defualt it runs only at 4Mhz
@IndrekL
@IndrekL 4 жыл бұрын
A lot of the libraries assume the clock speed to be 16Mhz. So if you set the WAVGAT to run at 32Mhz then Serial.begin(9600) is not actually 9600 bit per second. It is two times faster. So you have to adjust those parameters accordingly.
@thevoice4758
@thevoice4758 4 жыл бұрын
When I first saw these boards I thought that they where using the Atmel 328 microcontroller. Later on I understoud they where using the LGT8F328P chip. An almost compatible chip but with the possibility to run at 32Mhz. Besides that they are very cheap (I paid 1.4 US$) and therefore a good alternative to the other clones. But the I saw some videos explaining that you had to configure the environment (copy folders and all that stuff) ... so I was wondering how it really works. I hope to receive these boards very soon and then we will give it a try. Thanks for your reply!
@dbuezas
@dbuezas 5 жыл бұрын
Here's a convenient method to get these working, Install via board urls: github.com/dbuezas/lgt8fx
8-bit Arduino Clones: Atmega 328pb? How to fix computability issues!
15:55
Wi-Fi Sheep Tech Channel
Рет қаралды 11 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
#420 ATmega4808, The New Arduino Chip?
9:13
Andreas Spiess
Рет қаралды 124 М.
Китайский клон LGT8F328P MiniEVB (WAVGAT AVGA328P)
5:35
WAVGAT Pro Mini || Are they better than Arduino boards?
9:47
Utsav Shah
Рет қаралды 1,5 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,5 МЛН
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 582 М.
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 601 М.
Bizzare Shifter
18:04
upir
Рет қаралды 449 М.
Визитка программиста
19:40
Александр Красников
Рет қаралды 238 М.
LGT Vs Arduino | LGT8F328P Vs Arduino | ETSolutions
6:40
ETSolutions
Рет қаралды 12 М.
WHY THIS $1 Aliexpress Module WILL Surprise YOU?
6:38
Hacktuber
Рет қаралды 69 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН