Google Summer Of Code 2015
BeagleBoard.org
Demo Android app using BBBAndroid
Ankur Kumar Yadav
Institute of Technology, Nirma University
Mentors: Andrew Henderson, Anuj Deshpande
Introduction
● This project focuses on the demonstration of apps that can run
on BBBAndroid which makes use of some awesome
peripherals support of the BeagleBone Black like ADC, GPIO,
I2C, SPI, USB, CAN , PWM, UART.
● We also aim to develop a nice NDK api so that Android app
development for BeagleBone can be made a lot more easier.
Tools
● Device Tree Compiler:
For compiling custom Device Tree Overlays for our Apps
● Native Development Toolkit:
For accesing harware I/O in java programs.
● PaktHAL:
We will be using this as base code for this project.
● Eclipse:
For developing java code for Android system.
Timeline
● Week #1:
– Expand the PacktHAL code to encompass all potential GPIO pins a user could use.
– PWM generation.
● Week #2:
– Provide new interface functions in PacktHAL to handle the Bacon cape slider as input.
– Provide the user ways to specify any ADC pin for input.
– Provide a calibration functionality.
● Week #3:
– Expand the PacktHAL code to send and receive raw I2C bus messages
● Week #4:
– Expand the PacktHAL code to provide a generic wrapper around /dev/spidev*.*
– Expand the PacktHAL code to set mode, speed.
Timeline
● Week #4&#5:
– Provide interface functions that act as a wrapper to the /dev/can* devices.
– Buffer Period for bug fixes and integration.
● Week #7:
– Provide interface functions to select the UART and configure the speed and format of the UART.
● Week #8:
– Android Application for GPIO, PWM and ADC using API.
● Week #9:
– Android Application for I2C and SPI using API.
● Week #10:
– Android Application for CAN and UART using API.
Timeline
● Week #11:
– Android app for accessing all the components of bacon-cape using
API.
● Week #12:
– Buffer Period for bug fixes and integration.
– Documentation.
● Week #13:
– Documentation and submission
Stay Connected@
● Github repo:
– BBBAndroidHAL: http://github.com/ankurayadav/bbbandroidHAL
– Demoapps: https://github.com/ankurayadav/demoapps-bbbandroid
● Wiki:
– http://github.com/ankurayadav/bbbandroidHAL/wiki
● Blog:
– http://ankurayadav.blogspot.com/p/bbbandroid.html
● eLinux page(all links in one place):
http://elinux.org/BeagleBoard/GsoC/2015_Projects#Project_Demo_Android_app_using_BBBAndoid
Get in touch
● Email:
– ankurayadav@gmail.com
● IRC:
– #beagle-gsoc, nick: ankur

GSoC

  • 1.
    Google Summer OfCode 2015 BeagleBoard.org Demo Android app using BBBAndroid Ankur Kumar Yadav Institute of Technology, Nirma University Mentors: Andrew Henderson, Anuj Deshpande
  • 2.
    Introduction ● This projectfocuses on the demonstration of apps that can run on BBBAndroid which makes use of some awesome peripherals support of the BeagleBone Black like ADC, GPIO, I2C, SPI, USB, CAN , PWM, UART. ● We also aim to develop a nice NDK api so that Android app development for BeagleBone can be made a lot more easier.
  • 3.
    Tools ● Device TreeCompiler: For compiling custom Device Tree Overlays for our Apps ● Native Development Toolkit: For accesing harware I/O in java programs. ● PaktHAL: We will be using this as base code for this project. ● Eclipse: For developing java code for Android system.
  • 4.
    Timeline ● Week #1: –Expand the PacktHAL code to encompass all potential GPIO pins a user could use. – PWM generation. ● Week #2: – Provide new interface functions in PacktHAL to handle the Bacon cape slider as input. – Provide the user ways to specify any ADC pin for input. – Provide a calibration functionality. ● Week #3: – Expand the PacktHAL code to send and receive raw I2C bus messages ● Week #4: – Expand the PacktHAL code to provide a generic wrapper around /dev/spidev*.* – Expand the PacktHAL code to set mode, speed.
  • 5.
    Timeline ● Week #4&#5: –Provide interface functions that act as a wrapper to the /dev/can* devices. – Buffer Period for bug fixes and integration. ● Week #7: – Provide interface functions to select the UART and configure the speed and format of the UART. ● Week #8: – Android Application for GPIO, PWM and ADC using API. ● Week #9: – Android Application for I2C and SPI using API. ● Week #10: – Android Application for CAN and UART using API.
  • 6.
    Timeline ● Week #11: –Android app for accessing all the components of bacon-cape using API. ● Week #12: – Buffer Period for bug fixes and integration. – Documentation. ● Week #13: – Documentation and submission
  • 7.
    Stay Connected@ ● Githubrepo: – BBBAndroidHAL: http://github.com/ankurayadav/bbbandroidHAL – Demoapps: https://github.com/ankurayadav/demoapps-bbbandroid ● Wiki: – http://github.com/ankurayadav/bbbandroidHAL/wiki ● Blog: – http://ankurayadav.blogspot.com/p/bbbandroid.html ● eLinux page(all links in one place): http://elinux.org/BeagleBoard/GsoC/2015_Projects#Project_Demo_Android_app_using_BBBAndoid
  • 8.
    Get in touch ●Email: – ankurayadav@gmail.com ● IRC: – #beagle-gsoc, nick: ankur