de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Sex Scripts with Arduino interface
PostPosted: Fri Apr 04, 2014 5:02 pm 
Offline
Regular
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


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Fri Apr 04, 2014 10:08 pm 
Offline
Site Admin
User avatar
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).


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Mon Apr 07, 2014 8:50 pm 
Offline
Regular
Hey :)

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


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Sun Feb 05, 2017 10:15 pm 
Offline
Addict
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...


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Mon Feb 06, 2017 1:50 am 
Offline
Active member
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.

_________________
while (!succeed) try();


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Thu Feb 09, 2017 6:33 pm 
Offline
Addict
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.


Top
 Profile Send private message 
 
 Re: Sex Scripts with Arduino interface
PostPosted: Thu Feb 09, 2017 6:37 pm 
Offline
Addict
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:)


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.