FRC 2016 16Hertz product donation

16Hertz is delighted to participate in the First Robotics Competition 2016 with our first product donation!

A custom manufactured, rugged and robust version of the Arduino Leonardo. The Leonardo++ extends the canonical Arduino by adding screw terminals for use in high vibration environments.

Leonardo++b Leonardo++s Leonardo++f

This Leonardo++ is fully compatible with the Arduino Leonardo; please refer to the Arduino Leonardo page for detailed specifications.

The Leonardo++ is for most purposes similar to the popular Arduino UNO R3, and all of your UNO R3 sketches should compile and run on the Leonardo++. One of the primary differences is that in the Leonardo++ the ATMega32u4 also handles USB communication, unlike the Arduino UNO R3 which depends on a seconday chip to handle USB Communication.

This means that the Leonardo++ can be used as a HID device which can be helpful with your FRC driver-station modding. Add a bunch of arcade buttons and joysticks anyone?

Arduino Uno Arduino Leonardo
Microcontroller ATmega328 ATmega32u4
Digital I/O Pins 14 20
Analog Input Pins 6 12
PWM Channels 6 7
Flash Memory 32 KB 32 KB
SRAM 2 KB 2.5 KB

To obtain your Leonardo++ for free (FRC 2016 teams only! – one per team) use the following coupon code:

frc-2016-XXXX where XXXX is your team number, i.e. if your team number is 1, then the code is frc-2016-1, if your team number is 3760 then the code is frc-2016-3760

The direct link to the product is here

We will be manually verifying the validity of all orders.

Please feel free to email us at support@16hertz.com with any issues that you encounter.

See below for a quick tutorial on how to turn the Leonardo++ into a HID device to send inputs for the Driver station:

We have modified the native Arduino IDE to program the Leonardo++ to act as a Joystick HID device.

The modified Arduino IDE is located at:

https://drive.google.com/file/d/0B_i2yxJyhJquMUtTUzRNOENBNFU/view?usp=sharing

Note that the above modified IDE is designed to get you started with sample code quickly.

The following steps will get you up and running with HID Joystick inputs, which can be monitored via the windows Joystick HID utility:

  • Extract the above IDE
  • Connect the Leonardo++
  • Make sure the driver installs – if it asks for a driver, The driver is included in the IDE folder(/drivers).
  • Open the executable “arduino.exe”
  • Choose the Leonardo as the board
  • Choose the correct COM port
  • Go To File->Examples->LeornadoHID16Hz->Joystick
  • Compile and upload to board
  • Now the Leonardo++ should behave like a HID joystick
  • Open up “Devices and Printers”, there should be Leonardo++ there
  • Right click and choose “Game controller settings”
  • Click Properties
  • The HID joystick commands being sent should be shown – it now randomly clicks buttons, axes and slowly increments the throttle.

 

The LeonadoHID16Hz example code, illustrates how the Leonardo++ can potentially be used as an HID Device to send inputs to the driver-station.