A simple system using Android and Ardiuno for a plant-shaped device that can help release stress and anxiety.
This system consists of an Android application and an Arduino circuit. The Android app provides various activities such as Landing Activity, Calming Chat (uses ChatGPT API), Music Therapy, and Nature Sounds. The Arduino circuit, connected to the Android device via Bluetooth, allows you to control the app activities using three buttons.
- Android device with Bluetooth enabled
 - Internet connection
 
- 
Navigate to the 'Android' directory.
 - 
Install the required dependencies for the Android app.
 - 
Navigate to Android/app/src/main/java/com/example/plantchat/ChatActivity.java. In line 124 enter your ChatGPT API key.
 - 
Navigate to Android/app/src/main/java/com/example/plantchat/LandingActivity.java. In line 42 Enter UUID. In line 45 enter your device name.
 - 
Build and install the Android app on your device.
 
- 
Make sure your Android device is connected to the internet and Bluetooth is enabled.
 - 
Launch the app on your Android device.
 - 
The app will start with the Landing Activity.
 - 
To access other activities, use the buttons on the Arduino circuit. Each button corresponds to a specific activity.
 
- Arduino board
 - Bluetooth module (compatible with your Arduino board)
 - 3 buttons
 - Wiring connections
 
- 
Connect the Bluetooth module to your Arduino board following the appropriate wiring instructions.
 - 
Connect the 3 buttons to the Arduino board, ensuring the proper connections.
 
- 
Open the Arduino IDE.
 - 
Navigate to the 'Arduino' directory.
 - 
Open the Arduino program file.
 - 
Upload the program to your Arduino board.
 - 
Ensure that your Arduino board is powered and properly connected to the Android device via Bluetooth.
 - 
Press the buttons on the Arduino circuit to send commands to the Android app and switch between activities.
 

