CHAPTER10
WiFi
This chapter discusses the following functions of the WiFi library:
- begin()
- macAddress()
- BSSID()
- RSSI()
- scanNetworks()
- SSID()
- encryptionType()
- disconnect()
- config()
- setDNS()
- WiFiClient()
- WiFiServer()
The hardware needed to use these functions includes:
- Arduino Uno
- SainSmart WiFi shield
- DHT11 humidity and temperature sensor
- Breadboard
- Wires
- 10 kilohm resistor
You can find the code download for this chapter at http://www.wiley.com/go/arduinosketches on the Download Code tab. The code is in the Chapter 10 folder and the filename is chapter10.ino.
NOTE The Wireless technology name is Wi-Fi with a hyphen, but in the Arduino library, where it is unable to use hyphens, it is called WiFi. For this chapter, Wi-Fi refers to the technology, and WiFi to the Arduino library capable of using WiFi cards.
Introduction
All aspects of computers have evolved at an incredible rate. A high-end computer from 10 years ago is, by today's standard, easily surpassed by a mobile telephone. Processors, memory, and storage have all increased, and component size has drastically decreased. Mobile computers used to be rare; today, laptop computers are seen just about everywhere, as are tablets, smartphones, and even smart watches. The need for mobility has been driving the industry for years, but the need for data even more so.
Early networks were slow, complicated, cabled systems. Today, Ethernet technology can be found in almost every house. On the back of most Internet modems is a small ...
Get Arduino Sketches: Tools and Techniques for Programming Wizardry now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.