wiki:PiBotDev

Version 6 (modified by chris, 9 years ago) (diff)

--

Development Environment

This is a description of the development environment used by one of the mentors (Mr. Alan Borgwardt) for initial PiBot development / prototyping in Fall 2016.

  • Windows 10
  • Eclipse Mars 2 (eclipse-java-mars-2 or neon)
  • JDK 8 (jdk-8u102-windows)
  • Bonjour (used for Pi Zero Ethernet-over-USB support)
  • Pi4J (pi4j-1.1.zip)

http://pi4j.com/install.html # Read the first paragraph (re: Pi .vs. dev host installation) # Follow the 'download' link in the first paragraph # Download pi4j-1.1.zip # Extract zip # Add jar files from extracted lib folder to Eclipse project NOTE: This is for development workstation. Pi Zero's Raspian Jessie already has PI4J included, which, I think, is what gets used when running on Pi Zero. (Although, launching on Pi Zero from Windows/Eclipse? with Pi Plugin *may* use the jars from the Eclipse project???)

NOTE: For more about this plugin, visit the URL:

http://tsvetan-stoyanov.github.io/launchpi/

NOTE: When the Pi Zero is connected to the USB port on my Windows system, it is automatically identified as hostname 'raspberrypi.local'.

  • PuTTY

I use PuTTY to SSH into the Pi Zero from Windows:

        Connection type: SSH
        hostname: raspberrypi.local
        username: pi
        password: raspberry
  • WinSCP

I use WinSCP transfer files between Windows and the Pi Zero.

Same connection information used for PuTTY