Playing with a motion-sensor
Playing with a motion-sensor
I have been playing around with a motion-sensor (GY-521 IMU sensor)...
It has an integrated gyroscope and acceleration sensor.
There are no external components necessary and it can run from a 9V battery (should last for 1-2 hours with WiFi enabled)
Wiring is explained in the link above, there are libraries available to interact with it, very easy...
Like all my devices, interaction with it are made via http-calls. So far, i have implemented two features:
- keep still: this limits the allowed acceleration in all directions. The sensitivity can be adjusted, on highest setting, it can detect me typing this while it's placed near the keyboard.
- pet-mode: this allows only movement around the vertical axis. If it's mounted to a harness or collar, it will force someone to stay on all fours.
It's possible to register a callback-url, e.g. a http-link that will be called when any of these limits is exceeded. Like i wrote, all of my devices work this way, so i can trigger a lot of different actions. The shock-collar or spanking-machine, add time to the k-safe, start/stop a vibrator or pump...
I can think of numerous scenarios, not only pet-play, but also blocking a door or lid, stress-positions, ...
I'm curios to hear your ideas...!
It has an integrated gyroscope and acceleration sensor.
There are no external components necessary and it can run from a 9V battery (should last for 1-2 hours with WiFi enabled)
Wiring is explained in the link above, there are libraries available to interact with it, very easy...
Like all my devices, interaction with it are made via http-calls. So far, i have implemented two features:
- keep still: this limits the allowed acceleration in all directions. The sensitivity can be adjusted, on highest setting, it can detect me typing this while it's placed near the keyboard.
- pet-mode: this allows only movement around the vertical axis. If it's mounted to a harness or collar, it will force someone to stay on all fours.
It's possible to register a callback-url, e.g. a http-link that will be called when any of these limits is exceeded. Like i wrote, all of my devices work this way, so i can trigger a lot of different actions. The shock-collar or spanking-machine, add time to the k-safe, start/stop a vibrator or pump...
I can think of numerous scenarios, not only pet-play, but also blocking a door or lid, stress-positions, ...
I'm curios to hear your ideas...!
maid marta, Collared property of Domina Shelle Rivers and Lady Helena
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
- Shannon SteelSlave
- Moderator
- Posts: 6596
- Joined: 03 Feb 2019, 19:49
- Location: New England, USA
Re: Playing with a motion-sensor
Would it have the ability to detect vertical angles? If so, I would use it to enforce standing by placing it level on a hip mounted device, like a belt. I would set it's detection threshold so that it will not sound an alarm for intermittent pitch changes, like when doing housework, but if you get caught lying on the couch for more than a few seconds to a minute, then you are game for whatever punishment it can trigger or just have it log these abnormalities toward a points system.
Bondage is like a foreign film without subtitles. Only through sharing and practice can we hope to understand.
A Jedi uses bondage for knowledge and defense, never for attack.
I am so smart! I am so smart! S-M-R-T!....I, I mean S-M-A-R-T!
A Jedi uses bondage for knowledge and defense, never for attack.
I am so smart! I am so smart! S-M-R-T!....I, I mean S-M-A-R-T!
Re: Playing with a motion-sensor
I was also thinking the same thing as Shannon posted.
Also an intermittent "no motion" mode seems like fun: You have the device strapped to you in some way and are allowed to move all you want, but every once in a while an LED starts blinking for a short time (or it beeps, if you can make it do that) and then you're no longer allowed to move for some amount of time. For added evilness, make the length variable, for even more evilness, don't announce when the period ends so you're just left wondering if it's safe to move yet.
Also an intermittent "no motion" mode seems like fun: You have the device strapped to you in some way and are allowed to move all you want, but every once in a while an LED starts blinking for a short time (or it beeps, if you can make it do that) and then you're no longer allowed to move for some amount of time. For added evilness, make the length variable, for even more evilness, don't announce when the period ends so you're just left wondering if it's safe to move yet.
How may I serve you? *Curtsey*
- Shannon SteelSlave
- Moderator
- Posts: 6596
- Joined: 03 Feb 2019, 19:49
- Location: New England, USA
Re: Playing with a motion-sensor
So a sort of take on "musical chairs" or "red light" game. I thought of how to incorporate these into a "required to be in motion" detector. viewtopic.php?f=12&t=12053#p86603 They come in all sensitivities, and the angle of placement can also play a factor. I was planning to demonstrate them someday.
Bondage is like a foreign film without subtitles. Only through sharing and practice can we hope to understand.
A Jedi uses bondage for knowledge and defense, never for attack.
I am so smart! I am so smart! S-M-R-T!....I, I mean S-M-A-R-T!
A Jedi uses bondage for knowledge and defense, never for attack.
I am so smart! I am so smart! S-M-R-T!....I, I mean S-M-A-R-T!
Re: Playing with a motion-sensor
Basically yes.Shannon SteelSlave wrote:So a sort of take on "musical chairs" or "red light" game.
How may I serve you? *Curtsey*
Re: Playing with a motion-sensor
It is possible to have them do a specific route. For example, walking around the table 10 times with a jump or crawling through an invisible tunnel (change Y-value) in between. If they are not already sweaty enough (it also has a temperature sensor) it has to be done again and faster.
Re: Playing with a motion-sensor
all are great ideas and not too difficult to implement!
Recording a path is probably a bit more complicated. i found a paper about an indoor positioning system using a chest-mounted IMU...
I still have to read it and i'll probably have to reactivate some old knowledge from University
If that works on an Arduino, it would open amazing possibilities! Thanks to kinbaku for pointing me in that direction!
Recording a path is probably a bit more complicated. i found a paper about an indoor positioning system using a chest-mounted IMU...
I still have to read it and i'll probably have to reactivate some old knowledge from University
If that works on an Arduino, it would open amazing possibilities! Thanks to kinbaku for pointing me in that direction!
maid marta, Collared property of Domina Shelle Rivers and Lady Helena
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
Re: Playing with a motion-sensor
For the vertical displacement you probably have to take acceleration in the Z direction into account. GPS works in X and Y direction, but not very well in the Z direction (height). It is also best to let someone go through different rooms so that you do not get too much noise from errors between small distances (distance between the points less than the accuracy of positioning to be achieved).occorics wrote:all are great ideas and not too difficult to implement!
Recording a path is probably a bit more complicated. i found a paper about an indoor positioning system using a chest-mounted IMU...
I still have to read it and i'll probably have to reactivate some old knowledge from University
If that works on an Arduino, it would open amazing possibilities! Thanks to kinbaku for pointing me in that direction!
And let the sub walk in a specific route. In this way you can always determine whether he has sufficiently reached the place (x > a and y > b) without having to make the heavy calculations to determine the correct route.
Re: Playing with a motion-sensor
Yes, that's right, noise is a problem. I have worked with motion-tracking systems for a VR project in University. Biggest problem with inertia-based systems is that the error accumulates over time. Having a floor layout should be useful to increase plausibility.kinbaku wrote:For the vertical displacement you probably have to take acceleration in the Z direction into account. GPS works in X and Y direction, but not very well in the Z direction (height). It is also best to let someone go through different rooms so that you do not get too much noise from errors between small distances (distance between the points less than the accuracy of positioning to be achieved).occorics wrote:all are great ideas and not too difficult to implement!
Recording a path is probably a bit more complicated. i found a paper about an indoor positioning system using a chest-mounted IMU...
I still have to read it and i'll probably have to reactivate some old knowledge from University
If that works on an Arduino, it would open amazing possibilities! Thanks to kinbaku for pointing me in that direction!
And let the sub walk in a specific route. In this way you can always determine whether he has sufficiently reached the place (x > a and y > b) without having to make the heavy calculations to determine the correct route.
There could also be some kind of checkpoints (e.g. buttons mounted at certain places) to (re-)calibrate.
maid marta, Collared property of Domina Shelle Rivers and Lady Helena
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
Re: Playing with a motion-sensor
Good idea! Or a laserlight with an LDR in a tube (prevents disturbing light) so that (s)he interrupts the light beam at that location.occorics wrote:There could also be some kind of checkpoints (e.g. buttons mounted at certain places) to (re-)calibrate.
Re: Playing with a motion-sensor
While it's not nearly as cheap a solution, if you want accurate indoor positioning the Lighthouse used by the Valve VR goggles might be a good option (here's an example of what's possible)
How may I serve you? *Curtsey*
Re: Playing with a motion-sensor
Another way would be RFID. Reader on the module and tags on the ground, on the wall, and so on. There are reader and tags that support ranges to multiple meters. These readers are quite costy, but the tags are very cheap. So a lot of easy changable waypoints wouldn't be a problem and you only need one reader module.
Re: Playing with a motion-sensor
The reader doesn't need a lot of range if you work on the basis that the box can be brought close to the tag and/or the tag hangs on a length of chain so it can be held to the box. The PN532 reader would be fine for this and only costs a few £/$/€.
With that built into the box and a dozen tags around the house maybe the box could display a random number indicating the tag you have to go to next and the way to get there (walking/crawling/all fours), maybe with motionless stops along the way, and when you scan that tag it displays the next destination. Maybe you don't even know which tag corresponds to which number so you have to visit several getting punished for each incorrect one until you learn your way around.
Could make for hours of exhausting, horny, painful fun.
With that built into the box and a dozen tags around the house maybe the box could display a random number indicating the tag you have to go to next and the way to get there (walking/crawling/all fours), maybe with motionless stops along the way, and when you scan that tag it displays the next destination. Maybe you don't even know which tag corresponds to which number so you have to visit several getting punished for each incorrect one until you learn your way around.
Could make for hours of exhausting, horny, painful fun.
Re: Playing with a motion-sensor
RFID is an option, an alternative might be to use a camera and QR-code stickers...
I have also found this interesting approach: https://eloquentarduino.github.io/2020/ ... -learning/
It uses the strength of WiFi signals and machine-learning to reduce error.
I have also found this interesting approach: https://eloquentarduino.github.io/2020/ ... -learning/
It uses the strength of WiFi signals and machine-learning to reduce error.
maid marta, Collared property of Domina Shelle Rivers and Lady Helena
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
https://twitter.com/ShellesPuppy
my blog: https://owned-by-princess-shelle.blogspot.com
my art: https://maid-marta.bdsmlr.com
Re: Playing with a motion-sensor
I had this idea also using an accelerometer in an Arduino based system. You are not allowed to move for some time or else a penalty. The other option is that you have to move in a certain way (i.e. twerk or something like that) to make a certain penalty stop. This would be a very easy and cheap system to do but I never actually tried it out.Gregovic wrote:I was also thinking the same thing as Shannon posted.
Also an intermittent "no motion" mode seems like fun: You have the device strapped to you in some way and are allowed to move all you want, but every once in a while an LED starts blinking for a short time (or it beeps, if you can make it do that) and then you're no longer allowed to move for some amount of time. For added evilness, make the length variable, for even more evilness, don't announce when the period ends so you're just left wondering if it's safe to move yet.