Android Tasker plugin for sending serial messages over Bluetooth. Example Arduino code for turning a switch on/off
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
BluetoothSerialfromTasker better logging and socket creation/closing Mar 18, 2018
arduino_bluetooth_switch Change default for shutoff Oct 19, 2016
schematics minor schematic fix Dec 26, 2015 published app Sep 17, 2017


This repository contains three parts:

  1. Schematics for setting up a connection between an HC-05 Bluetooth module, an Attiny85, and some transistors, in order to control a 5V power output.
  2. Arduino code that setups a bluetooth connection, and waits for serial input that controls the transistor output.
  3. Android code that implements a Tasker plugin which sends messages over Serial to a paired Bluetooth device.

The overall decisions and motivation are discussed in my blog post, but in case you might want to try it out for yourself, setup the Arduino example (make sure to change the name and paircode), and install the APK from Google Play.

Please note that for the Android code, Bluetooth must already be switched on, and the device to communicate with must already be paired.