AT90USBKey Demo board with WizBang wings and IDC connectors
This is a stripped AT90USBKey demo board with the WizBang wings installed. Ribbon cable and IDC connectors are used break out the pins. The board has been modified according to the instructions in the section Reclaiming Pins to free up more pins.
Properties
Name
The name of the USB HID device that will appear when listed by the host computer.
UsagePage/Usage
The UsagePage and Usage of the Device. See Usages for more information.
Be careful when setting this parameter. The default setting of Generic Desktop Controls:Multi-axis Controller is fine and should not need changing. Setting it to a Mouse or Pointer device may confuse the operating system and the device will not operate as expected. Set it to Generic Desktop Controls:Joystick to make it appear as a game controller.
Voltage
Is the microcontroller 5v or 3.3v? See Hardware Design Decisions for more information.
Power-Source
Is the USB device powered via the USB Bus or does it use an external supply. See Hardware Design Decisions for more information.
Interval
The interval, in milliseconds, at which the PC polls the HID device for updates. The smaller the number, the faster the updates and more responsive the device is, at the cost of more CPU power.
Serial-Debug
Pins PD2/PD3 can be used as RXD/TXD pins for RS232 TTL Serial debug output (38400, 8, none, 1). Setting the value above zero enables debugging. The higher the number the more debug (max 100).
HID-Debug
Enable debugging via the HID interface. This isn't implemented yet.
Current
The current usage of the microcontroller. Used to estimate the USB power draw. In milliamps (mA)
Use Status LEDs
Use the default AT90USBKey LEDs as indicators of the USB status. There are 2 tri-colour LEDs, LED1, LED2 on ports PD4/PD5, PD6/PD7. These can be used show the status of the USB connection...
Orange | Startup |
Red | Establishing Connection |
Green | Connected and Ready |
SerialNo
A unique serial number of the device.
Timer1
Timer1 configuration. The Generic HID device PWM outputs use shared timer resources. Three outputs, PB5(OC1A), PB6(OC1B), PB7(OC1C) are derived from Timer 1. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.
Timer2
Timer2 configuration. The Generic HID device PWM outputs use shared timer resources. Two outputs, PB4(OC2A), and PD1(OC2B) are derived from Timer 2. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.
Timer3
Timer3 configuration. The Generic HID device PWM outputs use shared timer resources. Three outputs, PC6(OC3A), PC5(OC3B), and PC4(OC3C) are derived from Timer 3. If a PWM output is placed on one of these pins, they will all share the same base frequency and resolution. See Timers for more information.