3 votes
Accepted

Cannot compile code from Arduino WIFI shield example

Those kinds of errors are usually caused by the selection of an incorrect hardware in the IDE. Choosing a correct board in the IDE will solve the compilation issue. Since you said that you used the ...
jsotola's user avatar
  • 1,515
3 votes
Accepted

Connecting Web Server in GoDaddy Hosting

I have a domain. Congratulations. It is hosted by GoDaddy. You have my deepest sympathies. I need to connect that server and receive some data by executing PHP files. I am not sure about the ...
Majenko's user avatar
  • 105k
3 votes

MD5 Password in Sketch

I use Tzapu's WiFiManager https://github.com/tzapu/WiFiManager. That starts your ESP as a WiFi access point (AP mode) which presents a web page at http://192.168.4.1 where you enter your WiFi SSID ...
Dougie's user avatar
  • 290
3 votes

Make OTA work with Arduino Uno Wifi

What Arduino board are they referencing in the guide linked above, that we can just connect to out of the box? The first Uno WiFi was made in 2016 by arduino.org. It is retired and not available in ...
Juraj's user avatar
  • 18.1k
3 votes
Accepted

'TCCR1B' was not declared in this scope

While writing this answer, I found out about the register emulation of the Arduino Uno Wifi. The Uno Wifi is a different chip, than the Uno, thus you have different registers. But the Uno Wifi was ...
chrisl's user avatar
  • 16.3k
3 votes
Accepted

Setup loops: never enters loop - restarting?

You can tell that something is going wrong between your println. Some advice in this case: eliminate the String entirely and replace the println with a series of print. This would let you narrow down ...
Chris's user avatar
  • 144
2 votes
Accepted

MD5 Password in Sketch

Can I store an MD5 password hash instead No. MD5 is a "trapdoor" algorithm. It's one-way. You can make a hash from a password but you cannot make a password from a hash. You could AES encrypt it, ...
Majenko's user avatar
  • 105k
2 votes

Arduino uno wifi rev2 stuck inside loop

/* hardware libraries*/ #include <Key.h> #include <Keypad.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <Servo.h> /*Wifi and request libraries*/ #include &...
imkeVr's user avatar
  • 161
2 votes
Accepted

Can I get around extremely long time to setup WIFI connection WPA2 Personal?

4 even 5 seconds is normal for connecting to WiFi. How long takes your phone or other devices to connect? You can connect a little faster with static IP address. EDIT: With WiFiNINA library for Uno ...
Juraj's user avatar
  • 18.1k
2 votes

Selection of module for person following shopping cart

Bluetooth beacon. Use "bluetooth positioning arduino" as search terms. Bluetooth beacon is a way to achieve the same as a GPS can do outdoor. By placing beacons around the room you can find ...
Mats Karlsson's user avatar
2 votes
Accepted

Monitor two baud rates

Your computer can not see what is going over the WiFiBoard serial connection because that connection has nothing at all to do with the connection to your computer. If you want your computer to see ...
Majenko's user avatar
  • 105k
2 votes
Accepted

Run function concurrent to server.available()

There is no “parallel” on a single core arduino. All you need to do is program both things in a non blocking fashion. Don’t use delay or while loops waiting on things and you can do both things so ...
Delta_G's user avatar
  • 3,270
2 votes

Send values from Arduino Uno to Wemos D1 R1

I agree with @Offer that using UART is the simplest solution to connect the devices. I just want to suggest two alternatives: Use an external analog to digital converter IC. Using the Arduino only ...
Sim Son's user avatar
  • 1,859
2 votes

Send values from Arduino Uno to Wemos D1 R1

As I see it, the most straight-forward way to connect 2 Arduinos is using their built-in UART (aka Serial port, TX/RX pins) communication. There are many tutorials on this on Google, and a similar ...
Offer's user avatar
  • 107
2 votes

Problem with using PubSubClient, the "callback" function doesn't seem to work correctly

From the PubSubClient library documentation: Internally, the client uses the same buffer for both inbound and outbound messages. After the callback function returns, or if a call to either publish or ...
Bra1n's user avatar
  • 1,008
1 vote
Accepted

Thermistor returns correct value on Arduino Nano, completely fails on Arduino Uno Wifi Rev 2?

