Arduino logic for OpenPPG Throttle Controller
For batch 2 (Arduino nano based) controllers please see the batch-2 branch.
Tested on MacOS Mojave (10.14)
- Download the latest version for Mac OS X https://www.arduino.cc/en/Main/Software
- Expand the zip and Copy the Arduino application into the Applications folder
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 the latest controller code zip from here
- Extract and open "eppg-controller.ino" in the Arduino IDE
- Open Library Manager (Sketch -> Include Library -> Manage Libraries)
- Install the following libraries by searching and installing the latest versions:
AceButton
Adafruit GFX Library
Adafruit_DRV2605
Adafruit_SSD1306
ResponsiveAnalogRead
TimeLib
link
- First make sure the code compiles by hitting the check button in the top right name "Verify"
- Connect the controller to your computer by using the USB mini port on the bottom of the controller
- Select the proper port (Tools -> Port). It should show up as something like
COM5 (Adafruit Feather M0 (Native USB port))
or/dev/cu.usbmodem14201
- Select the proper board (Tools -> Board -> Adafruit Feather M0).
- Click the right arrow in the top right named "Upload"
- Wait for the code to flash and the Arduino IDE to say "Done" at the bottom. Success!