Go Down

Topic: Arduino Wifi Module (Read 240 times) previous topic - next topic

appleshop

Good day! I'm new in this forum. We have a project in Industrial Automation and we are asked to control a Variable Frequency Drive wirelessly using an arduino. My question is that is it possible to transmit data  using arduino wifi module and pass it using a router then receive that data using another arduino wifi module? Thank you and have a good day!

Gab

pert

Yes, it's definitely possible.

davidrh

The wifi module library will usually come with an example of the Arduino acting as a client and as a server.  In your case, one Arduino will be the client and the other one will be the server.

If you don't have to use wifi, have a look at other alternatives like the NRF24L01 which are cheaper and remove the need for the wifi router.

appleshop

Hello! Thank you very much for replying on my thread. I'm having a hard time finding a thread something similar to my case that has the proper program and schematic diagram.

P.S. Correction on the WIFI MODULE. It should be WIFI SHIELD. Is it still possible? Thanks!

Gab

pert

P.S. Correction on the WIFI MODULE. It should be WIFI SHIELD. Is it still possible?
Yes.

I'm having a hard time finding a thread something similar to my case that has the proper program and schematic diagram.
Which WiFi shield do you plan to use? There are different ones. Which one you use will affect the program necessary to use it. Generally the idea behind shields is that you don't need a schematic, you just plug the thing into your Arduino and start using it but actually it's nice to know which pins on your Arduino the shield is using. Some shields do a better job of documenting this than others.

appleshop

Hi! Thank you for replying. The shield that I'm about to use is WeMos® D1 R2 WiFi ESP8266 :)

pert

Despite some of the listing titles calling it a shield, that is not a shield. It's a standalone board. A shield is a circuit board with some circuitry on it that can be plugged into an Arduino board to give it new capabilities. The shields have male pins on the bottom that match the female headers on the Arduino so it plugs right in. The WeMost D1 R2 is a ESP8266 based board in an Arduino Uno form factor.

One thing you need to keep in mind with this board is that it uses 3.3 V logic levels rather than the 5 V logic levels of the Uno and other common Arduino AVR boards. Most 5 V devices can interface with a 3.3 V input correctly. There is some concern about sending 5 V signals to the inputs of the 3.3 V ESP8266. There is some evidence that it may be 5 V tolerant but I don't consider it to be conclusive. It's fairly easy to shift the voltage levels.

Another thing to consider when directly programming the ESP8266 is that some of the popular libraries or example codes are written specifically for the more common AVR architecture and will not work on ESP8266. There is fairly good support for ESP8266 but you may want to check that any code you're planning to use with that board is compatible.

Delta_G

There is some evidence that it may be 5 V tolerant but I don't consider it to be conclusive. It's fairly easy to shift the voltage levels.
It's inconsistent at best.  I fried three of them because the first one did work with 5V so I assumed that they all would.  Putting level shifters on saved the rest.
If at first you don't succeed, up - home - sudo - enter.

Go Up