RAD Developer Docs
OSSMSoftwareIntroduction

Introduction

Documentation for Introduction.

Firmware Overview

The Open Source Sex Machine (OSSM) firmware is an ESP32-based control system that manages motion, user input, and communication for your device. This guide walks you through the project architecture and helps you set up your development environment.

Core Technologies

The OSSM firmware relies on four key technologies that work together to deliver responsive, reliable motion control.

Getting Started

Set up your development environment by following these steps.

Prerequisites

Before you begin, ensure you have:

  • A computer running Windows, macOS, or Linux
  • Git installed on your system
  • An internet connection to download dependencies

Install VS Code and PlatformIO

Download and install Visual Studio Code, then add the PlatformIO extension.

  1. Open VS Code
  2. Navigate to the Extensions panel (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "PlatformIO IDE"
  4. Click Install and wait for the installation to complete
  5. Restart VS Code when prompted

For detailed PlatformIO setup instructions, see our PlatformIO setup guide.

Clone the repository

Open a terminal and clone the OSSM repository to your local machine.

git clone https://github.com/KinkyMakers/OSSM-hardware.git
cd OSSM-hardware/Software

If you plan to contribute changes, fork the repository first, then clone your fork instead.

Open the project in VS Code

Launch the project using PlatformIO.

  1. Open VS Code
  2. Select File > Open Folder
  3. Navigate to the OSSM-hardware/Software directory you just cloned
  4. Click Select Folder (or Open on macOS)

PlatformIO automatically detects the platformio.ini file and configures the project.

You should see the PlatformIO toolbar appear at the bottom of VS Code with build, upload, and monitor buttons.

Build and upload the firmware

Compile the project and flash it to your ESP32.

  1. Connect your ESP32 board via USB
  2. Click the PlatformIO: Build button (checkmark icon) to compile
  3. Once the build succeeds, click PlatformIO: Upload (arrow icon) to flash the firmware

Ensure you select the correct COM port if you have multiple serial devices connected. You can configure this in platformio.ini or through the PlatformIO device monitor.

Next Steps

On this page