You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Activity Report 11**: [Motor and Sensor Control from Raspberry Pi](11_RF24-Packet-Raspberry/11_RF24-Packet-Raspberry_Report.pdf).
143
+
144
+
How to display sensor data and control the motor through a Flask server running on **Raspberry Pi**, which communicates with the two Arduinos using the **nRF24L01+** radio module.
145
+
146
+
To control the **GPIO** pins on **Raspberry Pi**, you need to install the *pigpiod* library using the following command:
147
+
```
148
+
sudo apt-get install pigpiod
149
+
```
150
+
151
+
To interface with the **RF24** radio module from Python, you need to import the *nrf24* library using the following command:
152
+
```
153
+
python3 -m pip install nrf24
154
+
```
155
+
156
+
---
157
+
158
+
# Activity 12<aname="mqtt"></a>
159
+
160
+
**Activity Report 12**: [Using MQTT for IoT Device Communication](12_Cloud-MQTT/12_Cloud_MQTT_Report.pdf).
161
+
162
+
How to use the MQTT protocol to communicate between IoT devices, including through apps.
163
+
164
+
To use MQTT with Python, you need to import the *paho-mqtt* library using the following command:
165
+
```
166
+
python3 -m pip install paho-mqtt
167
+
```
168
+
169
+
---
170
+
171
+
# Activity 13<aname="mqttesp"></a>
172
+
173
+
**Activity Report 13**: [Using MQTT with ESP8266](13_Cloud-MQTT-ESP8266/13_Cloud_MQTT_ESP8266_Report.pdf).
174
+
175
+
How to use MQTT for message exchange between IoT devices directly connected to ESP8266 with WiFi connectivity.
176
+
177
+
You will need to add the board manager to the Arduino IDE to manage the ESP8266.
178
+
179
+
[Tutorial for installation](https://www.vincenzov.net/tutorial/ESP/ESP8266/Arduino-IDE.htm).
180
+
181
+
---
182
+
183
+
# Activity 14<aname="alexa"></a>
184
+
185
+
TODO: How to control the sensor and actuator using Alexa.
186
+
187
+
---
188
+
189
+
# Activity 15<aname="ble"></a>
190
+
191
+
**Activity Report 15**: [Using BLE for Environment Control](15_Cloud_BLE/15_Cloud_BLE_Report.pdf).
192
+
193
+
How to use ESP32 to create devices that utilize the Bluetooth Low Energy (BLE) protocol for communication.
194
+
195
+
To control the ESP32 from the Arduino IDE, you will need to add the board manager as previously done for the ESP8266.
0 commit comments