Table 4-8. MCP9808
MCP9808 Pin
SDA
SCL
Alert
4.4.6
Light Sensor
A TEMT6000X01 light sensor is mounted on the AVR-IoT Wx board for measuring the light intensity. The sensor is a
current source that will induce a voltage across the series resistor, which in turn can be measured by the
ATmega4808 ADC. The current is exponentially relative to illuminance, from about 10 µA@20lx to 50 µA@100lx. The
series resistor has a value of 10 kΩ.
Table 4-9. Light Sensor Connection
ATmega4808 Pin
PD5
4.4.7
LED
There are four LEDs available on the AVR-IoT Wx board that can be controlled with PWM or GPIO. The LEDs can be
activated by driving the connected I/O line to GND.
Table 4-10. LED Connections
ATmega4808 Pin
PD0
PD1
PD2
PD3
4.4.8
Mechanical Buttons
AVR-IoT Wx contains two mechanical buttons. These are generic user-configurable buttons. When a button is
pressed, it will drive the connected I/O line to ground (GND).
Info: There are no pull-up resistors connected to the generic user buttons. Remember to enable the
internal pull-up in the ATmega4808 to use the buttons.
Table 4-11. Mechanical Button
ATmega4808 Pin
PF6
PF5
©
2020 Microchip Technology Inc.
ATmega4808 Pin Function
PA2
TWI0 SDA
PA3
TWI0 SCL
PC2
ASYNC External Interrupt
Function
ADC AIN5
Function
TCA0 WO0
TCA0 WO1
TCA0 WO2
TCA0 WO3
Description
User switch 0 (SW0)
User switch 1 (SW1)
AVR-IoT Wx Hardware User Guide
Shared Functionality
—
Description
Red LED
Yellow LED
Green LED
Blue LED
Shared Functionality
On-board debugger
On-board debugger
User Guide
Hardware User Guide
Shared Functionality
ATECC608A
and
mikroBUS
ATECC608A
and
mikroBUS
—
DS50002805B-page 19
Need help?
Do you have a question about the AVR-IoT Wx and is the answer not in the manual?