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
@nikosadie5 жыл бұрын
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.
@codebeat41924 жыл бұрын
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.
@IndrekL4 жыл бұрын
Hey! Thank you for the info!
@tctn Жыл бұрын
I cannot order it to Australia. Any reason why?
@EvandsonDantas6 жыл бұрын
Very nice!
@IndrekL6 жыл бұрын
Thanks!
@wi_zeus67986 жыл бұрын
How did you upload the code? Did you simply select the Arduino Nano 328p 5V board?
@IndrekL6 жыл бұрын
Yes with the latest Arduino IDE (1.8.7). Board: "Arduino Nano" Processor: "ATmega 328P (old Bootloader)"
@wi_zeus67986 жыл бұрын
@@IndrekLAitäh!
@codebeat41924 жыл бұрын
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_zeus67984 жыл бұрын
@@codebeat4192 thanks :)
@ВячеславР-р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.
@IndrekL6 жыл бұрын
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у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 .
@IndrekL6 жыл бұрын
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?
@thevoice47584 жыл бұрын
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
@IndrekL4 жыл бұрын
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)
@thevoice47584 жыл бұрын
@@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 ?
@IndrekL4 жыл бұрын
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
@IndrekL4 жыл бұрын
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.
@thevoice47584 жыл бұрын
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!
@dbuezas5 жыл бұрын
Here's a convenient method to get these working, Install via board urls: github.com/dbuezas/lgt8fx