Skip to content

28. Group Assignment Week 14 - Interface and Application Programming

This week we are working on developing an application that will interface with our board.

Group Assignment

  • Compare as many tool options as possible

Group Members:

Tools Used for the Week

  1. Processing
  2. MIT App Inventor
  3. Droid Script
Application Purpose Tasks Performed and Understanding
Processing Developing GUI for Control through Serial Processing 3 is programming for artists. The processing 3 software is a flexible software sketchbook and a language for learning how to code within the context of the visual arts. Since its launch in 2001, the software has promoted software literacy within the visual arts and visual literacy within technology.
Some of the advantages of the processing 3 software are:
  • It is an open source software
  • Interactive programs with 2D, 3D, PDF, or SVG output
  • It has detailed documentations on its environment, tools and libraries
  • Compatable with GNU/Linux, Mac OS X, Windows, Android, and ARM
  • Over 100 libraries available to enable additional functionality

We had a local session with Mr. Rico on processing to create a GUI for controlling our boards through serial communication. We worked with
  • Canvas, Colors, Functions
  • Adding and manupulating shapes, Adding Texts
  • Mouse Events: Turning shapes into functional buttons.
  • Conditional Statements
  • Serial Communication between board and Processing
  • Video Reference: Sonam Deki Group Member Video Reference: Tenzin Dorji Group Member Video Reference: Sangay Penjor Group Member
As seen from the different tasks carried out using processing and communication with our board, we see that we are able to send signals from processing to board to perform different tasks from blinking LED to controlling motors
MIT App Inventor Develop Application for control through webApp A number of members in the group tried working with MIT App inventor to design and develop simple applications that can be used to control the the controller board. Most of the applications the members practiced with were to work with their final project board. We had application controlling ESP32 boards and Atmega328 boards. Some of the functions we used for the MIT app inventor are:
  • Adding User interfaces
  • Using conditional functions
  • Adding images
  • Working with Design and Block mode
  • Video Source: Tenzin Dorji
  • Image : Simple webview application Kamal
Droid Script Develop Application for control through webApp For my application development, I made use of DroidScript and MIT App inventor.
  • DroidScript is an easy to use, portable coding tool which simplifies mobile App development.
  • It dramatically improves productivity by speeding up development by as much as 10x compared with using the standard development tools.
  • It’s also an ideal tool for learning JavaScript, you can literally code anywhere with DroidScript, it’s not cloud based and doesn’t require an internet connection.
  • Unlike other development tools which take hours to install and eat up gigabytes of disk space, you can install DroidScript start using it within 30 seconds!The size of the development environment required for DroidScript is small compared to MIT App inventor.
  • Further DroidScript has a direct web based application design which javascript and HTML5 as its programming language.
    • MIT App inventor is easier to implement as there is less coding and most of the tasks are drag and drop method using blocks. All the required logics are readily available in MIT app inventor and we only have to make suitable choice. MIT app inventor can also be used not to develop applications for IOS including Android however, DroidScript can only work with Android devices. The details of working with DroidScript is in my individual assignment