Renting a coder's services for Hitachi controller?

Selfbondage software and other kinky developments

Moderators: Riddle, Shannon SteelSlave

Post Reply
Moriteru
*
Posts: 12
Joined: 28 Feb 2012, 17:58

Renting a coder's services for Hitachi controller?

Post by Moriteru »

Hello! I'm looking for someone who's willing and able to create a program for me, and to walk me through building an Arudino board for selfbondage. Basically, I want a system that turns a Hitachi on and off semi-randomly, based on a set of timing parameters I put into the program on a session-by-session basis. For example, I want to be able to tell the Hitachi to turn on at random intervals, for between 5 and 20 seconds, with dormant intervals of 5-120 seconds in between. It'd be a huge bonus if I could weight the odds of getting certain intervals, for example, 50% of all "on" intervals will only be 5 seconds, and 5% of all "on" intervals will be 20 seconds. I'll also need some help setting up the Arudino board to do this, as I have very limited experience working with circuitry of any kind. I'll be relying a lot on your expertise, and I may be a bit demanding :whip: , but I'm willing to pay for it! If you're interested and able, send me a PM and we can talk about price. Thanks!
Last edited by Sir Cumference on 26 Aug 2015, 22:07, edited 1 time in total.
Reason: Headline improvement
User avatar
Sir Cumference
Moderator
Posts: 1606
Joined: 29 Jan 2012, 22:00
Location: Scandinavia

Re: Renting a coder's services

Post by Sir Cumference »

It is basically done here:

http://forum.boundanna.net/board/viewto ... =12&t=8478

All you need, is The part with the random number generator and a solid state relay.
Pretty easy.

I'm a bit overworked for the moment, but I'll be happy to write one, if none of the other can do it on short notice.
(As soon as I have a bit of available time, that is)
~ Leatherworking, blacksmithing , woodworking and programming are the most pervertable skills you can learn! ~
amity
**
Posts: 61
Joined: 14 Jan 2009, 14:15

Re: Renting a coder's services for Hitachi controller?

Post by amity »

Hi Moriteru,

I have had basically the same questions as you (see related link from Sir Cumference) and have started with "Zero" knowledge about arduinos and so on.

It takes some time but it works - thanks to the marvelous, outstanding... help from all the guys in this forum (especially Sir Cumference, Dark_Lizard and PiJoy).

So go for it.

