SexScripts : SexScripts & Arduino - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=751 Page 1 of 1

SexScripts & Arduino

modnar [ Mon Mar 26, 2018 10:07 pm ]

Good evening all,

I've noticed some interest recently in SexScripts and Arduino communication. I have had a little play this evening and found a possible way to get both working together. Please let your interest be known below, and if so I will spend some time over the next couple of days putting some stuff together for you to use. It will require just a USB cable.

Re: SexScripts & Arduino

bamaswitch [ Mon Mar 26, 2018 10:58 pm ]

Very interested!

Thanks for offering to work on it.

Re: SexScripts & Arduino

cd228 [ Tue Mar 27, 2018 10:10 am ]

Yes, that could be awesome!

I have been playing around with python, but I am not experienced enough to make it work.

Re: SexScripts & Arduino

cd228 [ Tue Mar 27, 2018 10:15 am ]

And if you write it in python, I would very much like to see the code:)

Re: SexScripts & Arduino

itami [ Tue Mar 27, 2018 3:00 pm ]

If you could integrate Arduino in Sexscripts it will surely breathe life into the community.

Re: SexScripts & Arduino

modnar [ Tue Mar 27, 2018 7:06 pm ]

Ok, so this is just a quick test run, but show's it working with Arduino.

You will need to download jSerialComm from http://fazecast.github.io/jSerialComm/ and you need to put the file "jSerialComm-1.3.11.jar" into "sexscripts\lib" directory.
Next, you will need a new "sexscripts.bat" file creating. Put the following into the file "java -Djava.ext.dirs=lib -Dfile.encoding=UTF-8 -jar sexscripts.jar" (See http://ss.deviatenow.com/viewtopic.php?p=5760#p5760)

This is rushed, so please excuse the mess. It should be enough to get you going.

Arduino code:
Show spoiler

SexScripts code:
Show spoiler

Re: SexScripts & Arduino

doti [ Tue Mar 27, 2018 7:16 pm ]

Nice! I may have missed something, but is this about a connexion by USB, or by serial port ? (or this is a mix of both ?)

Also, with what kind of Arduino devices ?
(related : do some sextoys are using Arduino nowadays ? Even hidden ?)

Re: SexScripts & Arduino

modnar [ Tue Mar 27, 2018 9:19 pm ]

Hey Doti,

This can be used via USB -> Arduino for Serial, or even a Serial connection.

*DISCLAIMER* I wouldn't recommend using this method for a maglock setup. If SexScripts crashed or the Serial failed, you wouldn't have a way out. (You should be using a plug-timer at the least anyway)
If I had more control over what I could do. I.E a background Serial method you could get the Arduino to send "PING" style messages to make sure SexScripts was still there and responding, and if not Arduino could shut what what ever is needed.

There's a few things you can do with an Arduino today, You can control a 3V vibrator for instance.

I brought a Tremblr, but made my own PCB with Arduino so I can now control everything from the Arduino.
I also created some contraption to mount some Stepper motor's onto the Sybian controls, which allows me again to control the Sybian via Arduino.
You could even get the Arduino to control an eStim box.

There are lots of possibilities.

Re: SexScripts & Arduino

cd228 [ Tue Mar 27, 2018 11:33 pm ]

Thank you so much!!
This is awesome.

I think I can create some cool things with this.:).
I just experimented I tried out the following with an edging machine:


Code:
def edging = false
def stop = false
int i = 1
while(!edging&&!stop){
   if(arduinoWriteWithResponse(comPort,"Edging")=="ssrEdging")edging = true
   else if(i==5)stop=true
   show(i)
   wait(1)
   i++
}
if(stop)show("Time for something else");
else if (edging)show("Ahh edging are we?")
showButton("Next")



I reduced the wait time to 0,05 in the arduinoWriteWithResponse() function.
This basically keeps asking the Arduino whether it detects an edge, and can interrupt if it sends back the "ssrEdging" string:D.

Re: SexScripts & Arduino

modnar [ Tue Mar 27, 2018 11:58 pm ]

Oh btw, I didn't mention but I choose "ssq" to mean "sexscriptquestion" and "ssr" is just sexscriptresponse" if you did wonder why.

Great work anyway :)

Re: SexScripts & Arduino

modnar [ Tue Apr 03, 2018 6:15 pm ]

Hey,

Just checking in. Anybody had chance to play and have any success?

Re: SexScripts & Arduino

cd228 [ Thu Apr 05, 2018 8:01 pm ]

Not yet. Have ordered some components for my Arduino, and will test it out more as soon as I get them:)

Re: SexScripts & Arduino

cd228 [ Mon May 21, 2018 5:11 pm ]

Still working on the project. I have made an edging machine like the one posted here before, however my MOSFET seemed to be broken, so it doesn't work yet.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011