WiFi module for Arduino uno rev 3 not working, help.

Hi, I am new to using arduino just bought my first one yesterday, and I also got an WiFi module.
The "arduino" I got is another brand but should be the same as the Arduino uno rev 3 and I got the ESP8266-01 wifi module.

I've tried doing some simple examples projects following some youtube videos, and all ones have worked no problem.

What I am trying to create is a simple magnetic door switch when its opened I get a signal to my computer.
Getting the magnetic door switch wired with the Arduino and getting a led to light up when the magnetic switch opened worked no problem.

But to set up the wifi module, I cant get it to work.

I have spent hours and hours watching tutorials reading all I can find to trying everything to get this to work, but no luck.

I don't know If I am doing something wrong (probably) or if something is broken.

This is the instructions I am trying currently:

Video of my arduino setup:

Code:

For the "Arduino" bord I use 12v DC in and usb from my PC.

Different from the Example sketch is that I use 2K instead of 3K resistors for R2,R4 and 1K for R1, R3.
(2K on left side in the video 1K on the right side)

The led of the WiFi lights red constant, I don't know what that means, and the blue led on the wiFi module lights up whenever I upload a sketch to the arduino.

Thanks, in advance, any help is really, really appreciated.

did you set the baudrate in AT firmware to 9600? it is not default

Juraj:
did you set the baudrate in AT firmware to 9600? it is not default

no I have not changed it, what is the default 115200?

I changed it to 115200 in code now?not that It really made any difference, if I try to send command in the serial monitor nothing happens.

what do you expect to see on Serial Monitor? you have USB and esp both connected to UART. what you send to esp from Atmega TX can be seen on Serial Monitor, but what esp sends to Atmega goues onto Atmega and to USB chips TX pin (TX!).

the skech on the screenshot uses SoftwareSerial for console. It would require to have USB TTL adapter on pins 8 and 9 and Serial Monitor on COM port of that adapter, not on COM port od Uno USB

I don't know, I am just trying to get some type of indication of anything working or not, the videos I have seen sending commands like AT or AT+GMR etc gives a response in the serial monitor.

put empty sketch in atmega, connect esp to uno TX to TX, RX to RX and then you can talk with AT commands to esp from Serial monitor.

do you get the RX TX play? 3 devices USB, Atmega, ESP. every device has RX, TX. only two of them can be connected RX to TX, TX to RX to talk both ways

Yes that finally worked got a response AT+GRM , however only when I connected the esp8266 directly to the Arduino without using a resistor voltage divider for the RX and TX, and from what I have read the RX and TX on the ESP is only 3.3v and from the Arduino the RX TX is 5V and running it directly will burnout the ESP after a while?

AT version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
Ai-Thinker Technology Co. Ltd.
Dec 2 2016 14:21:16
OK

yes. buy a level shifter if you plan to use them together. or buy a board with both mcu on board with level shifted connections.