Students learn to access and store Arduino sensor data for use in their app.
App Inventor receives Arduino sensor data through the Bluetooth. Students will program App Inventor to recognize the Bluetooth, then separate and store the serial data from the Bluetooth based on a conditional of when the data contains an "|" symbol.
Activity 1 (10 minute budget)
Students learn to connect App Inventor to the Bluetooth.
1. Teacher shows the App Inventor to Bluetooth software connection video (start at 10:48 to 12:15) and models how to program App Inventor to connect and receive data from the Bluetooth.
Activity 2 (1 hour budget)
Students learn to program App Inventor to separate the serial data of all the sensors and store each sensor's data in a list.
1. Teacher shows the App Inventor read separate and store data video (start at 12:15 to 15:00) and models how to read, separate, and store the sensor data from the photo resistive and microphone sensors.