3

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 components. Tutorials on internet describes how to control esp8266 from web server which is i do not want. "Controlling" an ESP8266 from a web server is ...


3

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 fast it seems like they are parallel. Put a call to server.available() in loop and then if it returns an invalid client object then the rest of the loop runs. If ...


3

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 Arduino.cc online editor, I pasted your code into the editor. You did not say which Arduino board or which WiFi module you are using, so I chose Arduino Uno ...


3

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 thought as a drop in replacement, so register emulation maps the old register names to the new registers, so that you can basically simply reuse the old code for ...


2

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, but you would need to have the AES key in your sketch to decrypt the password, which just moves the problem elsewhere. Typically in a real-world situation you ...


2

/* hardware libraries*/ #include <Key.h> #include <Keypad.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <Servo.h> /*Wifi and request libraries*/ #include <SPI.h> #include <WiFiNINA.h> #include <ArduinoJson.h> #define HIGH 0x1 #define LOW 0x0 /* wifi credentials*/ char ssid[] = "sidd"; //...


2

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 stores. How can I get OTA support for my particular board? The OTA support for Uno WiFi Rev. 2 is ready or almost ready, but the required additions are not ...


2

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 and password. It then stores the password and restarts WiFi as a station (STA mode). On restart if the password is already stored then it just connects as a ...


2

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 WiFi Rev.2, you can change the connection timeout with WiFi.setTimeout(). The default is 5 seconds. WiFi.begin() can end with WL_CONNECT_FAILED but if you ...


2

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 your position in 3D space. So a beacon locator on the shopping cart (Arduino with BLE module or a ESP32) and one on you (mobile phone) and then some central ...


2

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 what is being received on that port you must read the data from that port then send it to your computer. It doesn't (much) matter about the difference in baud ...


2

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 with Arduino (and thats exactly, what you are doing) there are 2 internet services, that are commonly used for getting information from the device to other ...


2

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 for analog conversion is a bit over powered. E.g. the ADS1115 has a resolution of 16 bits and there's already a library, so usage should be easy. The ESP8266's ...


2

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 explanation can be found in this question: Serial communication arduino mega and D1 Wemos Mini However, there is a slight difference. Arduino Mega has built in ...


1

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 5V, often a little lower because of the diode it uses between USB and "5V". Either you need to be using the same voltage reference by selecting a ...


1

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 Arduino megaavr core, but I think it's reasonable to consider this as a bug that should be fixed in the core. 16-bit hardware register access and analogWrite() ...


1

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 millis(). Every so often, you should adjust the time with a new call to the NTP time server, because the Arduino's clock isn't all that accurate. The easiest ...


1

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 turn your Arduino into a suitable programmer. More information can be found here about how to do that.


1

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 written by different version of Espressif SDK, including changing between AT firmware and Arduino. Then it is almost always wrong. I think they changed the data ...


1

You need to set esp 8266 to flash mode. Please connect en PIN to Gnd pin. Then flash again.


1

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 poll the WiFi Arduino periodically (without blocking) to find out when WiFi becomes available.


1

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 ArduinoIDE 1.8.12 or greater Disconnect before you reconnect (in case of router drop-outs) and Close any connection before sending/receiving. This will free the ...


1

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 certificate verification should work. If necessary, you can add public keys of server certificates to NINA.


1

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 use in WiFi.begin(). MD5 is also considered to be "cryptographically broken and unsuitable for further use" as of 2008. So if you're concerned about more than ...


1

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 understood your intentions. At least we could use this version as a base to elaborate a working one together. #include <Key.h> #include <Keypad.h> #...


1

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. .


1

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] = newChar; inputs[i][l + 1] = 0; Note: It would be better to track the length of the inputs then use strlen. strlen iterates over the array until terminating ...


1

The Arduino Ethernet and WiFi library implementations require to specify the outgoing port with UDP.begin(port) before calling UDP.beginPacket(). But UDP.begin(port) starts listening for UDP messages on this port too, so it is not a clean API. Call UDP.end() to stop listening for incoming messages.


1

If I buy something like the HC-05 how would the chip report itself? As an SPP. I.e., a serial port. How is the bluetooth stack handled with regards to identification and authentication? By the firmware on the HC-05 Does it somehow copy the usb mouse/keyboard setup? No. You need a USB device that can emulate a keyboard. That's not the HC-05. The ...


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