Interface and Application Programming | Week 15
App Inventor Link.
With App Inventor, we can create Android apps using a web browser and either a connected
phone or an emulator. The App Inventor servers maintain track of our projects and store our
We can build apps by working with:
1.The App Inventor Designer, where we may choose our app's components.
2.We can assemble software blocks that indicate how the components should act in the App
Inventor Blocks Editor. We put together programs visually, placing elements together like
LED Control App
APP Inventor Designer
Opened the wesite of APP Inventor the link ai2.appinventor.mit.edu. Signed in with my
existing gmail account.
Select "Start new project" from the Projects menu on the top left of the screen, and then
give it the name "led_App."
Choose a horizontal layout and add a button, label, or list pricker as needed.
It allows you to label the component. We can edit the text on the right.
Under User interface, chose the feature of list picker and added a LED image to it.
Added 6 buttons to blink LED. Changes in height, width, text and color characteristics under
the Properties section.
Also add bluetooth client component to establish bluetooth connection.
App Inventor Blocks Editor
We programme the behaviour of our app in the Blocks Editor. With each component we've
there are built-in blocks that handle things like math, logic, and text.
Shift to Block Editor:
The process of putting together a software switched from design to block editing.
Set the elements of the list as available bluetooth devices by clicking on the list picker
and selecting ListPicker Before Picking.
Added block for lead butt button. Here, we use a, b, c, d, a, f to turn the led according to
We can use the condition that the function will only work when Bluetooth is connected, and
we can blink the LED with 6 buttons.
Sharing and Packaging App
Go to the "Build" menu on the App Inventor toolbar to package the app (.apk file).
"Application (Save to My Computer)" was selected.
The download had started, according to a pop-up box indication.
I have used my week 13- Input Devices board which has attiny1614 microcontroller.
LED Blik Code
Running the App
The app was downloaded to my Android phone. To allow the installation of non-market
applications, the phone's settings must occasionally be altered.
The bluetooth was visible and could be associated with other bluetooth devices under the
The universal password to connect HC-05 bluetooth is 1234.
The bluetooth has been established, and we now have control over the LEDs.
Final Output Video
Original File All
App Original File
App .apk File
Board File .SCH
Board File .BRD
Switch by Parejiya
Jaydeep is licensed under CC BY-ND 4.0