Arduino Wiring & Test
You can easily wire this breakout to any microcontroller, we'll be using an Adafruit Metro M0 Express (Arduino compatible) with the Arduino IDE. But, you can use any other kind of microcontroller as well as long as it has I2C clock and I2C data lines.
I2C Wiring
- Connect Vin to the power supply, 3-5V is fine.
- Connect GND to common power/data ground
- Connect the SCL pin (23) to the I2C clock SCL pin on your Microcontroller.
- Connect the SDA pin (22) to the I2C data SDA pin on your Microcontroller.
- Connect the positive (long lead) of an LED to pin 15 on the seesaw breakout and the other lead to GND through a 1k ohm resistor.
This seesaw uses I2C address 0x49 by default. You can change this by grounding the AD0/16 and/or AD1/17 pins, but we recommend not doing that until you have it working
Download Adafruit_Seesaw library
To begin reading sensor data, you will need to download Adafruit_Seesaw from the Arduino library manager.
Open up the Arduino library manager:
Search for the Adafruit Seesaw library and install it
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Load Test Example
Open up File->Examples->Adafruit_Seesaw->digital->blink and upload to your Arduino wired up to the seesaw breakout. If everything is wired up correctly, the led should blink on and off repeatedly.
Documentation
see here for documentation of the seesaw python API.
Page last edited March 08, 2024
Text editor powered by tinymce.