- Download IMG File
- Unzip downloaded folder
- Mount onto a >16GB SD card (right click the .img and select mount)
- Insert SD card into Raspberry Pi
- Run Raspberry Pi setup (Monitor, Mouse, Keyboard required)
- Setup SSH
- Clone the uwigem2017 git repository
- Setup the software
- Record the Raspberry Pi's IP address (type
hostname -I
)
- Open a terminal window on Raspberry Pi desktop
- Type
sudo raspi-config
- Press the down arrow until your cursor selects "Advanced Options"
- Press the right arrow to enter the Advanced Options section
- Press the down arrow until you get to "SSH"
- If the SSH setting is "Enabled", you're good, if not, press the right arrow key to enable SSH
- Open a terminal window on Raspberry Pi desktop
- Type
cd ~
- Type
git clone https://github.com/uwigem/uwigem2017.git
- Open a file explorer window and navigate to the user home directory (
/home/username/
where username is the main user) - Navigate into the folder
raspbian_scripts
- Click on each of the scripts in the folder one by one
- Download NetBeans IDE for Java SE
- Refer to these instructions
- Set up the directories in project.properties
- When you link the Pi4J libraries, make sure to link them at run time as well as compile time
- See explanation of code structure
- Download PuTTy (Under
Alternative binary files
selectputty.exe
) - Open PuTTy
- Get the hostname and port number for our Raspberry Pis from Jase
- Type in the hostname and port number
- When you are prompted with a user, type in the appropriate main user for that pi
- Enter the password
You can now remotely use the terminal on that Pi
- Upon attempting to run Pi4J code following error occurs
Unable to determine hardware version. I see: Hardware : BCM2835
,
- expecting BCM2708 or BCM2709.
If this is a genuine Raspberry Pi then please report this
to projects @drogon.net. If this is not a Raspberry Pi then you
are on your own as wiringPi is designed to support the
Raspberry Pi ONLY.
Work Arounds
- downgrade firmware using shell script under the Raspbian folder of the old repo (uwigem2017-old)
- change Pi4J source cdoe and recompile (already done by Jase, not sure if the recompiled version has been uploaded to this repo)
Once you have cloned the repository onto your development computer, open NetBeans, and open Cstat as a new project.
Tip: If you screw up creating a project and you get the wrong folder as a project, do not delete it. Instead, right click, close
The "main" class right now is LauncherWindow. This opens a Swing GUI from which you can access the PumpDiagnostics and SensorGUI. There is a tester class PumpTest in Deprecated that we are basing our new testing class off of
This is a link to our style guide
All Todo tasks are located at: https://trello.com/b/EpicXNJ9/drylab
All following need to be added to the README:
README Example: https://github.com/rg3/youtube-dl