MIT App Inventor Projects: 50+ Android and iOS Apps With Rasberry Pi, ESP32 and Arduino
MIT App Inventor Projects: 50+ Android and iOS Apps With Rasberry Pi, ESP32 and Arduino
Dogan Ibrahim
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 1 • Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.7 Project 2 – Using a Button, a Label, and Text Boxes – Language Translation . . . . . 32
3.15 Project 10 – R
eading a Message and Sending a Reply Message
Automatically when Busy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
●5
3.24 Project 19 – Global Positioning System – Latitude, Longitude, Altitude, and Speed 70
3.31 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Chapter 4 • M
IT App Inventor projects using mathematical &
logical operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Chapter 5 • R
aspberry Pi 4 – specifications – setup –
installing the operating system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
●6
5.8.3 Method 3 – Create a Python File in GUI mode – Using the Thonny . . . . . . . . . . 119
5.10 Accessing Raspberry Pi 4 Hardware and Peripheral Devices from Python . . . . . . 121
7.2 Project 1 – Getting and Displaying the Local Wi-Fi Parameters . . . . . . . . . . . . . . 174
●7
Chapter 8 • R
aspberry Pi Node-Red based projects using
MIT App Inventor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Chapter 9 • A
rduino Uno Bluetooth based projects using
MIT App Inventor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
9.10 Project 6 – Sending the Ambient Temperature to Android Mobile Phone . . . . . . . 228
Chapter 10 • Arduino Wi-Fi based projects using MIT App Inventor . . . . . . . . . . 259
●8
Chapter 11 • ESP32 based projects using the MIT App Inventor . . . . . . . . . . . . . 290
11.3.1 Installing the Arduino IDE for the ESP32 DevKitC . . . . . . . . . . . . . . . . . . . . . 292
Appendix E • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
●9