MPR 121 for Daisy Seed, Sensor not found

Hello all!
I am using a Board from Electrosmith called Daisy Seed and trying to get input from an MPR 121 sensor.
Somehow tho, it doesn’t recognize the sensor and tells me to check my cabelling.

“Adafruit MPR121 Capacitive Touch sensor test
MPR121 not found, check wiring?”

At the moment i have the SCL hooked up to the Daisy Seed ADC4 and the SDA to the Daisy seed ADC 5.

(on the Arduino uno, with wich the mpr 121 was working for me i hooked the SCL to the A5 and the SDA to the A4.

Anybody here who could help me out please ?
Thank you very much

/*********************************************************
  This is a library for the MPR121 12-channel Capacitive touch sensor

  Designed specifically to work with the MPR121 Breakout in the Adafruit shop
  ----> https://www.adafruit.com/products/

  These sensors use I2C communicate, at least 2 pins are required
  to interface

  Adafruit invests time and resources providing this open source code,
  please support Adafruit and open-source hardware by purchasing
  products from Adafruit!

  Written by Limor Fried/Ladyada for Adafruit Industries.
  BSD license, all text above must be included in any redistribution
**********************************************************/

#include <Wire.h>
#include "Adafruit_MPR121.h"

#ifndef _BV
#define _BV(bit) (1 << (bit))
#endif

// You can have up to 4 on one i2c bus but one is enough for testing!
Adafruit_MPR121 cap = Adafruit_MPR121();

// Keeps track of the last pins touched
// so we know when buttons are 'released'
uint16_t lasttouched = 0;
uint16_t currtouched = 0;

void setup() {
  Serial.begin(9600);

  while (!Serial) { // needed to keep leonardo/micro from starting too fast!
    delay(10);
  }

  Serial.println("Adafruit MPR121 Capacitive Touch sensor test");

  // Default address is 0x5A, if tied to 3.3V its 0x5B
  // If tied to SDA its 0x5C and if SCL then 0x5D
  if (!cap.begin(0x5A)) {
    Serial.println("MPR121 not found, check wiring?");
    while (1);
  }
  Serial.println("MPR121 found!");
}

void loop() {
  // Get the currently touched pads
  currtouched = cap.touched();

  for (uint8_t i = 0; i < 12; i++) {
    // it if *is* touched and *wasnt* touched before, alert!
    if ((currtouched & _BV(i)) && !(lasttouched & _BV(i)) ) {
      Serial.print(i); Serial.println(" touched");
    }
    // if it *was* touched and now *isnt*, alert!
    if (!(currtouched & _BV(i)) && (lasttouched & _BV(i)) ) {
      Serial.print(i); Serial.println(" released");
    }
  }

  // reset our state
  lasttouched = currtouched;

  // comment out this line for detailed data from the sensor!
  return;

  // debugging info, what
  Serial.print("\t\t\t\t\t\t\t\t\t\t\t\t\t 0x"); Serial.println(cap.touched(), HEX);
  Serial.print("Filt: ");
  for (uint8_t i = 0; i < 12; i++) {
    Serial.print(cap.filteredData(i)); Serial.print("\t");
  }
  Serial.println();
  Serial.print("Base: ");
  for (uint8_t i = 0; i < 12; i++) {
    Serial.print(cap.baselineData(i)); Serial.print("\t");
  }
  Serial.println();

  // put a delay so it isn't overwhelming
  delay(100);
}

Hi, @franzehn
Welcome to the forum.

Please read the post at the start of any forum , entitled “How to use this Forum”.

To add code please click this link;

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Thanks… Tom… :grinning: :+1: :coffee: :australia:

Dear Tom, thank you for your answer i edited the post with the missing code!
Thanks, franz

Hi,
Thanks, can you please post a circuit diagram?
Place it in a new post, please do not go back and edit old posts.

Thanks… Tom… :grinning: :+1: :coffee: :australia:

this is the curcuit,
thanks franz

Hi,
Where did you get the “Daisy Seed” board info to get the Arduino IDE to compile and upload to it?

It appears to to be a music based controller.
How and with what do you connect and program with?

Tom… :grinning: :+1: :coffee: :australia:

Hi, i connect and program, with max and am using some sensors in combination with those, i found a solution on the Daisy Forums.

Thanks for your help

Hi, @franzehn

Good to hear you found a solution, that controller and “max” environment is not familiar to me.
The Daisy forum was the best place by the looks of it.

Can you please mark your post as solved or solution, there should be a icon for you to use.
This will let others know that you have a solution.

Tom… :grinning: :+1: :coffee: :australia: