User Manual
FeatherOLED
The FeatherOLED example (located in the Adafruit_WICED_Arduino/examples/Adafruit folder) uses the
Adafruit_FeatherOLED (https://adafru.it/m3b) library to display basic information about the WICED Feather on the
128x32 I2C OLED Feather Wing (http://adafru.it/2900).
This advanced example demonstrates several useful concepts and libraries for the WICED Feather:
How to monitor the LIPO battery level
How to work with an external OLED display for easy user feedback
How to work with the Adafruit Unified Sensor Library (https://adafru.it/dGB) to retrieve sensor data
How to work with MQTT (https://adafru.it/m3c) to push data to Adafruit IO (https://adafru.it/m3d)
This example optionally uses a TSL2561 light sensor (http://adafru.it/439) to generate real sensor data, but it should be
relatively straight forward to use a different unified sensor driver, or you can disable the sensor entirely if you wish to
simply use the OLED or send simulated sensor data.
Setup
Before you can use the FeatherOLED sketch you will have to install the
Adafruit_FeatherOLED (https://adafru.it/m3b) library into your libraries folder. If you're new to Arduino our Arduino
Libraries Learning Guide (https://adafru.it/m3e) explains everything you need to know to get Adafruit_FeatherOLED
installed on your local system.
Setting the Access Point
Once you have Adafruit_FeatherOLED installed on your system, you need to set your AP details using the WLAN_SSID
and WLAN_PASS flags in the example sketch, setting them to the values used by you own access point:
Enabling LIPO Battery Monitoring (Optional)
If you wish to monitor the LIPO cell voltage level, you will also need to enable the VBAT_ENABLED flag by setting its
value to '1':
Important: Make sure that the BATADC solder jumper on the bottom of your WICED Feather is soldered shut as well,
since this will run the LIPO cell through a voltage divider and into the ADC pin on PA1. See the Board Layout page for
details, but the solder jumper can be seen below.
You have to solder these two metal leads together to form a 'bridge':
#define WLAN_SSID "YOUR SSID HERE"
#define WLAN_PASS "YOUR SSID KEY HERE"
#define VBAT_ENABLED 1
#define VBAT_PIN PA1
© Adafruit Industries https://learn.adafruit.com/introducing-the-adafruit-wiced-feather-wifi Page 193 of 202










