Home
About me
Assignments
Final Project

Week 16: Interface and application programming

1. Test application program
First I designed and tested the application program. In order to confirm the data transfer, I sketched to send 100 and 200 numerically from the input board.
If it is a print command, the data from ATtiny 45 will be ASCII code. Therefore, we used a write command so that data can be sent as it is. Processing was used to create application programs. The value transmitted from the input board is received, and the graph is displayed.
Below is the execution result. It was confirmed that the graph changes according to the received data.








2. Programming the application program
An application program was created using a test program. For input, I decided to use sensor input of drink entered into the cup used in the final project. With reference to the record at the time of making the input board, I programed the image to change as drinks enter the cup.
The image of the cup used the image of the free material site.
Image quote illustration pop http://illpop.com/png_foodhtm/alcohol_a06.htm

Below is the execution result. It was confirmed that the graph and the image change according to the received data.





Archive
-Appication Program (Prosessing,png)
*Prosessing 3.3.5(MAC OS X)

This week's assignment is over.