www.greyrobotics.in
17
5.11 User Programmable Pins –
5.11.1
LED’S
User can use two LED’s as output indicators. They can be used for indicating completion of
various states in the program code. The LED’s are connected on PINC2 and PINC3. These pins
are configured as ACTIVE HIGH.
5.11.2
Buzzer
Robot comes along with a 3 KHz piezo buzzer. By setting up the jumper pins, user can select
buzzer or else ultrasonic sensor. It can be used for debugging purpose or as attention seeker for a
particular event. The buzzer is connected to PD5 pin. It is configured in ACTIVE HGH mode Ref
fig 6
Figure 6: Buzzer/Ultrasonic sensor selection jumper
5.11.3
Switches
Two user programmable switches have been provided as inputs. They can be used as external
hardware interrupts. They are available on PIND2 (INT0) and PIND3 (INT1). The switches are
initially pulled high. When the switch is pressed, the pins are pulled down to 0v.