There are so many methods and examples on the internet that can be copied and pasted into your Arduino IDE to connect a microcontroller to WiFi and execute some code. There are a lot. But they all rely heavily libraries (which hide all the real code that's going into their functionality), so we dont really get a chance to see the steps needed to connect to WiFi. There are so many libraries out there, but I dont know how to use them in the first place, because I cant find any guides online that tell me what the steps are and in what order they need to be executed.
There's DNS, TCP, HTTP...there's network connection, parsing...so what code does the microcontroller need to access WiFi at its most basic level?
My project is just a simple LED lighting up at the push of an HTML button. Ive copied my code from the internet and it works, but when I look at the code to really understand what's going on, all the functions are referencing stuff in the library that I cant see, so I cant seem to make sense out of the code. The example code uses so many libraries, I have no idea which are being used when...
What I am looking for is a list of the bare bones necessary steps to use arduino/node MCU/any microcontroller to WiFi. Not for any project in particular, just for my own understanding of what's going on within the example codes I have been looking at...
Example:
1. connect to network
2. request port 80
...etc
There's DNS, TCP, HTTP...there's network connection, parsing...so what code does the microcontroller need to access WiFi at its most basic level?
My project is just a simple LED lighting up at the push of an HTML button. Ive copied my code from the internet and it works, but when I look at the code to really understand what's going on, all the functions are referencing stuff in the library that I cant see, so I cant seem to make sense out of the code. The example code uses so many libraries, I have no idea which are being used when...
What I am looking for is a list of the bare bones necessary steps to use arduino/node MCU/any microcontroller to WiFi. Not for any project in particular, just for my own understanding of what's going on within the example codes I have been looking at...
Example:
1. connect to network
2. request port 80
...etc
Last edited: