Simple Arduino temp web

Hello,

I would like to build a very simple project, yet after searching online I was more confused than before.

So, I have an clone arduino mini and bought also this THIS

Basically, I would like the arduino to measure Temp and Humidity (with a dht22) every 5 minutes, using delay and not a clock, and then update webpage (192), nothing too fancy saying:

Temp: 25.2 C
Humidity: 85%

Anyone that can guide me also to proper how or books on that to is more than appreciated.

Thank you in advance, Johnny.

Here is a tutorial on setting up a webserver on an Arduino.

Thanks ,but this requires a ethernet module, not wireless.

giannisprok:
Thanks ,but this requires a ethernet module, not wireless.

The example shows how to setup a webpage very similar to what you want, so you should be able touse a lot of the code.

It does use an ethernet module rather than wifi but both are just providing an IP connection.
Did your wifi module not come with documentation on how to use it, can you not find any with google?

Hi Johnny,

giannisprok:
I have an clone arduino mini and bought also this THIS

That is a bad place to start. The Pro Mini is probably 5V (3.3V Pro Mini are available) and the ESP module is 3.3V, so level shifters will likely be needed. A 5V Pro Mini has a 3.3V pin but it cannot supply enough current to run the ESP. The ESP chip is itself programmable using the Arduino IDE and outclasses the Pro Mini in almost every respect - ram memory, program memory, speed. It has fewer pins, but it sounds from your project that you don't need many pins.

Save yourself much trouble and complexity now, before you start. Get a Wemos Mini. Save the Pro Mini for another project.

Have a look at my sensors here.

PaulRB:
Save yourself much trouble and complexity now, before you start. Get a Wemos Mini. Save the Pro Mini for another project.

I do have that as well.
https://www.ebay.co.uk/itm/OTA-WeMos-D1-CH340-WiFi-Development-Board-ESP8266-ESP-12E-F-Arduino-IDE-UNO-R3/152231915913?hash=item2371bab189:g:ceoAAOSwRYtaywwH

I just thought that with the adapter it would make no difference. Nevertheless, I had order a wemos just in case things didnt work out.

The ESP8266 beginners guide has information on setting up the IDE to program the ESP with the IDE and a lot of information on using the ESP as a server and client.

Thanks, but I am a beginner with wifi and etc. I do the basic arduino stuff and cant really understand thus I need something more to guide me with wiring, code, examples, so I can work a bit, mess the code and then move to something more difficult.

Wemos mini is pretty much as easy to use as a Pro Mini for many projects. But for projects that need WiFi it is much easier than the Pro Mini, because everything is built-in.

With Pro Mini you need a usb-serial adaptor and a breadboard adaptor for the esp-01. If the Pro Mini is 5V (16Mhz) you will also need a logic level convertor module and a 3.3V regulator module.

With the Wemos, you just need the Wemos and the dht22.

I never said write me the code, just instructions relevant to what I have.

It is the same as asking me about financial things, like NDF. I will guide you to exactly that, nothing more nothing less.

For this that I am asking is just a basic code, covering how to code the mini with esp or wemos. Your links are nice but the fact "ethernet module is almost the same" or "you have all Info" is the same as "for your 401k read the official guide... not really relevant.

Anyway, thank you.