The Capstone App!

Want your data on your phone? We have a Bluetooth App for that. The application was built with the help of the MIT App Inventor. The App Inventor uses a block-structured programming language and a blocks editor where you can assemble program blocks that specify how the components of the application should behave. The programs visual design and components are designed in the App Inventor visual design component which allows you to pick and place different things in the application such as buttons and labels. The best part is that it allows for Bluetooth Communication!

In the setup function, the line of code “Serial1.begin (9600);” activates the serial transmission on pins 18 (TX) and 19 (RX). The Arduino uses this serial port to transmit the panel voltage, panel current, battery voltage and battery current. Once the application has connected to the Bluetooth module; it gathers this data in a list (the equivalent of an array). This list is then searched for every item in the list and once a delimiter character such as X, Y, Z or D is found the next 4 items in the last are sorted into smaller lists and displayed next to their respective labels on the capstone App. The application is based purely on action programming; therefore an action must occur on the app for an execution of code. So when the get data button is pressed, the process described above occurs. Because of this sometimes there is an inconsistency with the results being displayed on the app and the LCD display. Shown Below are some screen shots of the application and the blocks used to program.

CaptureScreenshot_2014-03-19-12-32-48

If you any questions feel free to ask us. We will have a download link to the app shortly! (Sometime close to the presentation date).

Advertisements
Tagged with: , ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

In Archive
%d bloggers like this: