What?
Why?

Attach your Serial device through a USB hub for power and connect to the BeagleBoard's USB host port. I am using an Arduino as my serial device. http://arduino.cc

On the Arduino I used the following sketch:
char buff[500];
int a = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
int a0 = analogRead(A0);
int a1 = analogRead(A1);
int a2 = analogRead(A2);
int a3 = analogRead(A3);
int a4 = analogRead(A4);
int a5 = analogRead(A5);
a = a++;
sprintf(buff, "%d, %d, %d, %d, %d, %d, %d\n",a,a0,a1,a2,a3,a4,a5);
Serial.print(buff);
delay(500);
}
|
The app:

Comments (0)
You don't have permission to comment on this page.