Guardian Sentinel - The Slave
<Part 4>
For the slave, i decided to use the similar setup, hence i decide to use the FeatherWing Tripler Mini Kit.
The following image shows the header pins being soldered
Once finish soldering, I place the MAX32630FTHR in the middle.
Followed by the FTHR-PMD-INTZ Feather-to-PMOD
Which is place to the right of the MAX32630FTHR
For further info on the FTHR-PMD-INTZ Feather-to-PMOD click here. Following that, i place the DC Motor + Stepper FeatherWing Addon.
Which is place to left of the MAX32630FTHR
To ensure all the three boards are connected, i did the i2C scanner and below are the result
#include <Wire.h>
void setup() {
Serial.begin(115200);
while (!Serial);
Serial.println("MAX32630FTHR I2C Scanner");
Wire.begin();
}
void loop() {
byte error, address;
int devices = 0;
Serial.println("Scanning I2C bus...");
for (address = 1; address < 127; address++) {
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0) {
Serial.print("I2C device found at address 0x");
if (address < 16) Serial.print("0");
Serial.println(address, HEX);
devices++;
}
}
if (devices == 0) {
Serial.println("No I2C devices found.");
} else {
Serial.print("Total devices found: ");
Serial.println(devices);
}
Serial.println();
delay(3000);
}
and the result from the serial monitor is shown below

In the next post we shall see on interfacing with sensor and motor.