I'm trying to build a device that, on receiving a signal, lifts the mattress from one side (in a "slowly kick you out of bed" manner). Since linear actuators are generally expensive and i'm on a tight budget, I though of using a cheap scissor jack (like this one ), and move it with a simple electric motor, or most likely a gear reducer motor, but i'm no engineer (well technically a software engineer but that doesn't help here) so i don't know where to even begin to do the calculus. ¿Could anyone give me some pointers? I can do the math but i'm lost on the physics part.
PD: This is also my first time building any device, so if i'm missing some painfully obvious solution to this problem please tell.