Go Down

Topic: [WAVGAT pseudo-clone] Issues and Troubleshouting (Read 6930 times) previous topic - next topic

dekip

After a few attempts i found out few things.

First.
When i remove Serial.begin(); from the setup, I2C works just fine. So, it looks like Serial is messing up something. When i use OLED with I2C but only OLED, without Serial, it works.

Second.
When i power it up through RAW pin with 7V or 9V it has on VCC only (!?) 1,7V. When i power it width 5V through VCC it works fine.

Weird ...

Razval

#16
Feb 03, 2019, 03:46 pm Last Edit: Feb 04, 2019, 05:18 am by Razval
When i power it up through RAW pin with 7V or 9V it has on VCC only (!?) 1,7V. When i power it width 5V through VCC it works fine.
Because PCB have mistake, pin2 (middle) on 5-pin stabilisation chip must be GND.  But it is no so, I solded wire and all ok )

karolp

#17
Feb 27, 2019, 11:24 am Last Edit: Feb 27, 2019, 11:27 am by karolp
I did have success with IDE v1.8.6 adding the WAVGAT files to \Arduino as mentioned above and getting the Blink sketch to work (LED 1s on & 1s off versus 4s on & 4s off) . 

I have the same problem with WAVGAT Aruduino Pro Mini- blink every a couple seconds instead of LED 1s on & 1s off after code uploading using Serial programmer and standard Arduino Pro Mini board in Preferences. I have tried also to upload code using USBasp and another Arduino as ISP but I had connecion issues which come from WAVGAT clone, because another board (not WAVGAT) in the same socket works good and can communicate with USBasp.
Could you confirm that you solved problem by uploading code using special WAVGAT boards in Arduino IDE? Did you upload code by Serial programmer?

It seems that there is some problem with frequency, because Serial port print strange signs (question marks mainly) during normal communication using Serial.print("123").

But I can't read fusebits with USBasp to check coded frequency, even with special WAVGAT boards in Arduino IDE.

Any ideas how to deal with this problem?
A couple of hours lost for looking for solution. It's better to spent half dolar more and save a lof of time.

combs

I got duped into buying two of these, gross.

Anyone done the pinout comparison to see if we can just pop atmega328 on the boards and call it a day?

* I recognize that this does not make sound economic sense under all conditions

combs

I got duped into buying two of these, gross.

Anyone done the pinout comparison to see if we can just pop atmega328 on the boards and call it a day?

* I recognize that this does not make sound economic sense under all conditions
Tried it. No dice

quarky

Got myself a few WAVGAT Pro Minis, probably should have looked into them before buying...
I did find out that out of the box, the serial runs at 1/4 of the speed you ask for (if the sketch says 9600 baud, the monitor needs to be set for 2400). For those of you getting question marks in the serial monitor, this is probably the issue. This lines up with the whole blink-too-slow thing, which my boards also do. Weirdly, the chips do claim to be standard 328Ps.
I've got the IDE set to "Arduino Pro or Pro Mini, ATMEGA328P (5V, 16MHz)". Interestingly, the back of the board says 5V/3.3V - wonder if I need to change the IDE if I run the board on 3.3V? Right now everything seems to be 5, so all is well (digital output pins appear to get to 5V just fine).
Tempted to try programming the bootloader - I'm reluctant to install random board packages from a Drive link, y'know?

KASSIMSAMJI

got tricked running into buying these craps too, 50 pcs, actually i am not going to risk using them in my projects for now
Electrical Engineer

surveyranger

I've got the IDE set to "Arduino Pro or Pro Mini, ATMEGA328P (5V, 16MHz)". Interestingly, the back of the board says 5V/3.3V - wonder if I need to change the IDE if I run the board on 3.3V?
I wouldn't recommend that as the board is more than likely 5V.  The problem is mentioned earlier in this thread.

Tempted to try programming the bootloader - I'm reluctant to install random board packages from a Drive link, y'know?
Yeah, the Drive link is a little suspect.  However I downloaded it, pasted the files into /Arduino, and updated the files as mentioned earlier in this thread which worked.  I ran it through a couple antivirus & malware programs which came back negative.  I had to use an earlier version of the IDE, 1.8.6 I think.  

If you get these things to work, then please post back with an update.  Good luck!

connectable

Hi All,

I recently purchased 2 of the WAVGAT Pro-Mini 328P 3.3/5v boards.
I experienced the same problem as others have noted on this topic.
First off - the processor is re-marked by WAVGAT, and it isn't an Atmel AVR, as others have noted, it is one of the series LGT8FX8P - the 32pin package.
My advice is don't waste your time downloading and attempting to use the WAVGAT hardware board/libraries stuff - it just about works - when it has been edited.