The Arduino UNO WiFi Rev2 defaults to an internal analog reference of 0.55V where the classic (non-"Every") Nano defaults to the external VCC voltage as a reference, which is usually around ...
timemage's user avatar
  • 5,221
1 vote

Arduino recieve sensor data from other arduino SPI

Well had a bit of luck after spending all day on this. Arduino UNO (sender): Like mentioned by chrisl, use Serial.write and not Serial.print mySerial.write(sonar.ping_cm()); UNO Wifi (receiver): ...
foxtrot22's user avatar
  • 121
1 vote

Arduino analog input to iphone notification

It is totally doable, but we cannot give detailed tutorials here, since this is a simple Q&A site. So I will point you to a direction, that can lead you to the solution. When building IOT devices ...
chrisl's user avatar
  • 16.3k
1 vote
Accepted

Arduino Wifi Rev2, bug when reading PWM duty cycle value on pin 6

Arguable bug location The problem appears to be here in the analogWrite() code: timer_B->CCMPH = val; I suppose it could be argued that you're using the timer in an way unintended by the ...
timemage's user avatar
  • 5,221
1 vote
Accepted

Run method every hour

An Arduino Uno doesn't have a Real Time Clock, but you could contact a NTP time server on the internet using the WiFi shield you mention, and get the time from there, and then keep track of time using ...
ocrdu's user avatar
  • 1,775
1 vote

Uno Wifi Rev2 Programming via Uno R3 ArduinoISP

The new generation of AVR chips created by Microchip no longer use the same ICSP protocol as the old ones. Instead they use a new protocol called updi. You need to use a different sketch and wiring to ...
Majenko's user avatar
  • 105k
1 vote

ESP8266 RF Calibration

You can't do anything else with the RF calibration then to clean the flash area where it is stored. There are two reason for doing it: First is reason to delete the RF calibration area is, if it was ...
Juraj's user avatar
  • 18.1k
1 vote

I'm getting an error while uploading my code to esp8266 via an arduino (FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error)))

You need to set esp 8266 to flash mode. Please connect en PIN to Gnd pin. Then flash again.
Jaber Zare's user avatar
1 vote

Can I get around extremely long time to setup WIFI connection WPA2 Personal?

For a proof-of-concept, use two Arduinos, one for WiFi and one for everything else. The everything-else Arduino can keep your system responsive (minus the WiFi, of course, during connection time) and ...
JRobert's user avatar
  • 15.3k
1 vote

Uno Wifi rev2 - after long time it disconnects

As you have not given the details there are some things to check is your Nina-Firmware > 1.2.4 If not update to the latest 1.3.0 via the WiFi101-FirmwareUpdater-Plugin 0.10.10 is included in the ...
Codebreaker007's user avatar
1 vote
Accepted

Solution needed for sending HTTPs requests from multiple Arduino units in the field

For secure TCP connection with WiFiNINA library use WiFiSSLClient instead of WiFiClient. The Arduino firmware in the NINA ESP32 module has certificates of well known CA authorities so the server's ...
Juraj's user avatar
  • 18.1k
1 vote

MD5 Password in Sketch

I laud your intention and wish there were a good solution on the ESP8266 for what you're trying to do. MD5 is a one-way hash function, so you won't be able to simply recover the original string to ...
romkey's user avatar
  • 1,554
1 vote

Arduino uno wifi rev2 stuck inside loop

Although I can not verify my code, I tried to modify your program. Probably it does not compile and you have to do some corrections. I changed it in a way I would expect it to work and hopefully I ...
Peter Paul Kiefer's user avatar
1 vote
Accepted

What is ECC608 crypto chip accelerator used for in Arduino Uno Wifi rev2?

The library for the chip is ArduinoECCX08. It is used by the ArduinoBearSSL library. The ArduinoBearSSL is used by the ArduinoIoTCloud library and Arduino_OAuth library. .
Juraj's user avatar
  • 18.1k
1 vote
Accepted

strcat parameters throwing pointer errors in my tcp server / parser application

strcat is a function to concatenate strings. It expects a char array as second parameter. You have only a single char newChar to add to your string. size_t l = strlen(inputs[i]); inputs[i][l] = ...
Juraj's user avatar
  • 18.1k

Only top scored, non community-wiki answers of a minimum length are eligible