Design and build a wired &/or wireless network connecting at least two processors
I decided to use two Arduino boards for the Networking project. I laso used breadboard, press button, LED - Green and a resistor
Connecting two or more devices either wired or wirelessis an awesome way to help you create communications between them, It has been used and at advance level to control amazingly and cool projects for example A web controlled coffee maker IoT gas leakage meter, Smart Most connections of late are connected through internet.
Connecting the Microcontroller to the Internet can be achieved through the following ways Wifi---Esp 8266 , Adafruit cc3000 wifi module, Arduino Wifi shield, Broadcom Wifi shield In more advanced boards like Raspberry pi, Beagle bone black –A wifi dongle (Usb wifi dongle is used) For Intel Galileo ,A wifi Card that is PCI compatible is used ie the Centruino Wireless cards Other boards like Intel Edison, LinkIt One, Arduino Yun, ESP thing (Sparkfun) have built in Wifi Ethernet—This is also another way to connect the microcontrollers to the internet,It uses a normal Ethernet/Lan cable which you are familiar with .This is pluged into your router/Whereever you get your internet. GSM- The Arduino and other Microcontrollers also uses gprs to connect to the internet. This will require a GSM/GPRS shield with a sim card which had data …..
Requirements
Esp8266 Wi-Fi communicates to the Arduino via UART Software FTDI drivers downloaded from FTDI Drivers Putty downloaded from Download Arduino Software
const int buttonPin = 2; const int ledPin = 8; int buttonState = 0; void setup() { pinMode(ledPin, OUTPUT); pinMode(buttonPin, INPUT); } void loop() { buttonState = digitalRead(buttonPin); if (buttonState == HIGH) { digitalWrite(ledPin, HIGH); } else { digitalWrite(ledPin, LOW); } }