SexScripts : Sex Scripts with Arduino interface - https://ss.deviatenow.com:443/viewtopic.php?f=4&t=398 Page 1 of 1

Sex Scripts with Arduino interface

Minobu [ Fri Apr 04, 2014 5:02 pm ]

Hi everybody,

first I want to thank you for this nice software :)

I'm thinking about writing a script which interacts with an arduino board. I have a question since I'm new to arduino and sex scripts programming.

My idea is to interface the PC via usb cable to the arduino board. The script should then send a command to the arduino board to switch on/off an I/O pin to turn on/off a toy via usb. Is there a command in sex scripts that I could send a signal (e.g. a string) via the usb port?
Alternativly I'm thinking to play a sound in the sex script and connect the headphone socket of the PC into an analog-in of the arduino (but this seems a bit cumbersome).

Thank you very much
Minobu

Re: Sex Scripts with Arduino interface

doti [ Fri Apr 04, 2014 10:08 pm ]

Hello

Alas, this USB thing is quite platform dependent. Highly, in fact.
You'll be able to do everything Java can do. So probably this url is a good sample : http://www.drdobbs.com/jvm/control-an-arduino-from-java/240163864.

The sound idea seems quite ok. The best way will be WiFi or any ethernet, but that's not so cheap (adruino ethernet shield : $35, WiFi : $80).

Re: Sex Scripts with Arduino interface

Minobu [ Mon Apr 07, 2014 8:50 pm ]

Hey :)

Thanks. I will try to do it with the sound recognition in the Arduino.

Re: Sex Scripts with Arduino interface

cd228 [ Sun Feb 05, 2017 10:15 pm ]

Sorry for bumping up an old thread, but I am also very interested in this aspect.
Even though I have used some java commands in sexscripts before, I have not really
cracked the code on how to use larger portions of java code in sexscripts. Is this possible
somehow?
for instance http://www.drdobbs.com/jvm/control-an-a ... /240163864
from this link, I have no idea how to execute this in a sexscripts file...

Re: Sex Scripts with Arduino interface

modnar [ Mon Feb 06, 2017 1:50 am ]

I actually use an Arduino Yun and just use the bridge to communicate over HTTP to send commands backwards and forwards. I modified a couple of scripts to be able to use it, I.E one of them controls a vibrator & mag lock (the script was supposed to be CD key release)

Always have a backup method though, if the communication fails, you are not going to be in a good place. Make sure if using HTTP to send the command, make sure it was successful and if not try again.

Re: Sex Scripts with Arduino interface

cd228 [ Thu Feb 09, 2017 6:33 pm ]

Mine is an Arduino Uno, so it requires I get an internet shield.
I have a small program in C# which can communicate over serial port, and I guess I should be able to make one in Java that does the same. But I have no idea how I translate directly from a Java application to sexscripts, since there are differences.

Re: Sex Scripts with Arduino interface

cd228 [ Thu Feb 09, 2017 6:37 pm ]

modnar wrote:
I actually use an Arduino Yun and just use the bridge to communicate over HTTP to send commands backwards and forwards. I modified a couple of scripts to be able to use it, I.E one of them controls a vibrator & mag lock (the script was supposed to be CD key release)

Always have a backup method though, if the communication fails, you are not going to be in a good place. Make sure if using HTTP to send the command, make sure it was successful and if not try again.


By the way - which commands do you use from sexscripts to communicate over HTTP?? I would really like to see, as I think I have found a work-around:)

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