Skip to content

EnriqueMoran/BittleBluetoothController

Repository files navigation

petoiBittleBluetoothController

Bluetooth controller for Bittle.

This app allow you to fully control your pet through Bluetooth without any previous configuration but pairing it with your Android phone. Download Current version (v0.1) apk file in Releases or here.

alt tag

How to use it

First of all, to control Bittle through a Bluetooth connection you must connect Bittle's official Bluetooth dongle. After connecting Bluetooth dongle and turning on Bittle, next step is pairing it with your phone, for this take the following steps:

  1. Swipe down from the top of your phone screen.
  2. Turn on Bluetooth connection on your phone.
  3. Access to Bluetooth configuration by pressing and holding Bluetooth icon.
  4. Find Bittle on avaliable devices (BittleSPP-XXXXXXX) and tap it.
  5. Use the following pin code 0000 (or 1234 in case it doesn't work).

Once your phone and Bittle are paired, you are ready to control it:

  1. Open PetoiBittleBluetoothController app
  2. Tap on PAIRED DEVICES.
  3. Select Bittle (BittleSPP-XXXXXXX) and wait till the connection is stablished (Bittle will make the same sound it makes when turning on).
  4. Control Bittle with your phone!

alt tag

Considerations

  • This is a Beta version, notice that you could encounter some issues while using it.
  • There is a 0.5 seconds delay when sending movement commands (to protect Bittle from performing actions too quickly). This delay can be modified in the code (in MainActivity, directionPersecondLimit parameter) at your own risk.
  • Before exit the app, send DISCONNECT command.
  • If Bittle won't listen to your movement commands, try sending it any other static command (like SIT).
  • If Bittle won't connect to your Android phone, try unpairing and pairing again.

Known Issues

  • GYRO button is not working properly.
  • Sometimes Bittle won't listen to movement commands.
  • Sometimes trying to connect to Bittle will cause it to not listen to connections, making it necessary to reboot.

Roadmap

  • Add a simple view mode, with less buttons on screen.
  • Improve connection and disconnection process.
  • Reconnecting to Bittle if connections is lost.
  • Improve User Interface.

Version history

  • v0.1 (03/12/21): First public Beta version.
    • Control Bittle through Bluetooth (after being previously paired).
    • The same buttons as IR remote controller included in Bittle startet kit are added (but calibrate).