Interface and Application Programming Group Assignment S4A Processing MIT app inventor Practice MIT app inventor Individual Assignment Processing

Interface and Application Programming


Assignment requirements:

Group Assignment
  • Compare as many tool options as possible.
  • Document your work (in a group or individually).
Individual Assignment
  • Write an application that interfaces a user with an input and/or output device that you made.

Learning outcomes:

  • Interpret and implement design and programming protocols to create a Graphic User Interface (GUI).

Assessment criteria

  • Linked to the group assignment page.
  • Document your process.
  • Explained the UI that you made and how you did it.
  • Outlined problems and how you fixed them.
  • Included original code (or a screenshot of the app code if that's not possible).
  • Included a 'hero shot/video' of your application running with your board.

Group Assignment

S4A

  • We wanted to try multipe interface applications this week so we started with S4A which is a Scratch modification that allows for simple programming of the Arduino open source hardware platform.
  • It was an easy app but it works with Arduino only and has start and stop buttons only, I didn't really like it.






  • Processing

  • Now we tried the Processing software with a board we made before.
  • Codes:
  • KiCAD design Arduino code Processing code

    MIT App Inventor

  • We went to MIT App Inventor and followed this tutorial HC-05 Bluetooth Module with Arduino-MIT App Inventor to test the app with one of the ATTiny 1614 we made before



  • Practice

    MIT App Inventor

  • I also went to main website for the app and tried the first tutorial, check the video and turn sound on.



  • Individual Assignment


    Processing

    • In the assignment with the Motion sensor & ATtiny1614 I added a Processing code that interacts with the motion.
    • I used a processing example "simple read" and edited it a bit to create a botton that changes its color when the microwave sensor detects a motion.
    • Processing code reads the serial value, using the same hello code I used in input device week but this time instead of using the python code to display the change I used processing.
    • Code:
    • Processing code