Treehouse Remote
An Android app that communicates with headless Raspberry Pi mobile server running treehouses image via Bluetooth.
- Get detailed software and hardware information of a Raspberry Pi.
- Configure a Raspberry Pi through user-friendly interface.
Check our issues to see what features we are working on.
Setting Up the Raspberry Pi
Within this section we will cover the required hardware and software you will need to contribute to the System's Engineering team, then explore the first steps you should take as a Virtual Intern.
Prerequisites
We will need a few hardware and software components as follows:
-
Raspberry versions: • Pi 3 • Zero W • Pi 3b+
-
5V 2.4A (1.2A for Zero) power supply with microUSB connector
NOTE: A Raspberry Pi 4 would be a bonus purchase as of recently our latest images are not supported yet with the device
-
A microSD card reader (check to see if your computer has an SD slot)
-
Three or more Class 10 microSD card (minimal 8GB, but we strongly recommend 32GB or greater)
-
Software for burning OS image to microSD card. We recommend Etcher, but there are many from which to choose
-
The latest version of Treehouse image
-
Wi-Fi or a ethernet connection
##Get It Up and Running After getting your microSD cards and card reader/adapter, our first step will be to burn an image of the treehouse onto the a microSD card which we will later insert into our Rasperry Pi.
Prepping the microSD card
-
Download the treehouse image that is available here
-
Download and install Etcher or another software.
-
Insert a microSD card into the card reader and connect this to your computer
-
Burn the treehouses image onto the microSD card, this is done by:
- Opening Etcher
- Clicking "Select Image" -This is the downloaded image
- Selecting the "Target" - This is your microSD card
- Clicking "Flash!"
The process will take approximately 10 min to complete.
-
Once it's done burning, if you chose you can view the contents in the
boot
partition. You will see a long list of files. -
Unmount and safely eject the microSD card from your computer.
Starting up the Raspberry Pi
-
Place the microSD card into the RPi.
-
Connect the RPi to power, if there in an "on" switch or button ensure the Rpi has power.
-
If you possess an android phone, find the Treehouses Remote app on Google Play Store and download it.
-
Wait for a minute or two and look for
treehouses
in your Android device's Bluetooth pairing screen.
Setting Up the Android Device
We assume you've already installed Android Studio on your machine and enabled USB debugging on your Android device.
Connect to Raspsberry Pi via Bluetooth
-
In the android bluetooth settings, scan and pair with the Pi device.
-
Click on the three dots (menu icon) at the upper right corner of the app.
-
Click on
Connect a device - Insecure
to display paired Bluetooth devices or scan for new devices around you. -
Select
raspberrypi
or whatever name that is given to your Raspberry Pi device to connect to the Raspberry Pi. -
If it does not work, please click on
cmd
button and repeat steps 1 through 3.
Features
- The connection status is shown on the action bar.
- In
cmd
- Use the Wi-Fi icon on the action bar to comfigure the Raspberry Pi to connect to a Wi-Fi network.
- Use buttons on the lower part of the screen to performe various commands.
- The circle on the upper left corner shows the Raspberry Pi's internet connectivity status using color green and red.
- To return to dashboard, click on the back button at the bottom of the device.
Tools
Vysor
Vysor A software that helps display your Android screen into your computer. You will find this software very helpful as it helps you explain the issue more in detail. Plus, everybody in the team can see what is happening on your screen, therfore we can help each other in debugging.