Arduino logic for OpenPPG Throttle Controller
The Arduino nano inside the controller uses the CH340G chip to connect over USB. Install the driver by
- Download the latest driver package - CH341SER_MAC.ZIP (148KB)
- Extract the contents of the zip file to a local installation directory
- Double-click CH34x_Install.pkg
- Follow the installation steps
- Restart your Mac after finishing installation
- 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
- 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:
ResponsiveAnalogReadAdafruit_SSD1306Adafruit GFX LibraryAceButton
- 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 "/dev/tty.wchusbserial*"
- Select the proper board (Tools -> Board -> Arduino Nano). You may also have to select the "old bootloader" under processor
- 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!