Like Ra in latex catsuit, latex mask and high heels
Like Ra's Naughty Playground

ballet "high heels"
1Pair Soft Forefoot Pads Silicone Gel Pointe Toe Finger Cover Pain Protector High Heels Gel Pads For Feet Ballet Foot Care
$21.54-50%

ultrathin "pantyhose"
HASUKI SA01 1/12 Ultrathin Seamless 3D Pantyhose Stockings Clothes Accessory Model Fit 6'' Female Soldier Action Figure Body
$6.04-26%


"leohex"
LEOHEX-Women's PU Leather Pants, High Elastic Waist Leggings, Not Crack Slim Mirror Trousers, Fashion
$65.32-51%

latex bondage
1 Pair Wholesale PVC Vinyl Spandex Zentai Long Black/Red Opera Gloves Unisex Latex Bondage Clubwear PVC Gloves
$8.08-29%

"xckny"
XCKNY glossiness Series tights sexy smooth One Piece Skin Bodysuit Unisex glossy pants Yoga Pants sexy skin bodysuit
$97.88-50%

chren layout
20pcs Fishing Line Hook Swivels Shank Clip Connector Interlock Snap Sea Space Beans Lure Fishing Hooks Connector Pesca Tackle
$2.02

polka dot oil glossy pantyhose
Japanese Polka Dot Summer Sheer Pantyhose High Waist Crotchless Underwear Erotic Lingerie Clubwear Women Oil Glossy Sexy Tights
$7.91-3%



To view Aliexpress you might need to switch your mobile browser to the Desktop version.


Electronic selfbondage and chastity box
Electronic selfbondage and chastity box
€69.90

If you would like to use search functions, view hidden archives or play games, please consider registering.


Help needed.
#11
(First Post!)
---

Similar approach to that of @no smile. Here's the wiring diagram:

 buttonCountdown_schem.png   

Here's a video showing it working:


Source: https://www.likera.com/forum/mybb/attach...?aid=38686



FullSizeRender.MOV (Size: 2.43 MB )



Code: (disregard anything with regards to LCD - it was just for demonstration purposes):
Code:
#include <SPI.h>
#include <LiquidCrystal.h>

#define buttonPin 2
#define magnetPin 4
#define duration 5000     // Duration of locked phase in milliseconds (1ms = 1/1000 of a second)
#define preparation 5000  // Duration of preparation phase in ms

unsigned long lastON = 0;
unsigned long timeCounter = duration;
bool finished = false;
LiquidCrystal lcd(9);

byte smiley[8] = {
  B00000,
  B10001,
  B00000,
  B00000,
  B10001,
  B01110,
  B00000,
};

void setup() {
  pinMode(buttonPin, INPUT_PULLUP);
  pinMode(magnetPin, OUTPUT);
  digitalWrite(magnetPin,LOW);
  Serial.begin(9600);
  lcd.createChar(0, smiley);
  lcd.begin(16, 2);
  lcd.print("Locking in...");
  unsigned long now = millis();
  while (millis() - now < preparation) {
    lcd.setCursor(0, 1);
    lcd.print((preparation - (millis() - now))/1000 + 1);
  }
  digitalWrite(magnetPin, HIGH);  // power the magnet
  lcd.clear();
  lcd.print("Locked! Left:");
  lastON = millis();
}

void loop() {
  if (timeCounter <= duration && !finished) {  // We catch a the absence of a rollover of timeCounter. If there is, it means we passed 0.
    if (digitalRead(buttonPin) == LOW) {
      timeCounter -= (millis() - lastON); // if the button is pressed, remove from counter the time that passed since the last loop iteration
    }
    lastON = millis();  // reset the last loop iteration timer
    Serial.println(timeCounter / 1000.0);
    lcd.setCursor(0, 1);
    lcd.print(timeCounter / 1000.0);
  } else {
    Serial.println("UNLOCK");
    lcd.clear();
    finished = true;
    lcd.print("Unlocked! Hope");
    lcd.setCursor(0,1);
    lcd.print("you had fun! ");
    lcd.write(byte(0));
    digitalWrite(magnetPin, LOW); // power off the magnet.
    while (true);
  }
}


Even though I'm using two breadboards to do this, half of one would be enough if you omit the LCD.

The usual disclaimer: Try at your own risk, I'm not responsible for anything anyone might do with this. etc.
Reply
#12
(10 Feb 2020, 20:26 )swswl Wrote: (First Post!)
And first welcome! 😊
Reply
#13
(29 Jan 2020, 00:15 )Like Ra Wrote: Mains timer + 12V AC/DC adapter + door electro-magnet 😊

Yeah, just don't make the same mistake I did and leave the switch at "outlet on":

 Image-1.jpg   

I had an arduino + this mechanism and managed to mess up both. Good thing I had a 3rd safety! (padlock + iced key)
Reply
#14
(10 Feb 2020, 23:03 )swswl Wrote: just don't make the same mistake I did and leave the switch at "outlet on"
😯

(10 Feb 2020, 23:03 )swswl Wrote: Good thing I had a 3rd safety! (padlock + iced key)
Yes! My point - https://www.likera.com/sb/time/ice-padlock4.php 😉
Reply
#15
Cheers for that! The video isn’t displaying though?
Reply
#16
(11 Feb 2020, 12:15 )The inspector Wrote: The video isn’t displaying though?
I bet you are trying to watch it on an Apple mobile device: https://www.likera.com/forum/mybb/showth...p?tid=2450
Reply
#17
Yes, guilty! Forgot about the whole apple thing.
Reply