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.
- 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/15 pins, but we recommend not doing that until you have it working
To begin reading sensor data, you will need to download Adafruit_Seesaw from our github repository. You can do that by visiting the github repo and manually downloading or, easier, just click this button to download the zip
Rename the uncompressed folder Adafruit_Seesaw and check that the Adafruit_Seesaw folder contains Adafruit_Seesaw .cpp and Adafruit_Seesaw .h
Place the Adafruit_Seesaw library folder your arduinosketchfolder/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
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.
see here for documentation of the seesaw python API.