Downloads

Android Files

Arduino Files

How to use these files

AutoSense has been designed for use on a device with a 7" or larger screen and is compromised of a couple of different parts. The main component is the Android app that runs in the front end. It's what you interact with the majority of the time. There is also an Arduino portion. This part interacts with the hardware, things like switches and relays for input and output.

The steps to install the Android portion are:

  1. Required: Android Jelly Bean, 4.2.2 minimum.  Android KitKat, 4.4 or greater recommended.  The new permission model in M has been addressed.  If you find a bug please report it in bug reports forum
  2. Enable "Unknown Sources"
  3. Download the apk file
  4. Install AutoSense

The steps to install the Arduino portion are:

  1. Download the Arduino firmware
  2. Download the "bossac" tool for your appropriate operating system
  3. Flash the firmware on the Arduino Due with the tool downloaded
  4. Connect the Arduino to your Android device, and establish a connection

Steps to install on Android


1. Go to your app launcher and open "Settings"

2. Scroll down to "Security"

Screenshot_2015-09-26-20-17-36

3. Click the toggle for "Unknown Sources"

Screenshot_2015-09-26-20-17-49

4. A warning will popup about security, click "OK"

Screenshot_2015-09-26-20-17-54

5. Open Chrome, or your browser of choice

Screenshot_2015-09-26-20-19-44

6. Browse to www.autosenseapp.com and click on Downloads

On the left you have two choices under "Android Files", they are the latest Stable version and the latest Nightly version.  The Stable version has been tested more and should be more reliable than the nightly version.  The Nightly version has the newest features, often times incomplete and possibly broken.  If you install the nightly expect to find more bugs and possible crashes.  Either way once the nightly is considered stable it will be promoted to the stable version and AutoSense will automatically download the update.

Screenshot_2015-09-26-20-20-09

7. Once the file is downloaded, using a program such as "ES File Explorer" you find the newly downloaded apk file and click it.

A window will popup displaying all the permissions required.  There are a lot of them as AutoSense is a full launcher replacement with many features.

Screenshot_2015-09-26-20-26-17

8. If you accept the permissions click the "Install" button and AutoSense will begin installling

You're done, time to configure.

Steps to install on Arduino


For an Arduino Due to be recognized by the Android device it needs the AutoSense firmware to be installed. Unfortunately there isn't any way for me to automate this.  So for now you'll need to manually upload it yourself.

To install the firmware you need a special program called Bossac to upload the compiled bin file to the SAM3X8E processor.

  1. Download the Bossac file for your platform (Windows/OSX/Linux)
  2. Download the latest firmware. Place these two files into a convenient location on your computer.
  3. You need to find the serial port that your Arduino is connected to. If you can already flash it from the Arduino IDE, it will say in the bottom right which port is in use. For example, I'm using OSX, and mine says "Arduino Due (Programming Port) on /dev/tty.usbmodemfd12211". The part we need is the "tty.usbmodemfd12211"
  4. Open a terminal (OSX/Linux) or CMD window (Windows) and browse to the directory where you downloaded the two files
  5. Type the command "./bossac --port=tty.usbmodemfd12211 -U true -e -w -v -b master.cpp.bin -R" replacing the port with your own found above. Don't press "Enter" yet.
    *Note, the "-U true" may need to be changed to "-U false". This is USB port auto-detection, sometime it works others it doesn't.
  6. Press the erase button on your Due
  7. Now press "Enter" on your keyboard.You should see
Erase flash
Write 35812 bytes to flash
[==============================] 100% (140/140 pages)
Verify 35812 bytes of flash
[==============================] 100% (140/140 pages)
Verify successful
Set boot flash true
CPU reset.

Once you have successfully flashed your Due, the Android tablet should find it and popup asking if you want to connect this accessory.