Can arduino uno atmega 328p connect to wifi without esp8266 module?

Hello,

First, is Arduino uno different from atmega? I'm really confused since that is what i'm always seing in articles from google whenever I search about arduino uno. I'm using Arduino uno(just uno, or rather with atmega328p) as a board and in Arduino IDE 1.8.9 can't seem to connect to wifi whenever I run its code, is esp8266 really necessary when I need to connect to wifi and request an HTTPClient?Use code tags to format code for the forum I want to insert a code to connect to a wifi but can't seem to know how, I'm still knowing on how this work, hopes still help me. Anyways, the code works like <code/Use code tags to format code for the forum>
const char* ssid = ssid wifi;
const char* pass = wifi pass;

WiFi.begin(ssid, pass);

Blockquote

if(WiFi.status() != WL_CONNECTED %%(timeout-- > 0()){
Serial.print(".");

that and goes on with another if statement and that is if the wifi didnt connect then it has Serial.print("Failed to connect");

Atmega328 is a controller, Arduino Uno R3 is a board that used this controller.
Atmega328 doesn't have a Bluetooth or Wi-Fi module, so you need an external hardware to connect Wi-Fi

Oh I see, and that will be the ESP8266, right? if I use ESP8266 will its library be used too? I tried using its board in Arduino IDE even though I'm using Arduino uno and I only get no such file directory even after I install its library

If you want to do WiFi skip the UNO and get an esp8266 or esp32 board.

can I have a fingerprint scanner too? like r307 model. I was hoping for a board that can support both wifi and a scanner. My arduino Uno(current board) has only 1 3.3v but I need two, one for scanner and one for esp12f wifi module.

So get another 3v3 module, not rocket science. Plenty available for tuppence.

All you need is the ESP8266 (or similar) module. There is no need for any other board. Fingerprint Scanner and ESP 8266 module example can be found here.

The modules are very inexpensive and again that is all you need. You can easily modify the code I linked to do whatever you want.

Ron

UNO's have more I/O and they don't have "boot pin" considerations. Using an ESP01 for WiFi/Cloud access, via Serial comms (similar to using HC-05's) is sound.
FWIW, there's the Arduino Nano ESP32 - as well as other Arduino dev boards with their own onboard WiFi capability.

If you want WiFi and fingerprint sensors, you should probably consider an arduino board that is more powerful than the Uno R3.
Even if you connect a WiFi module and the sensor, the atmega328 will barely have enough memory to do anything with them.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.