this post was submitted on 17 Nov 2023
5 points (100.0% liked)
Ask Electronics
3316 readers
1 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 ... :)