Communicating with your Mod from your Android phone

Posted by & filed under How-To, Software.

otg

Introduction

Connecting your Mod to your Android phone opens up all sorts of possibilities for in-bedroom controls and connectivity. The android part isn’t nearly as straightforward as it should be, so we provided this tutorial for you! Read on to find out how to get this working with your device.

USB OTG

The USB protocol operates in a host/accessory configuration. Your computer is a USB host. It’s the main device to which you attach other devices (such as a USB keyboard, printer, camera, or phone), and it’s capable of providing power to operate and charge those devices.

Your phone typically behaves as an accessory, expecting to connect to a host and be manipulated by that host.

The USB OTG (On-The-Go) standard allows some devices that are typically accessories to behave as hosts, so you could, for instance, plug your printer in to your phone to print a document.

(more…)

Computer Vision Dildos

Posted by & filed under Distance, How-To, Software.

img_54948ae530c7b

Introduction

 

Computer Vision

Computer Vision processes the pixels coming into a computer from a camera to sense and understand things about the world. One example of this is the Face-tracking software built into many cameras and video-chatting software these days. Because the Mod can talk with computers very easily (by just plugging it in), you can use many computer vision programs to control how your dildo works!

In this example we show you how to control your dildo with your computer’s webcam. Watch several examples of many different types of interactions. With a simple computer vision program, your dildo can respond to: dancing, waving, thrusting, blinking, or even ambient scenes like an aquarium or tree branches swaying in the wind.

(more…)

Advanced Programming: Patterns

Posted by & filed under Software.

This section assumes more familiarity with programming. You will want to be somewhat familiar with data types, variable scope, arrays, and pointers to get the most out of this section.

Vibration patterns

At some point, you’ll probably want to get a bit more creative than simply turning a motor on/off over and over again. The OS Sex library has a few features to help you make more intricate vibration patterns.

(more…)

Getting Started with Programming

Posted by & filed under Software.

Our Mods run our open-source OS Sex software, giving you complete control over how your toy behaves and responds.

Interested in hacking your sex toy? Read on for our Getting Started guide and also check out our Gallery for examples of cool hacks that others have made.

 

First things first

If you’re interested in programming but have never done it before, the first thing to know is don’t be intimidated. You can do it.

Plus, we live in an era where you can talk to almost anyone on Earth any time you want. There are lots of people out there (starting with us here at Comingle) that want to help you. So don’t sweat it!

 

Background

Your Mod runs on an Arduino. An Arduino is basically a small computer that can be easily programmed and adapted for a variety of purposes, such as making a pollution detector, a biking jacket with visible turn signals, a way for plants to tweet when they need water, and of course sex toys.

What makes Arduino fun to use is that it’s very simple and you can easily manipulate its inputs and outputs.

Inputs are how you talk to the Arduino. Touch screens, heart-rate monitors, microphones, buttons, keyboards, brainwave helmets, etc. are all inputs.

Outputs are how the Arduino talks to you. In the case of your Mod, the outputs are the vibrating motors — the Arduino controls when they turn on and at what intensity.

So you could think of your software (and programming in general) as just directing what to do with the inputs and outputs:

  • “If I press this button, turn all the motors on. If I press it again, turn them off.”
  • “If my heartrate is 60 beats per minute or less, don’t do anything. If it’s between 61 and 90 beats per minute turn the first motor on. If it’s greater than 90 beats per minute, also turn the second motor on.”
  • “Listen to the microphone and vibrate to the beat of the music.”

(more…)