You are here: Foswiki>ELabs Web>RaspberryPi (2017-03-08, SudhaB)Edit Attach


1. Set up your RPi.
  • Plug in power source, monitor with HDMI input, keyboard, and mouse. If you don't have a HDMI monitor, contact us.
  • Micro SD card with NOOBS (New Out Of Box Software). Information on NOOBS and on how to format your micro SD is at . Here's the link to download NOOBS, (do not choose NOOBS Lite): .
  • Connect your keyboard, mouse and hdmi monitor to the Raspberry Pi. Plug in the 5 v micro-USB power supply to start it up.
  • Choose Raspbian, US English, and US keyboard, and Install-Confirm. Installation will begin; it takes some time. There is a progress bar at the bottom of the screen. When it finishes, you should see a message indicating that the OS was installed successfully.
  • To change some configurations, open the terminal window and type at command line: sudo raspi-config. i.) The default username is pi, and the default password is raspberry. You should change the password by choosing 'Change User Password' option. ii.) By default, ssh is enabled. Choose 'Advanced Options' ->ssh->Disable. iii.) No need to Expand Filesystem if you used NOOBS. iv.) Choose 'Boot Options and then choose if you want to boot to the console or the desktop and whether you want to require login when you boot up your Pi. Hit 'Finish'.
  • If you boot to the command window, type startx at the command line to go to the Desktop. If you ever want to get out of the Desktop, click the 'Logout' button in the bottom right corner.
2. Install EQUIP on the RPi.
  • Download the EQUIP folder from>Library->Resources->EQUIP java interface. In my
  • Follow steps 1 and 2 from EQUIP's README.txt:

    1 - You already extracted all the files from

    2 - Use this folder or move somewhere else in your computer. You need to check that all these files have been extracted:






    librxtxSerial.jnilib (only needed for Windows)



    rxtxSerial.dll (only needed for Windows)

  • Skip steps 3 and 4 from EQUIP's README.txt.
  • Instead, do this: Give yourself a network connection (wireless or wired). Then, type: sudo apt-get install librxtx-java (a Java cross platform wrapper library for the serial port).
  • In step 5, type this: java -Djava.library.path=/usr/lib/jni -cp /usr/share/java/RXTXcomm.jar -jar EQUIP_18JUL2014.jar.
  1. Newer Raspbian images ship with Oracle Java by default. Check if you have Java installed by typing: java -version. If you don't have it, install it by typing: sudo apt-get update && sudo apt-get install oracle-java7-jdk
  2. The Java Virtual Machine (JVM) uses the java.library.path property in order to locate native libraries. By typing 'java -Djava.library.path=/usr/lib/jni', we're adding /usr/lib/jni to java.library.path. We use the -D command in the wrapper so it will work for many implementations of the Java Platform (i.e., sun-java, Oracle JDK, and open JDK).
  3. RXTX is a Java cross platform wrapper library for the serial port. Using -cp classpath specifies a list of directories, JAR files, and ZIP archives to search for class files. Separate class path entries with semicolons (;). Specifying -classpath or -cp overrides any setting of the CLASSPATH environment variable. From:
  4. java -jar EQUIP_18JUL2014.jar runs EQUIP_18JUL2014.jar.
Topic revision: r9 - 2017-03-08, SudhaB
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback