To all the electronic nerds out there: I am trying to trigger a 555 timer by movement in a random direction that also occurs randomly and any change in position should trigger the 555. AFAIK tilt switches are not useable here. Does this idea make sense?
Ferrite core In orange, spool in blue.
Would there be a voltage generated by movement if the core is suspended by some kind of spring or rubber band?
The idea being to play a sound from a df mini player by pulling a pin high for 3 seconds.
If your coil was oscillating, then perhaps an iron core moving through it would cause perturbations which are detectable. But that would require extra logic to compare the expected oscillation frequency with what the coil is actually oscillating at.
Since you say that tilt switches are not an option – for reasons I’m not entirely sure I understand – another option is to have a linear Hall effect sensor mounted nearby a small magnet. If the magnet moves relative to the sensor, then that is a change which can be acted upon. A linear sensor makes it possible to use a trim pot to tune the sensitivity.
thanks for the reply
i failed to mention the most important aspect of the project: (near) zero power consumption when idle.
it is a vacuum (that kinda looks like r2d2) that i want to play some r2d2 noises when used.
it is hauled around on a construction site on the scaffolding and wont be in an upright position while idle or in usage, so tilt switches didnt make sense to me.
i plan to run it from a coincell or maybe 2 aa, but it should only draw power when the sensor is triggered so the power should last years if i understood the 555 timer correctly. that means accelerometers and linear hall effect sensors are out too due to microcontrollers and thus power draw.
somebody else mentioned vibration sensors (SW-18010) that look promising.
my spool idea was just bad … :)