Skip to content

openppg/x4-controller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPPG Controller

Arduino logic for OpenPPG Throttle Controller

For batch 2 (Arduino nano based) controllers please see the batch-2 branch.

MacOS

Tested on MacOS Mojave (10.14)

Install Arduino IDE

  1. Download the latest version for Mac OS X https://www.arduino.cc/en/Main/Software
  2. Expand the zip and Copy the Arduino application into the Applications folder

Install the driver

The V2 OpenPPG controller is powered by Atmel’s SAMD21G18A MCU, featuring a 32-bit ARM Cortex® M0 core. In order to communicate with it follow the instructions here to set up your computer https://learn.adafruit.com/adafruit-feather-m0-basic-proto/setup and set up the Arduio IDE https://learn.adafruit.com/adafruit-feather-m0-basic-proto/using-with-arduino-ide

Download and Prepare OpenPPG Code

  1. Download the latest controller code zip from here
  2. Extract and open "eppg-controller.ino" in the Arduino IDE
  3. Open Library Manager (Sketch -> Include Library -> Manage Libraries)
  4. Install the following libraries by searching and installing the latest versions:
  • AceButton
  • Adafruit GFX Library
  • Adafruit_DRV2605
  • Adafruit_SSD1306
  • ResponsiveAnalogRead
  • TimeLib link

Flash the OpenPPG Code

  1. First make sure the code compiles by hitting the check button in the top right name "Verify"
  2. Connect the controller to your computer by using the USB mini port on the bottom of the controller
  3. Select the proper port (Tools -> Port). It should show up as something like COM5 (Adafruit Feather M0 (Native USB port)) or /dev/cu.usbmodem14201
  4. Select the proper board (Tools -> Board -> Adafruit Feather M0).
  5. Click the right arrow in the top right named "Upload"
  6. Wait for the code to flash and the Arduino IDE to say "Done" at the bottom. Success!

Windows Instructions Coming Soon

Releases

No releases published

Packages

No packages published