• Trill
  • trill craft not working

Hello, i'm having again problems with the trill and i get this message:

Build finished
Running project ...
Running Pd 0.51-4
Audio channels in use: 2
Analog channels in use: 8
Digital channels in use: 16
No MIDI device enabled
pd 0.51.4
bonk version 1.5
fiddle version 1.1 TEST4
pique 0.1 for PD version 23
sigmund~ version 0.07
Unable to identify device
Unable to create Trill CRAFT device mycraft on bus 1 at default address. Is the device connected?
bela_setTrill sensor_id unknown: mycraft

  • max replied to this.

    christie Is the device connected (and if so, how)?

    Yes sure, and all the connections are good and double checked. I had always problems with the craft but i don't understand now this message

    also bela.local stopped to work today, sometimes it just not functioning properly, can it be the whole microcontroller has just problems itself?

    I managed to let it work again the bela local, but with the trill still this message:
    Running Pd 0.51-4
    Audio channels in use: 2
    Analog channels in use: 8
    Digital channels in use: 16
    No MIDI device enabled
    pd 0.51.4
    bonk version 1.5
    fiddle version 1.1 TEST4
    pique 0.1 for PD version 23
    sigmund~ version 0.07
    Unable to identify device
    Unable to create Trill CRAFT device mycraft on bus 1 at default address. Is the device connected?
    bela_setTrill sensor_id unknown: mycraft
    root@bela ~/Bela#

    Hi @christie can you please run the following command in the console at the bottom of the IDE and show the result here:

    i2cdetect -y -r 1

    Also, can you show a picture of your wiring?

    changing the position of the ground that's what i got

    Trill: error while reading from device Craft at address 0x30 (48): -1 of 60 bytes read (error: 121 Remote I/O error)
    root@bela ~/Bela# i2cdetect -y -r 1
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:


    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    root@bela ~/Bela#

      christie changing the position of the ground that's what i got

      Trill: error while reading from device Craft at address 0x30 (48): -1 of 60 bytes read (error: 121 Remote I/O error)

      this looks more promising, because at least the sensor got detected (as also shown by i2cdetect) and it only stops working after a while. I am unsure whether this is due to the change in the wiring (that would be unexpected, all GND pins should work well) or some faulty / intermittent contact and/or behaviour somewhere. Are the wires soldered to the Craft? As you have long-ish wires (at least the blue one), the issue cold also be due to the lack of an external pullup resistor on the SDA and SCL lines.

      Hello, thanks for your reply, yes sometimes is working sometimes is not, I'm not sure what do you mean with external pullup resistor? i can shorter the cable and see how it works, no the cables are not soldered and usually it's not a problem when prototyping

        So now I'm trying to use just one cable but as soon as I connect v to v and g to g of the trill it bleats disconnected, it seems to make a short circuit, I don't know what to do to be honest

          So, more updates, the problem it's the ground, it seams it makes some bad contacts and i don't know how i can solve it, i suppose to have a performance on friday but i'm not sure if it's possible to fix it. any help/suggestion is welcome!

          christie s, no the cables are not soldered and usually it's not a problem when prototyping

          I told you here and I tell you again: you need to solder those wires in order for them to work reliably. If you don't want to solder wires directly to the Trill, you can use the pin header that came with Trill and solder that instead and then use socket wires. If soldering the headers, make sure they are soldered on what is the top of the PCB in your picture above.

          christie as I connect v to v and g to g of the trill it bleats disconnected

          This could be because the tips of the pins on the other side of the Trill touch. Again, solder the wires or pins and you won't have that problem.

          To know about pullup resistors, see here but any effort is pointless if you don't solder those wires first.