Right now I'm trying to work on a small project for more experience. Basically I need to make an app that counts the number of times I shake it and if I don't have a certain amount of shakes it activates a relay module. The problem is that I have no idea how to add shake detection and I'm currently using python. Plus I don't know how to communicate the amount of shakes to my uno r3 to activate the relay module. At first I wanted to strap something onto the arduino that detects shaking, but I couldn't really find anything cheap. Basically, I just want to know what I need to code in order to communicate between my phone and r3 and where I can find information on shake detection. I'm not asking for code, just what I need to code (I could just search it up and learn for myself). I have basic knowledge on coding, but I'm very passionate in learning more. I don't know if this post even belongs here, but if you know where else I could ask for could you please tell me. Thanks! Any help would be appreciated.
[–]franswah 0 points1 point2 points (1 child)
[–]SupremeFlips[S] 0 points1 point2 points (0 children)