There is a library: https://github.com/LGTMCU/Larduino_HSP#summary

which supports the 32pin variant on the WAVGAT pro-mini, and this works 'out-of-the-box' including a correct clock rate - a fault noted elsewhere on the forum, where the apparent clock speed is 4X slower than normal.
The remaining problem is the one-time-only upload which doesn't require pressing the reset switch. Timing manual reset is relatively easy, but maybe uploading the supplied bootloader to the pro-mini will fix the problem.
Others have noted, and I can confirm here, that the GND terminal of the 5v regulator on the board is floating - spelling possible disaster if an excessive RAW supply is used. I fixed this by connecting the middle pin to GND with fine Kynar wire. I can also confirm that the chip 'works' with any voltage on it's VCC between 1.8 and 5 volts (tested with the regulator GND floating) - hence the rather dubious double voltage printed on the board, and also mentioned in adverts. Perhaps this is the reason the regulator is not connected? Very shabby.

I bought these to have the advantage of more memory than the 128 version, but in a similar form-factor. I won't be buying anymore.


pert

Thanks for the information connectable! I'm glad to hear about your experience with Larduino_HSP. When I first discovered it, I was quite excited because it appeared to be written by someone operating at a much higher mental level than the WAVGAT crew (which isn't saying much). I made an initial contribution to the project with the idea of doing more. However, I became disillusioned when I found this:
https://github.com/LGTMCU/Larduino_HSP/issues/2#issuecomment-455938198
Quote
Larduino-HSP from github is not support LGT8F328D series
Yet, their package has two LGT8F328D boards... I simply can't imagine why someone would create boards definitions for boards that aren't supported by the package. However, the LGT8F328P seems to be more common and it sounds like at least Larduino-HSP does support that chip.

the processor is re-marked by WAVGAT, and it isn't an Atmel AVR, as others have noted, it is one of the series LGT8FX8P - the 32pin package.
What do you mean by "re-marked"? Are you saying that they changed the marking on the chip to make it look like an ATmega328P? Did the product listing you purchased from claim the board used the ATmega328P, with no mention anywhere of it actually being LGT8F328P?

BJHenry

What do you mean by "re-marked"? Are you saying that they changed the marking on the chip to make it look like an ATmega328P? Did the product listing you purchased from claim the board used the ATmega328P, with no mention anywhere of it actually being LGT8F328P?
I'm not the person you quoted but the IC on my board was definitely marked as an ATMEGA328 and it definitely wasn't. The surface finish wasn't the normal bumpy shiny surface, it looked like it had been sanded down and then re-laser etched.
The sale listing definitely said it was an ATMega328P- it was this one here.
An interesting point is that the sale listing shows a 16MHz crystal for the Mega, but the actual board I got had the typical 12MHz crystal.

pert

Wow. How scummy! I just don't understand how they think they're going to get away with that. The price on their products is reasonable. The LGT8F328P is an interesting chip. I wish they would just be honest about what they're selling. I recently bought a couple of the LGT8F328P Nano derivatives to play around, with since this sort of topic is coming up on the forum very frequently. I made sure to buy from a seller who provided accurate information in their listing.

BJHenry

Exactly, and it strikes me as a strange way to do things. Goodness knows there are enough 'Arduino compatible' products out there that use different microcontrollers but can still be programmed through the Arduino IDE. They should be advertising the fact that their product has some hardware features that a regular Uno doesn't, not trying to fool people into thinking it is a standard Uno.

windoze

I unsuspectingly bought some of these WAVGAT Nano 3.0's. Undaunted, I have dug about and found a few resources that help immensely if you want to hack them. I posted them in this topic as it was what helped to get me started:

https://forum.arduino.cc/index.php?topic=572510.0


I don't think the chip designer intended to make a cheap knock off of the ATMEGA328, I think it was designed as a superior processor designed for white goods manufacturers. The lack of an english language datasheet is what is stopping more widespread adoption. There is a Google Translated version of the Chinese language datasheet in one of the links I posted. As these things run on an internal 32Mhz clock I'm hoping to see some software soon leveraging the performance.

windoze

dekip, If you have not already solved your problem can you make sure you have configured the IDE correctly for the processor. See Sjlver's post https://forum.arduino.cc/index.php?topic=572510.0


I have got I2C OLED's running with serial on a WAVGAT Nano. Peter Blatch with his oscilloscope in a matchbox has a sketch published that works when you make sure the ADC4 and ADC5 digital inputs are not disabled.

https://www.instructables.com/id/Oscilloscope-in-a-Matchbox-Arduino/

Good luck!

Go Up