antenna for esp8266

How do i make a antenna for esp8266 range extending, and which pin of nodemcu is connected to antenna

Split from a totally unrelated topic in completely the wrong section of the forum

What made you think that your question had anything to do with the workings of the website and forum ?

DO NOT HIJACK TOPICS
If you have a new question then start your own topic

A Google serach on 'nodemcu external antenna' pointed to this post, amongt others;

'Making' antennas for 2.4Ghz is not trivial, and you would likley need something like a vector network analyser to test what you have made.

Although replacing the PCB antenna with a simple 1/4wave wire might be worth a try, that is easy enough to build, but it looks like you would need to hack the nodemcu around.

Range extending would only be of any use with a more directional and external antenna.
If your ESP does not have an external connector of any description then you should avoid hacking it as you may cause unwanted interference to other devices and possibly kill the TX section of the ESP with a bad SWR.

Buy one that does have the external connector would be my advice as you can then buy OFF THE SHELF antennas for testing the range / direction.

As pointed out by srnet you are getting into an area of the radio spectrum where antenna design can be super critical and may need quite specialised equipment to test / set up an antenna.

If you don't know what SWR means then it is doubtful you are ready to play with antennas !

The nodeMCU has an ESP-12 module which is not designed to be used with an external antenna.

You have to use an ESP-07S for example, that one doesn't even have an antenna on board (but actually does connect to WiFi quite well without one attached, interestingly). It comes with a small connector specifically for an external antenna.

Unfortunately no convenient development boards like NodeMCU that I'm aware of, however the modules are pin compatible so you may be able to swap them out (removing the ESP12 from the NodeMCU board is the main challenge).

The WEMOS D1 Mini Pro has an external antenna connector.

Now generally the boards with the external antenna connector as well as the "Zig-zag" on-board antenna, have a zero ohm resistor as a link to disconnect the built-in if you plug in an external.

I wonder what OP is trying to do.
Most aerials on WiFi modules are designed to work in (almost) all directions, so you can also use it portable.
And that is of course at the cost of distance.
An external (directional) aerial could increase distance, but at the cost of reduced footprint.
Leo..

Lots of information on Antennas here: Youtube Link

I have found some of the cheap eBay antennas sold for wifi do not work at all well and I strongly suspect (but am not able to test) that they are for a different frequency.
BTW-I find esp32cam modules especially require an external antenna if in any kind of box or even if anything such as a circuit board is anywhere near it's onboard antenna

alanesq:
BTW-I find esp32cam modules especially require an external antenna if in any kind of box or even if anything such as a circuit board is anywhere near it's onboard antenna

But that is absolutely basic RF principles.

Once you know the component - the "Zig-zag" is in fact an antenna, it entirely goes without saying that it will not function if you place anything near it or enclose it in any fashion.

Do you place your TV antenna inside a cupboard?

Paul__B:
Once you know the component - the "Zig-zag" is in fact an antenna, it entirely goes without saying that it will not function if you place anything near it or enclose it in any fashion.

Do you place your TV antenna inside a cupboard?

This explains why my cellphone doesn't work when I am indoors, stupid me!

My other esp32 dev. boards tend to work fine in a plastic case etc. but the esp32cam modules are very sensitive to this

I think a rule of thumb is
No application = all speculation
Classic X/Y project.

alanesq:
My other esp32 dev. boards tend to work fine in a plastic case etc. but the esp32cam modules are very sensitive to this

Probably because the antenna section is already sandwiched too close to another PCB.

Paul__B:
But that is absolutely basic RF principles.

Once you know the component - the "Zig-zag" is in fact an antenna, it entirely goes without saying that it will not function if you place anything near it or enclose it in any fashion.

Do you place your TV antenna inside a cupboard?

Well... normally not... however...
Last year I built a project based on an ESP07 module (with the ceramic on-board antenna). It had to be placed inside a metal (stainless steel on five sides and aluminium on the sixth) container, common sense told me there would be no chance of WiFi communication to that point so I placed the module in the middle of the PCB to make overall routing easier, ground plane under the antenna, etc. Lots of connectors on that board as well, a massive bundle of wires all over the place.
When installing the project, to my great surprise I had excellent reception on the outside with just the on-board antenna! I still don't understand how this was even possible. There were some openings for wires but those went to other parts of the metal structure. It was all in all pretty much solid stainless steel sheets all around. In the end I didn't even bother connecting the external antenna I had prepared for it... it was just not necessary.
The world of RF is full of surprises :slight_smile: