I hooked it up to my bench psu so am certain it's getting enough power. I used the tile app to trigger the sound output from the tile. But I couldn't hear anything.
I took the piezo out and applied 3v to it but it did nothing. Does this mean the piezo is dead?
Oh it has to be ac. Oops. I used the tones example sketch to drive the piezo. I don't get any sound out of the piezo. I tried with the wires either way round. But I did think it probably doesn't matter. If this isn't the way to drive it, please provide me with a circuit to invert the dc source into ac. I mainly play around with digital stuff so i dont need an ac supply.
The piezo doesn't look damaged to me but I probably dont know what to look for.
I assume there's a micro in the tile that drives the piezo. As far as I can tell that is fine because I got a 1Mhz signal at the crystal. There was two crystals and both were oscillating at 1Mhz.
It's just a shame to throw this away because I have tested with the tile app and it can connect to it. That tells me the circuitry is fine and i should stop using cheapo batteries.
As long as you're generating a tone from the Arduino, then that is AC - however, if you've checked for 1MHz at the xtal, then presumably you have a scope? - so check for 1KHz (or whatever) on the piezo.
school boy error. The sketch uses the setup function to play the melody but that only gets executed once. My piezo is ok. Ok I guess this Tile is unrepairable.