Beaglebone And Android

Preview:

Citation preview

Beaglebone &

Android+LarsGregori

@choas

?

Agenda

• BeagleBone Black • BeagleBone & Android • Ideas

Agenda

• BeagleBone Black • BeagleBone & Android • Ideas

AM335x 1GHz ARM Cortex-A8

• 512MB DDR3 RAM• 4GB 8-bit eMMC

on-board flash storage• 3D graphics accelerator

AM335x 1GHz ARM Cortex-A8

• USB client for power & communications

• USB host• Ethernet• HDMI (micro)• SD Card• Serial Debug (FTDI 3.3V)• 2x 46 pin headers

Agenda

• BeagleBone Black • BeagleBone & Android • Ideas

Why?

• Window System • Java • APPs • connect other Hardware

OUT Sensor Actuator

APP

IN

root@android:/sys/class/gpio/gpio44  #  ll  -­‐rw-­‐r-­‐-­‐r-­‐-­‐  root          root                  4096  2000-­‐01-­‐01  14:33  active_low  -­‐rw-­‐rw-­‐rw-­‐  root          root                  4096  2000-­‐01-­‐01  14:33  direction  -­‐rw-­‐r-­‐-­‐r-­‐-­‐  root          root                  4096  2000-­‐01-­‐01  14:33  edge  drwxr-­‐xr-­‐x  root          root                            2000-­‐01-­‐01  14:33  power  lrwxrwxrwx  root          root                            2000-­‐01-­‐01  14:33  subsystem  …  -­‐rw-­‐r-­‐-­‐r-­‐-­‐  root          root                  4096  2000-­‐01-­‐01  14:33  uevent  -­‐rw-­‐rw-­‐rw-­‐  root          root                  4096  2000-­‐01-­‐01  14:33  value  

root@android:/sys/class/gpio/gpio44  #  cat  direction  out  

root@android:/sys/class/gpio/gpio44  #  echo  1  >  value

ALLToolKit - Android Java Library for Hardware Managementhttp://sourceforge.net/projects/alltoolkit/

// digital OUT GPIO gpio = new GPIO(PIN); gpio.setDirection(GPIO.DIRECTION_OUT); gpio.setValue(true); gpio.close();

// analog IN ADC adc5 = new ADC(ADC.AN5); int value = adc5.getValue(); adc5.close();

Agenda

• BeagleBone Black • BeagleBone & Android • Ideas

Ideas

exception notification

Ideas

cpu display

Ideas

temperature sensor

Ideas

passive infrared sensor (PIR)

Thank you

+LarsGregori @choas

Recommended