estim4android

estim4android is a counterpart to my Estim Control/Server (ECS) app for desktop PCs. It can run on an Android table or phone, allowing you either to control a 2B power box connected to it, or to control someone else's remotely over the internet. Here's a quick summary of what it can offer:

  • connect to a 2B via the Digital Link cable and a suitable USB adaptor, or via a Bluetooth adaptor
  • connect to a remote 2B, via a direct internet link, or using StimBroker
  • save up to six local favourite settings
  • when connected to a remote copy of ECS, you can access the favourites stored on that system
  • save the current settings as a favourite on a remote copy of ECS
  • quick boost button
  • previous and next favourite buttons
  • ability to use phone sensors to trigger the 2B when motion is detected
  • control the app using a Pebble smart watch
  • auto-discovery of Estim servers on the same wifi network

The app is not available in the Play Store, and must be downloaded directly from this site. You may need to change settings in your phone to allow installation (usually Settings, Security, 'Allow installation of apps from unknown sources'). If you previously installed an older version (before July 2017) of the app, you will need to uninstall it before you can install the new one.

To connect to a 2B via cable, your phone or tablet needs to support USB On The Go (OTG), also sometimes referred to as USB Host Mode, and you will need a USB OTG adaptor, in addition to the E-Stim Systems Digital Link cable. These can be bought for a few pounds on Amazon and typically have a connector on one end to plug into your Android device, and on the other end a standard USB socket like those found on the back of a PC, unti which you plug the Digital Link cable. Some adaptors also have built in card readers. If your tablet or device does not support USB OTG, you can still use estim4android to connect to a remote 2B, or you can built a home-made Bluetooth adaptor.

Latest version: 2.60, June 2020: This is a test version, which supports newer firmwares from 2.120 and above. It has so far only been tested with a USB connection.

STABLE version 2.52,September 2019: This update replaces some core libraries, and should be compatible with Android 9 devices, as well as more serial cables.

A quick guide to the Android app

The main screen

The first image shows the main screen of the app, which has controls to change the levels and set the program of the 2B. First though you need to set up the connection. Tap the cog to display the menu. Settings will take you to the screen where you can do that. A quick look at the other options:
  • Device status will tell you the firmware on the 2B you're connected to, and the battery level
  • Send message allows you to type a message that will be displayed on the screen of a remote user, if you are controlling their 2B
  • Save to server allows you to save the current settings as a favourite on the remote system, if you are controlling a 2B that is linked to my ECS software
  • Start countdown sets a timer that will turn off the outputs of the 2B after the specified time
  • Check for updates checks to see if there is an updated version of the app

Settings, USB connection

If you are connecting to your 2B via a USB adaptor and the Digital Link cable, select USB as the connection type on the Settings screen. If you want someone else to be able to control it, tap the remote control icon (the leftmost one) and then tick Enable control via and select the method. Choose Always monitor eStim controls if you will also be adjusting settings using the controls on the box. This ensures any changes you make by turning the knobs will be fed back to the remote user.

It is also possible to choose other ways of enabling control, as long as you are linked to the 2B via USB.

  • Network is for a direct connection between two systems. This may require configuration of firewalls and/or port forwarding
  • Bluetooth allows another device running estim4android to connect, if it is within Bluetooth range. This, for example, could be useful in a club
  • Pebble allows my Pebble smart watch app to control the 2B

Settings, StimBroker connection

If you want to connect to someone else's device, the recommended way is to do so using StimBroker, as you just need to enter an id, PIN code and short profile. However, you can choose alternate methods to connect
  • Network is a direct connection between two systems. Some network configuration may be required. If the Estim is connected to either a phone running estim4android or a computer running Estim Control/Server and on the same network, it can be discovered automatically (version 2.4.5 and above)
  • Bluetooth allows you to connect to another device running estim4android, or to a 2B that has a home made Bluetooth adaptor plugged into it. Tap Find devices to scan for Bluetooth devices

Quick tips

Basic usage

Once you've set up the connection in the Settings, tap the Online button at the bottom left. If it's a remote connection via StimBroker, you may be asked to select the user you want to link to. The Stop button at bottom right is on all screens, and sets the 2B outputs to zero straight away. The plus and minus butons for each channel increase or decrease levels one step at a time, or five at a time if you hold them down. The drop down menu at the top of the screen selects the program mode, and the pushbutton next to it select high or low power.

If you have connected to a remote system, and and the app detects it is running my ECS software, you may see a brief message "Advanced remote detected" and shortly afterwards, the favourites list from the remote app will be loaded into the drop-down below the list of programs. You can select an item from the list, and the settings will be adjusted to it, taking the time specified on the remote system.

Favourites

Tap Fave at the top of the screen to view thhe favourites. These will appear empty to start with. To save the current settings to a favourite, long tap one of the buttons. The label will update to show the name of the program and the main settings. To launch a favourite, make a short tap on the button. What happens next depends on the setting of the Favourite mode menu at the bottom of the screen.

If it is set to Always ask then before a favourite is launched, you'll been presented with a list of the choices on the menu. If you pre-select an option, that will be used for all favourites in future, until you change it again. Options range from a short jolt, to taking ten minutes to reach the specified settings.

Quick change

This screen is designed to make it quite simple to go through a range of settings, without fiddling too much. The Previous Fave and Next Fave buttons go from one setting in your favourites to the next. Long tap the Boost button to set a boost timer, eg 30 seconds, and then the amount each channel will change over that period, for example +5 on A and +3 on B. When you have set the Boost options, a short tap on the button will make those changes over the specified time; if it gets too much, tap Halt to stop at the current level. This might be handy for edging yourself, for example.

Motion detection

Tap Move at the top of the screen for motion control settings. To use these you first need to calibrate the sensor, which uses the phone's accelerometer. Place the phone on a person or object that's not moving, and tap the Calibrate button. It will count down for ten seconds, and work out the extremes of movement. So, if it's on your chest, normal breathing will be taken into account. You could even be walking around slowly, too.

When the sensor has been calibrated, choose the length of zap to be inflicted when motion is detected, and the setting to use, from the saved favourites, and then tap the button at the bottom left of the screen.

Acceleration greater than that detected during calibration will trigger a zap. So, a sudden movement, or an increase in pace, but walking at the same speed, or just breathing should be fine

The power screen

This is an informational screen only, just a pair of bars that get more and more red the higher the power level is set.

StimBroker chat

From version 2.50, and the February 2018 update to StimBroker, the app includes support for StimBroker chat. When you are using StimBroker and tap the Online button, the list of currently logged in users will appear, and the chat window will appear automatically (unless you have selected a user to auto-connect to, in Master mode).

Tap the drop down menu at the top of the page to see who's connected; as you select a user, their profile text will appear. Type a message to start a chat with them, to tap the exit (top right) icon to quit chat. You will still appear online to other users. If someone sends you a message, the chat window will appear automatically.

If you are in Master mode, and want to control someone else's 2B, then select them from the list and tap the remote control icon, to send a connection request. If the request is accepted, the chat will close automatically.

StimBroker Chat