PKE Meter Files

You can download the latest PKE Meter Code here:

PKE Meter Arduino Code
 

These are the sound files for the PKE Meter:

PKE Meter Sound Files

Instructions for Arduino Code:

  1. Download the code from the button above.
  2. You’ll need to download all of the libraries required for the PKE Meter to work and compile code properly. Download these individually and upload them into your Arduino IDE. Some can be found in the Arduino Library Manager, but others have to be downloaded as a zip file from their repositories.
      • RemoteXY – https://www.arduino.cc/reference/en/libraries/remotexy/
        • This allows you to connect to the PKE for remote controlling it via bluetooth.
      • AltSoftSerial – https://www.arduino.cc/reference/en/libraries/altsoftserial/
        • This library allows for simultaneously transmitting and receiving serial data.
      • ServoTimer2 – https://github.com/nabontra/ServoTimer2
        • Because more than one timer is needed for servo movements, LED patterns, and sound, this library allows the second time to be used for some functionality. Otherwise the servo would stutter and the sound be choppy.
      • Neotimer – https://github.com/jrullan/neotimer
        • Non blocking timer class for Arduino.
      • ADCTouch – https://www.arduino.cc/reference/en/libraries/adctouch/
        • This library provides initial touch capabilities on analogue pins.
      • Ramp – https://www.arduino.cc/reference/en/libraries/ramp/
        • The library add a class template to manage interpolation between values of various data types. This allows the smoothness of the servo movements.
      • EEPROM – https://docs.arduino.cc/learn/built-in-libraries/eeprom
        • EEPROM is used to store values and data on the Arduino Nano.
      • DFPlayerMini_Fast – https://www.arduino.cc/reference/en/libraries/dfplayermini_fast/
        • The sound board on this build is a DFPlayer. This library interfaces with it and allows execution of specific sounds files as well as stopping and pausing sounds.
      • FireTimer – https://github.com/PowerBroker2/FireTimer
          • Simple and non-blocking Arduino library used to “fire-off” processes at specific intervals
  1. Once you download them, open the location of your Arduino Library and extract each one of the downloaded files there. Use this page as a guide: https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries#manual-installation
  2. After all of the libraries are downloaded and installed, open the Arduino IDE and place the PKE Meter code in the IDE.
  3. Connect your Arduino Nano to your computer and select the proper port.
  4. Lastly, click the Upload button in the Arduino IDE and upload your code.

If there are no errors, and the debugger is showing the code was uploaded successfully, you may then install the Arduino Nano into your PKE Meter Main board PCB.

Instructions for PKE Meter Sound Files:

  1. Download the compressed files from the PKE Meter Sound Files button at the top of this page.
  2. Transfer the files as they are to a MicroSD Card. Do not change the name. Simply drag and drop them to a new Class 10 Micro SD card. My preference is a SanDisk Class 10 16GB micro SD card. I supply these with the kit orders and all DFPlayers.
  3. Insert the Micro SD Card into the DFPlayer. It’s advised to install the DFPlayer into the main board first before inserting the Micro SD Card.