top of page

Week 1: Phone App (Revised Post)

Vasyl

Updated: Jun 18, 2024

Phone App:

Made the first screen for phone app screen for user to connect to Arduino and have selection of modes: AUTO, MANUAL, CUSTOM [1]. After testing and further research conducted, the app could not operate via Bluetooth Client alone. A BluetoothLE is required in order to establish low-power Bluetooth communication [2]. In MIT App Inventor, an extension for low-power BLE is required. When the app was compiled and executed, the paired devices on the phone were shown and the BLE module was not observed. When attempted to pair the BLE module, the user is prompted with "app is required to pair device."



Update 1:

After research, the previous app was scrapped and made updates for the block diagram connection [5]. Made it where user will scan for devices and connected. and disconnecting was built-into each button[3]. The phone app was uploaded to MIT AI2 Companion app and tested. The app was sending data to Arduino for each mode.

I wired the Arduino to the BLE module through RX and FX pins, for each mode, and LEDs were wired to turn on for half a second depending on user selection.  


After exporting the app for further testing, the Bluetooth 'Scan' would not respond. After further research, it was likely the issue with the current version of the BluetoothLE extension used [4]. When initially designing the app, the extension Build 20190701 was used. The newest extension will be implemented for further testing. Video above depicts the app running from MIT AI2 Companion app.

 



Update 2:

After implementing the latest BluetoothLE extension in MIT App Inventor, the app behaved as intended. The BluetoothLE extension was updated from: Build 20190701 to Build 20230728. Video below starts the app on the phone and connects to BLE module and sends values 1-3 depending on mode selected by user [6].






12 views0 comments

Recent Posts

See All

Week 8

Had the Flu from Tuesday to Saturday. Vasyl ordered and delivered a new solar panel, charge controller and battery for me to implement...

Comments


bottom of page