Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

■ INDEX


rename fl ow sheet , 231
updated email node
properties , 235
objectives , 214
software requirements , 215
source code , 217
calibrateSensor() function , 217
data publication , 219–220
external libraries , 217
Internet connectivity
(Wireless) , 217
read sensor data , 217–218
readSensorData()
function , 217–218
standard functions , 220–221
tasks tab , 238
Wired connectivity (Ethernet)
circuit , 16–17
code (Arduino)
external libraries , 17
Internet connectivity , 18–19
standard function , 19–20
types , 17
hardware components , 16
log messages , 20
software requirement , 16
Wireless connectivity (WiFi)
Arduino Uno
circuit , 21–22
code (Arduino) , 22
connectToInternet() function , 23
external libraries , 22
hardware components
requirement , 21
Internet connectivity , 23–24
log messages , 26
printConnectionInformation()
function , 24
software requirement , 21
standard functions , 25
Arduino Yún
board selection , 31
confi guration , 29–30
external libraries , 32
hardware requirement , 26–27
internet connectivity , 33
login screen , 28
log messages , 34
password screen , 28
port selection , 32


printConnectionInformation()
function , 33
restart button , 30
setup() and loop()
functions , 27, 33
software requirement , 27
source code , 32
standard functions , 33
wireless networks , 27

„ X, Y


Xcode project
confi guration , 155–156
creation , 153
folders and fi les creation , 156–157
screen layout
alignment and constraints
menu , 162
alignment screen , 163–164
align widgets , 162
button properties , 161
constraints menu , 164
default development view , 157
image selection , 159
ImageView properties , 159–160
import assests , 159
label properties , 161
screen layout , 165
user interface widgets , 158
widgets , 158, 163
screen logic
action properties , 167–168
arbitrary loads properties , 171
complete code , 168
didReceiveMemoryWarning()
function , 165
drag and drop label , 166
Info.plist properties list , 169
outlet properties , 166
storyboard , 167
transport security
properties , 170
viewDidLoad() function , 165
template selection screen , 155
Xively project
account dashboard , 256
API keys , 259
channel adding , 259
channel’s setup , 260
development device , 257

Waste management system (cont.)

Free download pdf