Pages

Subscribe:

Ads 468x60px

2013年7月23日 星期二

An Easy Link between Arduino and Android

Annikken Andee is an Arduino Shield that lets you connect your Arduino to your Android phone via bluetooth easily. With the free Annikken Andee Library and Android App, you can create your very own monitor and control user interface on your Android Devices from the Arduino IDE. This simply means you are NOT required to develop any Android Apps at all.

Works with Arduino


Annikken Andee is designed to fit and work with Arduino Uno, Arduino Mega and Arduino Leonardo. For variants like Arduino Nano, you will have to connect the ICSP header correctly and also pin 8 together. Support for other Arduinos (e.g Due) are still currently being tested.
Annikken Andee and Arduino communicates using Arduino's ICSP header (SPI) and pin 8, leaving the rest of the pins for connection with other sensors or modules. Refer to manual for details.

Code in Arduino - Create Android Interface


Annikken Andee differentiates itself from other bluetooth shields by allowing Arduino developers to have an touch and display Android interface with NO NEED for any Android development effort.
Andee Library  
Instead of providing Android project samples which you need to modify and adapt to your application, we give you an Android App and a Annikken Andee library for Arduino. What this means is that you will be using the easy to use Arduino environment to create data displays or buttons on the Android App - as shown above.

Wireless Bluetooth Data Transmission

Bluetooth Logo FCC CE logo
Annikken Andee and the Android app communicates using the FCC CE certified WT11i bluetooth module from Bluegiga. This module is capable of reaching distances of up to 350 meters line-of-sight module-to-module. (For actual distance, it depends on the bluetooth chip of your Android device and also how/where Annikken Andee is being positioned.)

Types of Android Displays

There are three types of displays you can create on the Android App with colors you can customize using argb values. Displays can be configured to occupy quarters, thirds, half or full width of your Android screen.
  • Data Displays
    These are displays used for providing user with feedback. Up to 3 text fields each display which you can choose to display any text or numbers you want.
  • Data Display Screenshot Code Snippet
  • Button Displays
    These displays catch user inputs from Android user. Your Arduino code can call a function to find out if the button was pressed or not, and perform handling functions from there on.
  • Button Displays Code Snippet
  • Keyboard Displays
    Similar to button displays. Shows the Android keyboard for users to enter text, numbers or password. Arduino can retrieve this value using a function call.
  • Keyboard displays Code Snippet

Onboard SD Card

SD Card SlotSD Card Code Example
Annikken Andee provides an sd card slot for use a non-volatile data storage. You can use it to write log data from your Arduino application. For ease of use, we provide read and write functions from Annikken Andee library for Arduino. In addition, you can use an sdcard to upgrade Annikken Andee's firmware with the latest images to ensure you get the most recent features.

Reviewing Numeric Data Using Graph

landscape Analog andee graph
If you data happens to be numeric, our Annikken Andee App is able to collect the data and plot a graph for it. This helps you to visualize numerical data for analytical purposes.

Use Phone Functions From Arduino

When your Android phone is connected to Annikken Andee + Arduino, you can write code (in Arduino) to:
  • Send SMS to a recipient
  • Vocalize using Text-to-Speech
  • Create a notification on Android

沒有留言:

張貼留言