Nevar Hardware Information

To avoid conflicts, check this page to see if the pins/timers you want to use are taken or not.

Nevar Timer Usage

Timer Bits Compare Register Prescalar Mode Function
0 8 A CTC Rangefinger
0 8 B
1 16 A CTC RTC
1 16 B
1 16 C
2 8 A
2 8 B

Nevar I/O Usage

  • There is no port A
  • You can share the ISP pins
Port Pin Function
B 0 Reserved, LCD module will blow this pin's value away...
B 1 LCD Data Bus 4
B 2 LCD Data Bus 5
B 3 LCD Data Bus 6, ISP MOSI
B 4 LCD Data Bus 7, ISP MISO
B 5 LCD Enable, ISP SCK
B 6 LCD R/W
B 7 LCD RS (Register Select)
C 0 Battery Sense
C 1 XBee SLEEP_RQ
C 2
C 3
C 4
C 5
C 6 ~RESET (Don't mess with this)
D 0 UART RX
D 1 UART TX
D 2 Button Press (External Pin Change Interrupt 0)
D 3 External Pin Change Interrupt 1 - Reserved for James
D 4 Yellow LED (Wireless Transmit)
D 5 Green LED (Car Detected)
D 6 Sonar Receive
D 7 Sonar Trigger