beautypg.com

7 user leds, 8 user push buttons, 9 a/d converter reference – Digilent 410-302P-KIT User Manual

Page 12: 10 potentiometer, 11 vu voltage monitor, 12 rtcc

background image

WiFire Reference Manual

10.7 User LEDs

Pin 13 (LD1), Pin 43 (LD2), Pin 44 (LD3), Pin 45 (LD4). Pin 13 is shared between a connector pin and the LED. Pin 43,

44, and 45 only go to the LED and are not brought out to any connector pin. Driving the pin HIGH turns the LED on,

driving it LOW turns it off.

10.8 User Push Buttons

There are two push button switches, which are labeled BTN1 (pin 46) and BTN2 (pin 47). The digitalRead() function
will return LOW if the button is pressed and HIGH when the button is pressed.

10.9 A/D Converter Reference

Labeled A, the left-most outer pin on connector J7. This is used to provide an external voltage reference to
determine the input voltage range of the analog pins. The maximum voltage that can be applied to this pin is 3.3V.
This pin can also be used as digital pin 42.

10.10 Potentiometer

A potentiometer (pot) is provided on the board to be used as an analog signal source or analog control input. The
pot is a 10KΩ trimmer pot connected between the VCC3V3 supply and ground. The wiper of the pot is connected
to analog input A12 or chipKIT pin 48. The pot is read using the analogRead() function.

10.11 VU Voltage Monitor

The supply voltage as provided by J16 can be monitored on analog input A13 or digital pin 49. The voltage
presented to the analog input is 1/11

th

of the actual VU voltage. This allows for a supply voltage between 2.2V to

30V to be monitored and still fall within the range of 0 to 3.3V on the analog input. By doing an analogRead(49),
the supply voltage can be monitored.

10.12 RTCC

Real time clock calendar. The PIC32 microcontroller contains an RTCC circuit that can be used to maintain time and

date information. The operation of the RTCC requires a 32.768 KHz frequency source. Crystal X2 (not loaded), just

above and to the right of the PIC32 microcontroller IC, is provided for you to solder a 32 KHz watch crystal. The

Citizen CFS206-32.768KDZF-UB crystal can be used in this location.

UPDATE: At this time, the PIC32MZ processor does not support crystals as a source for the secondary clock and an

oscillator must be used. The unloaded circuit as provided may not be useable for an RTCC source.

Copyright Digilent, Inc. All rights reserved.

Other product and company names mentioned may be trademarks of their respective owners.

Page 12 of 23

This manual is related to the following products: