Popis: |
Arduino shields can offer sophisticated functionality, such as the connection to a smartphone that will be explored in this chapter. The shield to accomplish this connection to a smartphone is the 1Sheeld+, shown in Figure 12-1. This shield features a Bluetooth connection between the smartphone and the Arduino, as well as an app for the smartphone to facilitate connection. Much of the functions and sensors built into a smartphone can be accessed through the Arduino and hence also to LEGO MINDSTORMS. Two projects are built in this chapter. The first, called the Tilt Mimic, will use a LEGO motor to tilt a Technic liftarm to the same angle of orientation of the phone. The second invention, called the Intrusion Monitor, uses a MINDSTORMS Ultrasonic Sensor as a trigger for a smartphone to take a picture and send a notification email message. |