And when you have a program ready, please don`t be to shy to share it here.
In the beginning, I thought what the others might think if they see my first steps :oops: :oops: :oops:
I bet I can get someting new out of your programming which inspires me to try again.

Anyway, does anybody know a link in the www. to another existing (tease-)program for an arduino and a bullet vibe (or hitachi)?

Cheers
amity
User avatar
Dark_Lizerd
*****
Posts: 2416
Joined: 22 Oct 2006, 11:30
Location: New Mexico

Re: Renting a coder's services for Hitachi controller?

Post by Dark_Lizerd »

I think you overlooked this thread...
[url][/http://forum.boundanna.net/board/viewto ... &t=8478url]
OK, already pointed to...

But here is a thought...
If someone programs it for you, then you haven't learned anything...
BUT...
If you learn to program it yourself, you will learn how to fix it if something goes wrong.. (like that never happens... :roll: )
And, you will learn how to modify it to create event more effects that you haven't thought of yet...
Like a feedback so that before you start to cum, it will turn off for a long while... then come back on full power...
Then cut off for a bit, then return to a teasing sequence...
All advice is checked, re-checked and verified to be questionable...
Don't ask, we both wont understand the answer...
http://www.mediafire.com/download/09dtr ... e_V2_2.exe Not just for nubies any more...
User avatar
Sir Cumference
Moderator
Posts: 1606
Joined: 29 Jan 2012, 22:00
Location: Scandinavia

Re: Renting a coder's services for Hitachi controller?

Post by Sir Cumference »

Just an example of how it could be done:
(If you just want to get off, rather than get smarter :mrgreen: )

It is tested now, and a bug has been squashed.
It works as intended.

You should use a solid state relay as the "switch".
You need 110V or 230V for the wand, and that must be handled by a relay.
(FOTEK 25A from ebay is my standard solution for switching mains power)

An arduino should never be asked to deliver more than 40 mA. That is plenty for a "signal", but not enough for anything more serious than an LED or a small loudspeaker.


Code: Select all



//Constants. This is where you give the limits for the random numbers drawn later
const int offlow=5000;    //times are in milliseconds
const int offhigh=15000;  // the high value must be higher than the low value
const int onlow=3000;
const int onhigh=17000;
const int outputpin = 13;  //the pin that should be connected to your relay

//variables, a place to put the random numbers drawn later
long offtime=0;
long ontime=0;

void setup(){
  Serial.begin(9600);
  pinMode(outputpin, OUTPUT);

  // if analog input pin 0 is unconnected, random analog
  // noise will cause the call to randomSeed() to generate
  // different seed numbers each time the sketch runs.
  // randomSeed() will then shuffle the random function.
  randomSeed(analogRead(0));
}

void loop() {

// find a random number from onlow to onhigh (how long to be on)
ontime = random(onlow, onhigh);  //and here we draw a number from within the limits given earlier and give that value to "ontime"
//print the number
Serial.print ("Ontime is:  ");
Serial.println(ontime);
// and switch on the outputpin
digitalWrite (outputpin, HIGH);
// wait for "ontime" to pass
delay (ontime);

// find a random number from offlow to offhigh (how long to be off). Just like before.
offtime = random(offlow, offhigh);
//print the number
Serial.print ("Offtime is:  ");            //writing to the serial monitor let's us see what is happening. Especially good for debugging!
Serial.println(offtime);
// and switch off the outputpin
digitalWrite (outputpin, LOW);
// wait for "offtime" to pass
delay (offtime);

//and now we will go back to the start of the loop, and do it all over again

 
}
Last edited by Sir Cumference on 28 Aug 2015, 12:15, edited 1 time in total.
Reason: edited for a bug in the code. I shall spend 27 minutes in celibacy to make up for posting un-tested code.
~ Leatherworking, blacksmithing , woodworking and programming are the most pervertable skills you can learn! ~
Moriteru
*
Posts: 12
Joined: 28 Feb 2012, 17:58

Re: Renting a coder's services for Hitachi controller?

Post by Moriteru »

Thanks everyone! I did indeed overlook that other thread, it's got a lot of good info. I suppose I can muster up the elbow grease for a worthwhile project. Thanks again!
Moriteru
*
Posts: 12
Joined: 28 Feb 2012, 17:58

Re: Renting a coder's services for Hitachi controller?

Post by Moriteru »

Sir Cumference, I really appreciate the bit of code you provided, thank you. Looking at that, I'm starting to think that maybe this is something I'll be able to handle after all.
User avatar
Sir Cumference
Moderator
Posts: 1606
Joined: 29 Jan 2012, 22:00
Location: Scandinavia

Re: Renting a coder's services for Hitachi controller?

Post by Sir Cumference »

Moriteru wrote:Sir Cumference, I really appreciate the bit of code you provided, thank you. Looking at that, I'm starting to think that maybe this is something I'll be able to handle after all.
My pleasure.

Look at it as learning a few useful words and some syntax in a new language.

After that, it is "just" a question of putting bits of code together.

Then the code will do as you tell it.*

There are lots of examples only for inspiration, and for a lot of the pervy stuff, it really is something rather simple we want it to do.
Working as a timer, release mechanism, counter or switching things on and off




*quite often the problem is, that it does exactly what you tell it to do, not what you intended it to do.
:facepalm:
~ Leatherworking, blacksmithing , woodworking and programming are the most pervertable skills you can learn! ~
Post Reply