资 源 简 介
This android-firmata software project allows you to control an Arduino board via Bluetooth from Android without writing code for Arduino. Instead, you upload the Firmata firmware (program) onto an Arduino microcontroller board to communicate with it through the Firmata protocol. This project implements the Firmata protocol for Android.
Functions
So far only Firmata version 1 is supported, which lets you set pins as INPUT/OUTPUT and read or write data to it. I tested digital read and write and analog read.
Analog write using PWM pins works also well.
Available functions to control Arduino:
* int digitalRead(int pin);
* int analogRead(int pin);
* void pinMode(int pin, int mode);
* void digitalWrite(int pin, int value);
* void analogWrite(int pin, int value);
Only Android < 2.0 is supported yet
Instructions
upload embedded Firmata sketch (St