Arduino UNO WiFi

Hello everybody.

I'm using the latest Arduino UNO WiFi board to connect to a php script running on an Apache server launched in the XAMPP environment.

I'm using the Ciao class to make an http request to that server. Most of the time the communication succeeds, however, out of nowhere comes a bad request error.

I've attached an image with the server log.

I've tried to connect to a Tomcat server with a similar arduino code and the same error appears.

What could be causing this problem?

RestClient_Experiencia.ino (2.63 KB)

you see that the request is bad? empty url

Did you upgrade the Uno WiFi factory firmware to latest version 0.0.3?

I am almost certain the error is because the Uno WiFi factory firmware and corresponding library are buggy and not supported.

Thank you for your reply, Juraj.

I think i have the latest firmware installed.

See the image i attached.

I was asking about firmware not library. Did you do this?

Hello again Juraj.

I updated the firmware from the link you provided, but the error is still present.

The wierdest thing is that this error only appears when I make requests to both php scripts. When I request each one only, this error never appears.

Does this error have anything to do with the size of the url or any token that is present there?

I do not believe that much, but can it have anything to do with it?

If updating the firmware didn't help, than with that firmware it is a dead-end. There are other firmwares for Uno Wifi.

Uno WiFi & WiFi Link unofficial documentation

Okay, I tried to install a new version of the firmware but when I did it, i could no longer upload drafts to Arduino.

The following error messages appeared to me.

The stub uses 5552 bytes (17%) of the program's storage space. The maximum is 32256 bytes.
Global variables use 1125 bytes (54%) of dynamic memory, leaving 923 bytes for local variables. The maximum is 2048 bytes.
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 1 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 2 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 3 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 4 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 5 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 6 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 7 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 8 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 9 of 10: not in sync: resp = 0x16
Avrdude: stk500_recv (): programmer is not responding
Avrdude: stk500_getsync () attempt 10 of 10: not in sync: resp = 0x16

select com port. ota upload doesn't work with WiFi Link firmware 1.0.0

But i selected a com port.

See the image below.

AJPereira:
Okay, I tried to install a new version of the firmware but when I did it, i could no longer upload drafts to Arduino.

specify "new version". you mean the 0.0.3 factory firmware or you did flash WiFi Link? If WiFi Link, what version and approach?

I installed factory firmware version 0.0.2 but it gave me the same results as with version 0.0.3.

Then I installed version 0.0.1 and it was with this version that this problem arose.

There is one thing I think I should report: When I press the reset button, none of the RX or TX LED lights up and when I upload a draft, only the RX led flashes.