acceleromer CJMCU 105 ADXL345 suddenly sending jittery data

hey! thanks for your replies! sorry if i made stupid mistakes, but again, i just started working on electronics so i have little knowledge concering volts, capacitators, etc. your help is much appreciated though!

Did you read and look at it?

uhm, to my shame, i actually did... but then i looked at another sketch where the motor was connected the same way that i connected it (wrongly it turns out) and i liked that second sketch better.. heh :smiley: hoped i would get away with that( and until it worked without breaking anything), but now i will of course copy the correct setup!

thx again! just one last question, do you always use diodes in parallel or is the way i connected it to the adxl345 correct?